Commit Graph

47 Commits

Author SHA1 Message Date
Andrew Nacin a85b87515e Remove some old debug cruft left by yours truly. fixes #24462.
git-svn-id: https://develop.svn.wordpress.org/trunk@24518 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-26 19:33:58 +00:00
Andrew Nacin 7a9f91869e Fix usage of undeclared variables.
* the_weekday_date() needs the global $currentday
 * ms_site_check() needs the global $current_site
 * media list table does not need to check for $total_orphans
 * upgrader has no $feedback variable, appears to be copypasta from other upgrade APIs
 * install_themes_feature_list() has no $features variable, return array() instead of a new return type of WP_Error

see #24210.



git-svn-id: https://develop.svn.wordpress.org/trunk@24189 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 16:35:03 +00:00
Andrew Nacin 117dd15e79 Merge two strings. props pavelevap, see #22306.
git-svn-id: https://develop.svn.wordpress.org/trunk@22449 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 22:03:23 +00:00
Ryan Boren 1b3f54d73d Reduce use of global. Use get_blog_details() instead. fixes #22090
git-svn-id: https://develop.svn.wordpress.org/trunk@22108 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-04 12:40:09 +00:00
Andrew Nacin 2fd55c3df1 Introduce wp_load_translations_early(), which can be used before the locale is properly loaded in order to translate early error strings. Internationalize setup-config.php -- translators no longer have a reason to modify this file. fixes #18180.
git-svn-id: https://develop.svn.wordpress.org/trunk@19760 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-26 20:34:27 +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
Dion Hulse b44ddde987 Close WP_I18N_WHAT_DO_I_DO translation tag properly. Props Nao. Fixes #19328
git-svn-id: https://develop.svn.wordpress.org/trunk@19395 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 10:22:45 +00:00
Ryan Boren 4399cf7610 Avoid E_STRICT notices. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@19094 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 19:38:46 +00:00
Ryan Boren 83a1dfb6b5 Don't set the site_name cache on every call to get_current_site_name(). Props mark-k, solarissmoke. fixes #16676
git-svn-id: https://develop.svn.wordpress.org/trunk@18604 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 19:29:47 +00:00
Pete Mall 44db2effda Ensure correct HTTP status code is returned. Props nacin, fixes #15799
git-svn-id: https://develop.svn.wordpress.org/trunk@16906 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 08:38:01 +00:00
Andrew Nacin e6dbc84741 Initialize this variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@16785 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 01:03:12 +00:00
Ryan Boren af8f9bf98d Load network plugins for wp-activate.php. Restore MU load order. Props blamenacin. fixes #14718
git-svn-id: https://develop.svn.wordpress.org/trunk@16558 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 00:19:38 +00:00
Ryan Boren 54bfddfbfa Cache to site_name instead of current_site_name. Props benward. fixes #14461
git-svn-id: https://develop.svn.wordpress.org/trunk@15551 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:17:20 +00:00
Andrew Nacin 1dcaee88f4 Remove a @todo. see #14014.
git-svn-id: https://develop.svn.wordpress.org/trunk@15333 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 16:25:29 +00:00
Andrew Nacin 8c3323da0a WPMU->Network Codex link updates. props wpmuguru, see #14014 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15330 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 16:15:43 +00:00
Andrew Nacin 42e9ce36fc Deprecate VHOST in favor of a boolean, SUBDOMAIN_INSTALL. Core will keep VHOST defined for plugins' sake, but you should only define SUBDOMAIN_INSTALL. Throws a notice if VHOST is defined, and a warning if they somehow conflict. Sunrise can still handle them. fixes #11796.
git-svn-id: https://develop.svn.wordpress.org/trunk@14452 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 20:48:28 +00:00
Andrew Nacin 0af8cad0b2 Fix string in ms_not_installed().
git-svn-id: https://develop.svn.wordpress.org/trunk@14367 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 10:14:15 +00:00
Andrew Nacin 8d02a0bee5 Fix notice in ms_not_installed().
git-svn-id: https://develop.svn.wordpress.org/trunk@14364 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 09:51:40 +00:00
Andrew Nacin 41af787171 Prune and tidy the message in ms_not_installed. Only show detailed information if wp-admin, likesingle installs. Use ->tables. @todo: non-'MU' codex link.
git-svn-id: https://develop.svn.wordpress.org/trunk@14317 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 15:21:10 +00:00
Andrew Nacin 8800622876 s/blog/site/ in more places. props PeteMall, see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@14313 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 01:54:32 +00:00
Ryan Boren bd235b0c53 Return true. fixes #13094
git-svn-id: https://develop.svn.wordpress.org/trunk@14199 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 16:50:01 +00:00
Ryan Boren 353adc8969 Move ms_site_check() to after init and allow super admins to view blocked sites. see #13094
git-svn-id: https://develop.svn.wordpress.org/trunk@14198 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 16:18:33 +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 e34ca97ae0 Change @since 3.0 to @since 3.0.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13827 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:13:36 +00:00
Nikolay Bachiyski 7fcffb8d12 Wrap transtable strings used in Network install in WP_I18N_SOMETHING, because translations still aren't loaded. Fixes #12357
git-svn-id: https://develop.svn.wordpress.org/trunk@13797 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 06:51:49 +00:00
Andrew Nacin 91b380571d Allow localhost in a multisite subdirectory install. More network.php improvements. see #12457 for localhost. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13622 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 06:14:42 +00:00
Andrew Nacin 809684b754 More network.php refinements. Bring wp-config and htaccess inline. Rename BLOGID_CURRENT_SITE to BLOG_ID_CURRENT_SITE for consistency with SITE_ID_CURRENT_SITE. see #11816
git-svn-id: https://develop.svn.wordpress.org/trunk@13611 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 20:01:32 +00:00
Ron Rennick a4399a2db5 remove __( calls from ms startup, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13575 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 17:13:38 +00:00
Ron Rennick ea97476b5c Warnings, code & UI/UX cleanup, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13392 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 23:12:51 +00:00
Andrew Nacin d17afeb98e Minor MS startup cleanups. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13254 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 14:07:23 +00:00
Andrew Nacin 8c10673185 Rename is_installed() to ms_not_installed(). See #12083
git-svn-id: https://develop.svn.wordpress.org/trunk@13253 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 13:51:32 +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 e213402692 Preload commonly loaded site options when running multisite without a persistent cache. Introduce wp_cache_reset() and call it instead of wp_cache_init() when re-initing after the blog ID chanages to avoid throwing out the entire cache. Pass cached site options through the site option filter when fetching.
git-svn-id: https://develop.svn.wordpress.org/trunk@13066 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 17:06:43 +00:00
Ryan Boren 86d7ef0b69 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13025 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:02:23 +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
Ron Rennick e1a54f07b8 reorganize code on ms startup. props nacin, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12921 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 20:26:08 +00:00
Ryan Boren 1f8632249d Remove db error show/hide, suppress/unsuppress in ms bootstrap. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12901 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 19:16:07 +00:00
Ron Rennick 014f5da245 rearrage multisite initialization, remove deprecated $wpmuBaseTablePrefix, props nacin, see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@12885 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 16:09:52 +00:00
Ron Rennick 3874a36223 Change VHOST check to is_subdomain_install(), See #11796
git-svn-id: https://develop.svn.wordpress.org/trunk@12836 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 15:20:49 +00:00
Ryan Boren 15e5d91692 Deprecate graceful_fail(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12827 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 22:09:43 +00:00
Ron Rennick 7028f64e49 allow www installs to enable multisite, see #11945
git-svn-id: https://develop.svn.wordpress.org/trunk@12787 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 17:20:23 +00:00
Dion Hulse b8323c4ee9 White space clean-up. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12773 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 07:44:47 +00:00
Dion Hulse 71b6a3d56b Typo fix in Network Plugins. Props nacin. See #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@12772 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 07:37:53 +00:00
Ron Rennick a5d7344d4f sync single and multisite cookie hash, remove extraneous code, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12771 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 01:14:05 +00:00
Ryan Boren a279ade5a0 phpdoc for load.php, return some includes to global scope. Props nacin. see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@12762 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 17:27:03 +00:00
Ron Rennick 4239e6ef01 fix multisite object cache warnings, $table_prefix assignment, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12730 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 18:02:34 +00:00
Ron Rennick b7710fdf5a multi-site startup, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12688 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 18:10:51 +00:00