Commit Graph

46 Commits

Author SHA1 Message Date
ryan
65f14e4fd3 Define net and user admin constants for fetch-list case. Props scribu. fixes #15903
git-svn-id: http://svn.automattic.com/wordpress/trunk@17080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 13:30:39 +00:00
ryan
43a639929f Check is_network in the screen object for AJAX requests. Props scribu. fixes #15903
git-svn-id: http://svn.automattic.com/wordpress/trunk@17077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 11:57:25 +00:00
ryan
86c173262f Load network plugins for wp-activate.php. Restore MU load order. Props blamenacin. fixes #14718
git-svn-id: http://svn.automattic.com/wordpress/trunk@16558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 00:19:38 +00:00
nacin
1f04bb1bda Also look for SUBDOMAIN_INSTALL in is_multisite(). props wpmuguru, fixes #14536 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 03:45:13 +00:00
ryan
9c31fd7c70 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: http://svn.automattic.com/wordpress/trunk@15746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 19:34:18 +00:00
dd32
26bf32ac3e utilise wp_guess_url() in installation redirection to provide an Absolute URL. See #14062. See #14904
git-svn-id: http://svn.automattic.com/wordpress/trunk@15680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-02 03:08:02 +00:00
nacin
9e97f25249 Always include wp-db.php. Prevents a conditional include and allows db dropins to cleanly extend the wpdb class. Move require_wp_db() to load.php for consistency with bootloader helpers. fixes #14508.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-20 19:13:47 +00:00
ryan
f781ba4824 is_blog_admin(). fixes #14763
git-svn-id: http://svn.automattic.com/wordpress/trunk@15558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-02 15:03:39 +00:00
ryan
5f30d3e9a0 Add user_meta to global groups. see #14475
git-svn-id: http://svn.automattic.com/wordpress/trunk@15482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-30 21:30:06 +00:00
ryan
21e3f0f7fa Network Admin, first pass. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-30 20:34:54 +00:00
nacin
a7feda2506 Fix two sprintf placeholders in a WP_I18N string. props demetris, fixes #13865.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-12 21:00:08 +00:00
ryan
78bc6f2877 Make upgrading global so maintenance_nag() can see it. see #13721
git-svn-id: http://svn.automattic.com/wordpress/trunk@15139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-04 15:16:17 +00:00
nacin
f9df8a36ae s/blog/site/ in more places. props PeteMall, see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 01:54:32 +00:00
westi
9356c4b72d Restore support for floating point numbers in number_format_i18n(). Fixes #10555.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 21:39:37 +00:00
westi
da93a92714 Remove unnecessary translations of decimal point character and number of decimal places. Fixes #10555 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 21:41:20 +00:00
ryan
0dfea670fb Move the global up
git-svn-id: http://svn.automattic.com/wordpress/trunk@14181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 20:37:54 +00:00
ryan
cbdf7e3aed Make sure is set correctly when advanced-cache.php is being used.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 20:34:32 +00:00
nacin
ec7530d5bb Simplify logic in is_multisite().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-08 02:39:17 +00:00
ryan
526a92fd2c Add global-posts to global cache groups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 18:29:56 +00:00
nacin
751a7d10ea Prevent half-baked loading of MS that would happen when constants are added into wp-config below the wp-settings include. Now it would error on the redefinition of the MULTISITE constant, instead of vague errors, and prevent any MS from loading. see #12848
git-svn-id: http://svn.automattic.com/wordpress/trunk@14000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-05 00:00:13 +00:00
nacin
40773a776b Remove trailing whites and double semicolons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:36:49 +00:00
nacin
82720ead31 WP_I18N_* for .maintenance strings. fixes #12485
git-svn-id: http://svn.automattic.com/wordpress/trunk@13822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 14:06:12 +00:00
nbachiyski
e1ecbc841a Set some $_SERVER values to empty strings if missing. Fixes notices if WordPress is run from the command-line and is far more pleasant than using isset() all over the place.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-25 15:33:35 +00:00
nacin
30d6eb32c6 Remove redundant isset() and empty() checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:29:21 +00:00
dd32
715188a970 More whitespace & coding stadards cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 05:57:24 +00:00
dd32
4917e5b375 Coding Standards: no camelcase variables, use lowercase for variables. Props hakre. Fixes #12519
git-svn-id: http://svn.automattic.com/wordpress/trunk@13598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 05:53:20 +00:00
dd32
b90b27a6d6 Display PHP Start-up Errors/Warnings. Props Denis-de-Bernardy. Fixes #12395.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 12:19:09 +00:00
nacin
90a8933105 One less variable assignment in timer_start and timer_start. props hakre fixes #12389
git-svn-id: http://svn.automattic.com/wordpress/trunk@13436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:09:29 +00:00
nacin
8b4e58529b A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: http://svn.automattic.com/wordpress/trunk@13425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 05:46:08 +00:00
nacin
20f50e7f06 Rename is_installed() to ms_not_installed(). See #12083
git-svn-id: http://svn.automattic.com/wordpress/trunk@13253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 13:51:32 +00:00
nacin
98076edc73 Add missing i18n comment for a hard-coded string. Props Nao, fixes #11654
git-svn-id: http://svn.automattic.com/wordpress/trunk@13222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 13:39:41 +00:00
nacin
a60b801d5d Bail early for favicon.ico requests so we don't load WP twice. Props azaozz, sivel. Fixes #3426
git-svn-id: http://svn.automattic.com/wordpress/trunk@13205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 23:41:50 +00:00
nacin
9133e1c25e Add initial WP_DEBUG define to wp-config-sample.php and suggest plugin/theme developers use it. Fixes #12236
git-svn-id: http://svn.automattic.com/wordpress/trunk@13185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 20:36:00 +00:00
nacin
79bdcc1446 Better inline documentation for WP_DEBUG, WP_DEBUG_DISPLAY, and WP_DEBUG_LOG. Fixes #11987
git-svn-id: http://svn.automattic.com/wordpress/trunk@13176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 13:14:45 +00:00
ryan
f97aa91a68 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: http://svn.automattic.com/wordpress/trunk@13066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 17:06:43 +00:00
westi
0206ffe69c Improve function naming for plugin file discovery functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 07:59:11 +00:00
ryan
3894489a5f Sitewide plugins cleanup. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:50:36 +00:00
ryan
1592ca9ff2 Cleanup network plugin loading. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 21:41:17 +00:00
ryan
394eba5eb1 Clean up cache re-init code in Multisite. Props nacin. fixes #12065
git-svn-id: http://svn.automattic.com/wordpress/trunk@12888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:28:44 +00:00
wpmuguru
493a307cf7 rearrage multisite initialization, remove deprecated $wpmuBaseTablePrefix, props nacin, see #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 16:09:52 +00:00
wpmuguru
cda3031b06 Improvements to queries in populate_network(), also gettext, props nacin, see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@12880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 19:13:00 +00:00
ryan
5d2365a499 Remove fix_actve_plugins(). Props hakre. fixes #11750
git-svn-id: http://svn.automattic.com/wordpress/trunk@12848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:39:12 +00:00
ryan
506c22bfd5 phpdoc for load.php, return some includes to global scope. Props nacin. see #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 17:27:03 +00:00
ryan
e52de33dc2 Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 23:34:36 +00:00
ryan
f9a92c2588 Coding style cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:25:40 +00:00
ryan
439d50d655 Cleanup wp-settings. Move functions needed at startup into load.php. Props nacin. see #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:03:41 +00:00