Commit Graph

79 Commits

Author SHA1 Message Date
Peter Westwood 51aa71c394 Pass extra context to wpmu_new_blog.
git-svn-id: https://develop.svn.wordpress.org/trunk@14484 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 19:36:20 +00:00
Ryan Boren d783952469 Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin f049bc949c s/blog/site/ in more places.
git-svn-id: https://develop.svn.wordpress.org/trunk@14326 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-01 07:09:38 +00:00
Andrew Nacin 2473cefe8f s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@14315 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 03:17:49 +00:00
Donncha O Caoimh cbe8327f39 Display the original username on the signup form on error, fixes #13124
git-svn-id: https://develop.svn.wordpress.org/trunk@14298 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 16:05:33 +00:00
Ron Rennick 7b91f92df5 fix site administrator add user to site logic, see #12488
git-svn-id: https://develop.svn.wordpress.org/trunk@14226 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 18:39:22 +00:00
Andrew Nacin 8d7f5fc554 Single quotes are way cooler.
git-svn-id: https://develop.svn.wordpress.org/trunk@14222 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-24 17:49:08 +00:00
Andrew Nacin 9930e8cd4b Make some branching look less crazy.
git-svn-id: https://develop.svn.wordpress.org/trunk@14203 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 19:00:30 +00:00
Ryan Boren bfe3ca3b90 Bring back delete on empty value for update_user_option() to preserve back compat. Switch to delete_user_option() in core. Props mdawaffe. fixes #13088
git-svn-id: https://develop.svn.wordpress.org/trunk@14193 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 14:25:05 +00:00
Dion Hulse 491063c698 Tweak new strings for better typography. Props demetris. Fixes #12962
git-svn-id: https://develop.svn.wordpress.org/trunk@14070 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 10:41:54 +00:00
Andrew Nacin c612c3db6f Don't set MIME headers in MS activation/welcome emails. fixes #12728, props barry.
git-svn-id: https://develop.svn.wordpress.org/trunk@14055 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 12:11:03 +00:00
Ron Rennick 8ead991585 remove extraneous blog name sanitization, props nbachiyski, fixes #12823
git-svn-id: https://develop.svn.wordpress.org/trunk@14005 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 04:00:51 +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
Ron Rennick 736637fb27 rework syncing of global terms, see #12663
git-svn-id: https://develop.svn.wordpress.org/trunk@13925 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 01:26:44 +00:00
Ryan Boren dc9cefd8a5 Use network_*_url(). see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13884 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 21:45:31 +00:00
Ron Rennick 9fe9b2390f first pass on optional global terms, see #12589
git-svn-id: https://develop.svn.wordpress.org/trunk@13715 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 17:17:55 +00:00
Ryan Boren 0253ec2a10 allow empty table prefix on my-sites.php, see #12459
git-svn-id: https://develop.svn.wordpress.org/trunk@13563 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 22:55:02 +00:00
Ron Rennick feea30b2db allow empty table prefix on my-sites.php, see #12459
git-svn-id: https://develop.svn.wordpress.org/trunk@13562 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 22:21:24 +00:00
Andrew Nacin af187b2759 Switch over to *_user_meta() syntax. The old get_usermeta() would return a string when only one value was found, get_user_meta() requires $single = true. Fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13329 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 10:42:40 +00:00
Andrew Nacin 670b8d8bfb Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: https://develop.svn.wordpress.org/trunk@13311 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:25:32 +00:00
Dion Hulse 468d0d7cff Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00
Dion Hulse 4011b3d4a8 Remove unused references to global $wpdb
git-svn-id: https://develop.svn.wordpress.org/trunk@13240 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 00:50:29 +00:00
Andrew Nacin 4d2c75d785 Assume WP_DEBUG is defined in wpdb. Remove unnecessary constant() calls. Ensure DB_COLLATE defined as empty string doesn't override default Multisite collation. fixes #12041, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13209 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 01:03:58 +00:00
Ryan Boren 67bb939654 Move blogs table related functions to blogs.php. Include it before ms-settings.php so that caching API can be used instead of direct queries. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13125 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 22:35:11 +00:00
Ron Rennick b39f3fd7f5 use object cache on get_blog_option on current blog, props sivel, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13116 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 18:56:50 +00:00
Andrew Nacin d43ba9114b Don't use deprecated functions. see #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13106 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 10:35:10 +00:00
Ron Rennick ec5a6fcbb4 add option to validate on switch_to_blog, see #12023
git-svn-id: https://develop.svn.wordpress.org/trunk@13047 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 17:50:26 +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
Ron Rennick d8e029950c close dir in recurse_dirsize(), props ddebernardy, fixes #11749
git-svn-id: https://develop.svn.wordpress.org/trunk@12953 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 19:56:36 +00:00
Ron Rennick b21acae7f0 add siteurl filter for ms upgrades, props nacin, fixes #12069
git-svn-id: https://develop.svn.wordpress.org/trunk@12952 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 19:26:38 +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
Ron Rennick 9cfbad8ba3 fix potential global terms inconsistency, props rboren, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12933 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 01:00:57 +00:00
Ryan Boren 119e88cdf8 phpdoc for global_terms(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12932 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 22:58:06 +00:00
Ryan Boren 2b1691cdf4 Cleanup network plugin loading. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12930 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 21:41:17 +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
Ron Rennick 4bcd7b3afd Improvements to queries in populate_network(), also gettext, props nacin, see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@12880 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 19:13:00 +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
Ron Rennick b0b57be325 deprecate validate_email(), fixes #11745
git-svn-id: https://develop.svn.wordpress.org/trunk@12863 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 01:27:25 +00:00
Ryan Boren 909191a37d Deprecate is_main_blog() for is_main_site(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12858 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:46:09 +00:00
Ryan Boren ed156968a3 Integrate maybe_cancel_post_by_email() into wp-mail.php. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12855 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:53:59 +00:00
Ryan Boren 4fa746310c Remove first page and first comment filters. They're no longer needed. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12854 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:42:37 +00:00
Ryan Boren 5c1138c35b Integrate login_spam_check() into wp_authenticate_username_password(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12853 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:25:34 +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
Ryan Boren a56f033751 Merge mu_upload_dir() into wp_upload_dir(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12850 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 19:04:55 +00:00
Ryan Boren 66c2878bcd Remove rss_gc(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12849 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 18:47:34 +00:00
Ryan Boren 94a9904b69 Remove fix_actve_plugins(). Props hakre. fixes #11750
git-svn-id: https://develop.svn.wordpress.org/trunk@12848 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 18:39:12 +00:00
Ryan Boren 66b9e3666f Move load_muplugin_textdomain() to l10n.php
git-svn-id: https://develop.svn.wordpress.org/trunk@12840 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:25:31 +00:00