Andrew Nacin
6894354b9b
Additional checks when evaluating the safety of an HTTP request, to avoid false negatives.
...
* Check if the host is considered a safe redirect host.
* Check if the host is another domain in a multisite installation.
* Add a filter to control this.
This only occurs when the DNS resolution of a domain points elsewhere in an internal network, but only internally (and has its own public IP outside the network). This could be considered a bad configuration.
fixes #24646 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24915 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 06:44:57 +00:00
Andrew Nacin
7f29924c6a
Remove ms-files.php rewriting from WordPress multisite. fixes #19235 .
...
Keep existing networks compatible with a ms_files_rewriting network option.
git-svn-id: https://develop.svn.wordpress.org/trunk@21823 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 22:22:20 +00:00
Peter Westwood
cebf4e277b
Multisite: Make it easy to replace or augment the over-quota message displayed when you try and upload new media and you have reached your quota.
...
Fixes #21179 props dllh, jkudish.
git-svn-id: https://develop.svn.wordpress.org/trunk@21256 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-10 13:33:44 +00:00
Ryan Boren
8caae7f602
Don't update a blog's last_updated time for all post deletions. Update only when published posts are deleted.
...
Props SergeyBiryukov
fixes #20433
git-svn-id: https://develop.svn.wordpress.org/trunk@20461 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-13 17:30:37 +00:00
Ryan Boren
2b186b0c45
Lose EOF ?>. Clean up EOF newlines. fixes #12307
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Ryan Boren
ccaca0274d
Update the blog date whenever a pubic post type is published or changed after being published. fixes #18624
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19129 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 17:06:45 +00:00
Andrew Nacin
4d2f247e41
Update blog last_updated time only on publish_post. Both private_to_published and publish_phone are overly broad and otherwise redundant. props mdawaffe, fixes #18624 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18657 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-09 17:49:30 +00:00
Andrew Nacin
6a8c5b337b
Revert [16021]. See #14170 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16213 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 21:35:28 +00:00
scribu
9c918c6a05
Trigger activation hooks for netork plugins when new site is created. See #14170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16021 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 19:41:59 +00:00
Ryan Boren
4c3535a58d
Update network-wide active user and blog counts via a cron job to avoid costly count queries. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15875 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 20:22:14 +00:00
Ryan Boren
4c2c9bc17d
Remove wordpressmu_wp_mail_from(). fixes #14586
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15678 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-01 18:32:47 +00:00
Andrew Nacin
5c05a437a9
Add force_filtered_html_on_import filter. fixes #14818 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15600 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 02:43:18 +00:00
Andrew Nacin
f04386cca0
Don't use WP_SITEURL and WP_HOME in multisite. fixes #13191 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14517 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 19:31:42 +00:00
Andrew Nacin
0593984cba
Remove re-adding of filter. see #11742
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14440 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 16:00:30 +00:00
Ron Rennick
01822efabb
use filter vs action in 14420, see #12853
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14421 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:58:04 +00:00
Ron Rennick
e35e6165ab
limit upload size to site's available limit, see #12853
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14420 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:40:02 +00:00
Andrew Nacin
5bf79d1d8e
File-level phpdoc for multisite files.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13998 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 13:29:35 +00:00
Andrew Nacin
4ee4545c85
Switch the multisite constant EDIT_ANY_USER to a filter. Also ensure we're back compat with POST_BY_EMAIL. see #12381
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13568 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:04:25 +00:00
Peter Westwood
9ad6dd41c7
Switch from POST_BY_EMAIL constant to enable post-by-email when multisite to a filter. See #12381 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13416 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:01:30 +00:00
Peter Westwood
d25e3fdf2c
'>"
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13414 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:57:38 +00:00
Peter Westwood
fd0925a920
Disable update service editing by default for multisite. See #12229 .
...
Introduce __return_false for simple filtering. See #12381 .
git-svn-id: https://develop.svn.wordpress.org/trunk@13413 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:56:28 +00:00
Ryan Boren
7ea506e02a
Integrate remove_tinymce_media_button() into wp_tiny_mce(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12954 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 20:00:18 +00:00
Ryan Boren
0399d5c023
ms-functions pruning and cleanup. Props nacin. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12948 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:57:32 +00:00
Ryan Boren
954968abef
Integrate mu_locale() into get_locale(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12900 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 19:03:51 +00:00
Ryan Boren
78f16856c6
Integrate wordpressmu_authenticate_siteadmin() into wp_authenticate_username_password(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12879 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 18:11:17 +00:00
Ryan Boren
c8eb06af04
Integrate wpmu_blogger_getUsersBlogs() directly into xmlrpc.php. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12852 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:15:43 +00:00
Ryan Boren
3485776132
Integrate fix_upload_details() into wp_upload_dir(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12851 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:02:11 +00:00
Peter Westwood
816ed91f0f
Remove svn:executable property on new files. Fixes #11743 props Denis-de-Bernardy.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12610 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 22:22:45 +00:00
Ron Rennick
032de15d5a
Add mu only (inactive) files
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12603 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 04:02:57 +00:00