Commit Graph

193 Commits

Author SHA1 Message Date
Andrew Nacin
c8b1c822ce Remove copy-pasted comment from upload_is_user_over_quota()'s phpdoc. It came from recurse_dirsize(). see #19879.
git-svn-id: https://develop.svn.wordpress.org/trunk@19747 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-24 23:54:24 +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
Jon Cave
2cc75b6a05 Fix some mismatching parameter documentation. Props akshayagarwal, linuxologos. See #19756.
git-svn-id: https://develop.svn.wordpress.org/trunk@19695 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 11:42:00 +00:00
Ryan Boren
f6b0e7e580 Use home_url() instead of site_url(). Props johnbillion. fixes #18293
git-svn-id: https://develop.svn.wordpress.org/trunk@19674 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 19:29:03 +00:00
Ryan Boren
676ba7043e Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:45:31 +00:00
Andrew Nacin
69a34ae62d They call me multisite. props ryan, zeo. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19504 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:36:19 +00:00
Andrew Nacin
2ae685c4c2 Send $user_id to is_super_admin() when checking to set primary_blog for a user in wpmu_create_blog(). see #19127.
git-svn-id: https://develop.svn.wordpress.org/trunk@19182 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 20:23:55 +00:00
Ryan Boren
2c83b5728f Turn is_blog_user() into a wrapper around is_user_member_of_blog() and deprecate. Make user_id optional for is_user_member_of_blog(). Props SergeyBiryukov. fixes #16702
git-svn-id: https://develop.svn.wordpress.org/trunk@19016 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 22:35:15 +00:00
Ryan Boren
319d070078 Introduce wp_get_db_schema() for rerieving the various flavors of the WP db schema. Eliminates need to use global. Allows multiple calls to wpmu_create_blog(). see #12028
git-svn-id: https://develop.svn.wordpress.org/trunk@18899 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 00:21:24 +00:00
Mark Jaquith
a3bdf19206 Be more consistent with ERROR: messages. fixes #15887
git-svn-id: https://develop.svn.wordpress.org/trunk@18841 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:18:35 +00:00
Ryan Boren
805762af8f Deprecate wpmu_admin_redirect_add_updated_param() and wpmu_admin_do_redirect(). Props SergeyBiryukov. fixes #18619
git-svn-id: https://develop.svn.wordpress.org/trunk@18834 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 15:13:13 +00:00
Andrew Nacin
8439f8cd5c Ensure we have a full blog object in get_active_blog_for_user(). fixes #18789.
git-svn-id: https://develop.svn.wordpress.org/trunk@18791 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 07:36:36 +00:00
Jon Cave
45c26903bf Fix copy+paste error in documentation. Props masonjames, SergeyBiryukov. Fixes #18545.
git-svn-id: https://develop.svn.wordpress.org/trunk@18768 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 19:37:34 +00:00
Andrew Nacin
78b5130751 Use untrailingslashit in url_shorten() and recurse_dirsize(). Remove unnecessary camelCase variables. see #18592.
git-svn-id: https://develop.svn.wordpress.org/trunk@18637 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-05 16:53:19 +00:00
Andrew Nacin
87ec764c57 Instantiate some MS variables as objects before using them. Spaces not tabs for vertical alignment. Remove unnecessary conditional piece. props PeteMall, see #18049.
git-svn-id: https://develop.svn.wordpress.org/trunk@18560 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 17:49:57 +00:00
Andrew Nacin
666b55d3c0 Use preg_match more efficiently. props solarissmoke, fixes #17287.
git-svn-id: https://develop.svn.wordpress.org/trunk@18524 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:18:18 +00:00
Ryan Boren
19b936f2a8 Return true upon success in remove_user_from_blog(). Props eightamrock. fixes #17344
git-svn-id: https://develop.svn.wordpress.org/trunk@18510 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 16:36:50 +00:00
Ryan Boren
668849b388 s/login/log in/. Props johnbillion. fixes #18294
git-svn-id: https://develop.svn.wordpress.org/trunk@18486 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 21:34:43 +00:00
Andrew Nacin
a3e602baec Login is not a verb. props dcowgill, fixes #17770.
git-svn-id: https://develop.svn.wordpress.org/trunk@18289 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-12 08:00:22 +00:00
Andrew Nacin
d996e79999 s/WordPress MU/WordPress/ and remove an unused sprintf param. props wpmuguru, fixes #17529.
git-svn-id: https://develop.svn.wordpress.org/trunk@18003 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 05:43:07 +00:00
Ryan Boren
f0a83251ec Check if empty to avoid noticed when signing up for username in multisite. Props jfarthing84, kawauso. fixes #16680
git-svn-id: https://develop.svn.wordpress.org/trunk@17794 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 18:38:17 +00:00
Mark Jaquith
5b5b5e7747 restore_current_blog() in add_user_to_blog() and remove_user_from_blog() before early return, to avoid being stuck in a switched state. props mdawaffe. fixes #16444 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@17379 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-03 00:17:30 +00:00
Ryan Boren
eba71eb7c0 Bring out the shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:11:14 +00:00
Andrew Nacin
249fb0bbad Giant chunk of phpdoc for multisite functions. props boonebgorges, SergeyBiryukov. fixes #14953.
git-svn-id: https://develop.svn.wordpress.org/trunk@17218 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-04 09:02:38 +00:00
Andrew Nacin
2a44684f3e s/site/user/ if signup doesn't have a domain attached. props wpmuguru, fixes #15780.
git-svn-id: https://develop.svn.wordpress.org/trunk@16954 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:09:26 +00:00
Ryan Boren
b04abefc26 Skip confirmation email fixes. Props ocean90, duck_. see #15725
git-svn-id: https://develop.svn.wordpress.org/trunk@16949 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:04:19 +00:00
Ryan Boren
a239d692a7 Go back to sanitize_user() so that dots are allowed. Props ocean90. see #14910
git-svn-id: https://develop.svn.wordpress.org/trunk@16848 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 19:29:00 +00:00
Ryan Boren
00356f8e4a Use santize_key() in more places. Props WraithKenny. fixes #14910
git-svn-id: https://develop.svn.wordpress.org/trunk@16822 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:32:19 +00:00
Mark Jaquith
846861441b Get rid of niggling hardcoded blogs.dir path. props scribu. fixes #15383
git-svn-id: https://develop.svn.wordpress.org/trunk@16738 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 03:35:33 +00:00
Ryan Boren
4b33a0e9c4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
Ryan Boren
d0f30f75e5 Return false if upload_space_check_disabled is true in upload_is_user_over_quota(). Props SergeyBiryukov. fixes #14121
git-svn-id: https://develop.svn.wordpress.org/trunk@16299 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:03:51 +00:00
Peter Westwood
ea7bd69745 Generate Human Readable passwords as they are much more userfriendly. Fixes #13324 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@16284 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 23:31:54 +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
Peter Westwood
75dc7c8c37 Don't mangle the primary_blog option when trying to fix it. Don't set people to be a subscriber on a blog they already have a role for. See #15316
git-svn-id: https://develop.svn.wordpress.org/trunk@16179 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 09:31:58 +00:00
Peter Westwood
3c5457259b When adding a user to the blog pass in the current blog id. See #15316.
git-svn-id: https://develop.svn.wordpress.org/trunk@16178 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 09:06:45 +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
Andrew Nacin
6a5a1b338b s/ms-options/settings. props PeteMall, fixes #14826.
git-svn-id: https://develop.svn.wordpress.org/trunk@15899 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:09:15 +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
Andrew Nacin
fb4e38b0e7 Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
Ryan Boren
9ee8b20f30 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +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
c5de43dced Some phpdoc for ms-functions.php. props boonebgorges. see #14953.
git-svn-id: https://develop.svn.wordpress.org/trunk@15675 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-29 23:44:34 +00:00
Ryan Boren
733af07765 Admin bar, first pass. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15671 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-27 20:26:36 +00:00
scribu
98d1045606 use get_user_count() in get_sitestats()
git-svn-id: https://develop.svn.wordpress.org/trunk@15621 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-15 20:13:31 +00:00
Andrew Nacin
7845df0f09 Return the character range removed in [15594]. fixes #14633, props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@15595 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 17:52:43 +00:00
Andrew Nacin
50194d0c51 Speak in full, clear sentences. props mrmist, fixes #14633.
git-svn-id: https://develop.svn.wordpress.org/trunk@15594 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 15:28:56 +00:00
Ryan Boren
6267682e7f Pass more info to notification filters. Props mdawaffe. fixes #14743
git-svn-id: https://develop.svn.wordpress.org/trunk@15552 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:19:15 +00:00
Mark Jaquith
59f6264c64 These are not verbs. http://notaverb.com/badbad_verbs
git-svn-id: https://develop.svn.wordpress.org/trunk@15473 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-27 18:02:45 +00:00
Andrew Nacin
97366f31f0 Fix checking for whether WP_User object is actually a user. props filosofo, fixes #13903 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15404 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:27:05 +00:00
Ryan Boren
494ee995b5 Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15315 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:01:29 +00:00
Dion Hulse
e22a4707bf Fix typo in wpmu_signup_blog_notification() and wpmu_signup_user_notification(). Props mdawaffe. Fixes #14002 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15290 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-20 04:12:03 +00:00
Ron Rennick
d6d9bf32ff removed unused validation from activation process, see #13760
git-svn-id: https://develop.svn.wordpress.org/trunk@15186 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 00:10:12 +00:00
Ryan Boren
c7be6ba80f Deprecate get_most_active_blogs() and get_blog_list(). Props ocean90. fixes #13773
git-svn-id: https://develop.svn.wordpress.org/trunk@15168 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 13:00:09 +00:00
Ron Rennick
bd7ccea9ee strip www before adding subdomain when creating new site
git-svn-id: https://develop.svn.wordpress.org/trunk@15050 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 00:32:10 +00:00
Ron Rennick
2df4a9451a don't clobber term if sitecategories doesn't exist, fixes 13482
git-svn-id: https://develop.svn.wordpress.org/trunk@15042 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 20:03:29 +00:00
Andrew Nacin
f26024e7b6 Prevent super admins from shooting themselves in the foot. props jorbin. Checks blog names against an array (filterable) of reserved keywords for subdirectory installs. fixes #13304.
git-svn-id: https://develop.svn.wordpress.org/trunk@14928 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 03:13:16 +00:00
Ron Rennick
ca9f9c1086 allow main site 404 URL to be filtered, fixes #12758
git-svn-id: https://develop.svn.wordpress.org/trunk@14911 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 23:41:36 +00:00
Andrew Nacin
75e66fcb9c Use a filter instead of a new NO404REDIRECT constant. see #12758.
git-svn-id: https://develop.svn.wordpress.org/trunk@14899 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 18:12:14 +00:00
Donncha O Caoimh
7c28c554a6 Cast "public" as an int to ensure it gets set correctly.
git-svn-id: https://develop.svn.wordpress.org/trunk@14892 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 16:57:32 +00:00
Ron Rennick
7fdb99dbb5 ensure unique term_id when global terms enabled, see #13482
git-svn-id: https://develop.svn.wordpress.org/trunk@14872 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 07:24:10 +00:00
Ron Rennick
aa8a5ab580 update rewrite rules for IIS, props Frumph, see #12758
git-svn-id: https://develop.svn.wordpress.org/trunk@14871 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 05:12:47 +00:00
Ron Rennick
e59cbd9ac4 give static var initial value, fixes #13517
git-svn-id: https://develop.svn.wordpress.org/trunk@14867 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 00:31:07 +00:00
Ron Rennick
9aef526ca3 eliminate warning in global_terms(), global to static, fixes #13517
git-svn-id: https://develop.svn.wordpress.org/trunk@14866 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 00:13:03 +00:00
Donncha O Caoimh
56e498c517 Added $meta to "wpmu_new_blog" action
git-svn-id: https://develop.svn.wordpress.org/trunk@14844 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 17:26:21 +00:00
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