Commit Graph

327 Commits

Author SHA1 Message Date
ryan
dbfb51c6e0 Trim trailing whites
git-svn-id: http://svn.automattic.com/wordpress/trunk@13268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 00:03:42 +00:00
nacin
687e7d1ccd Force fatal errors via require() if we're missing something we need. fixes #11681, also fixes #11834
git-svn-id: http://svn.automattic.com/wordpress/trunk@13251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 12:50:09 +00:00
dd32
9ed7cba3e7 Rename the new 'themes_loaded' hook to 'after_setup_theme' to prevent confusion as to what it actually does & where its fired from. Fixes #12231
git-svn-id: http://svn.automattic.com/wordpress/trunk@13214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:00:00 +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
54c4ac3c8f Move deprecated pluggable functions to a new file to lower their profile. Also throw deprecated warnings if a plugin defines a deprecated pluggable function. See #11388
git-svn-id: http://svn.automattic.com/wordpress/trunk@13204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 23:17:06 +00:00
nacin
dfe271c71b Rename wp-includes/blogs.php to ms-blogs.php. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-15 01:08:23 +00:00
dd32
dce728dbda Add 'themes_loaded' hook to run after parent/child themes have been included. See #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 21:27:55 +00:00
ryan
98e8daa20a Add ability to query by domain and/or path to get_blog_details(). Improve blog details caching. Use get_blog_details() in ms-settings.php so queries are cached. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 23:09:54 +00:00
ryan
731eada144 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: http://svn.automattic.com/wordpress/trunk@13125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 22:35:11 +00:00
westi
b20c3c41d4 Improve the implementation of the default constant defining functions for multisite. See #11881.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 08:22:34 +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
westi
60dc67eb44 Improve the implementation of the default constant defining functions. See #11881.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 07:56:28 +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
wpmuguru
998704b8d7 pass #2 change uploaded media rewrite rule, props nacin, see #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@12926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 16:32:19 +00:00
wpmuguru
44e511516d internalize uploaded media rewrite rule, see #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@12924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 02:17:33 +00:00
wpmuguru
b01479de37 reorganize code on ms startup. props nacin, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 20:26:08 +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
ryan
3ffb57a4f8 unset temp vars so they don't pollute the global namespace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:20:27 +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
9bea527ac3 Coding style
git-svn-id: http://svn.automattic.com/wordpress/trunk@12735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 23:40:29 +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
westi
6780fa717c Tidy up the mu-plugins loading code to make it more readable.
Fix a couple of other tab/whitespace issues.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 21:28:33 +00:00
wpmuguru
dbd245932d multi-site startup, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 18:10:51 +00:00
westi
3153720d35 Tidy up logic for defining WP_DEBUG so we only define it if it isn't already. Fixes #11837 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 10:57:01 +00:00
ryan
e068f48744 MULTSITE must be true. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:27:50 +00:00
wpmuguru
db46fa6e1d Add compatability for MU to is_multisite() - See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 17:24:40 +00:00
ryan
ce33a91f95 Deprecate generate_random_password(). fixes #11746
git-svn-id: http://svn.automattic.com/wordpress/trunk@12624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 02:22:51 +00:00
ryan
f5e12260d4 Introduce is_multisite(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 20:19:35 +00:00
azaozz
1c55a42fa0 Move is_admin() to wp-settings.php so it's available when query.php is not included.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 00:38:05 +00:00
azaozz
3b82000cc3 Do not show PHP 5.3 deprecated errors when WP_DEBUG is set, props mrmist nacin, fixes #10533
git-svn-id: http://svn.automattic.com/wordpress/trunk@12384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 09:29:20 +00:00
azaozz
d4d309a1c6 Disable trash for attachments for now pending improvements in 3.0, fixes #11149
git-svn-id: http://svn.automattic.com/wordpress/trunk@12377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 06:40:16 +00:00
markjaquith
bf264bb66d Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 06:14:36 +00:00
markjaquith
0415ab7b42 Standardize around "post image" instead of "post thumbnail"
git-svn-id: http://svn.automattic.com/wordpress/trunk@12339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 16:34:04 +00:00
ryan
2371043644 Set default timezone. Props Denis-de-Bernardy. fixes #10940
git-svn-id: http://svn.automattic.com/wordpress/trunk@12315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-02 17:50:07 +00:00
westi
e7941d795e Ensure WP_DEBUG is always defined and simplify the checks on it. Fixes #11090 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 08:22:49 +00:00
ryan
a2c12cb66b Make sure WP_CACHE is true. Props nacin. fixes #10602
git-svn-id: http://svn.automattic.com/wordpress/trunk@12192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 18:53:57 +00:00
westi
7251aff3f3 Introduce require_if_theme_supports(), move post thumbnails functions to there own include and only included them if the theme supports them. See #10928 and [12132]
git-svn-id: http://svn.automattic.com/wordpress/trunk@12134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-01 10:10:06 +00:00
ryan
9ee06eaec7 Introduce get/set/delete_site_transient(). Make theme_roots a site transient.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-29 21:53:57 +00:00
markjaquith
c664315b01 Active plugin filter, plugin deactivation array_splice() protection. props apeatling. fixes #10839
git-svn-id: http://svn.automattic.com/wordpress/trunk@11966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 04:15:37 +00:00
westi
c67e70dd91 First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:17:33 +00:00
azaozz
cd03493d94 Send Retry-After header when in maintenance mode, props sirzooro, fixes #10439
git-svn-id: http://svn.automattic.com/wordpress/trunk@11820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-15 08:10:56 +00:00
markjaquith
a431376de5 Be consistent about slashing _REQUEST superglobal. props dd32. fixes #10360
git-svn-id: http://svn.automattic.com/wordpress/trunk@11760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-31 22:22:54 +00:00
azaozz
39e4f05a15 Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
westi
cdcb806070 Add extra site debugging support to enable conditionally enable display_errors or a special error_log. Fixes #10202 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-09 20:51:52 +00:00
azaozz
044d460b31 Improved $_SERVER['REQUEST_URI'] test for IIS, props ruslany, fixes #5682 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-28 00:45:12 +00:00
ryan
090bee02ab Load formatting.php before install redirect so that wp_redirect() can call _deep_replace(). see #10226
git-svn-id: http://svn.automattic.com/wordpress/trunk@11622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-22 20:10:02 +00:00
ryan
ae5848d393 Register default taxonomies before theme functions are loaded to satisfy themes that don't wait until init to call taxonomy functions. Default taxonomies are registered again during init so that translations are handled correctly. Props Denis-de-Bernardy. fixes #9644 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-15 21:53:51 +00:00
ryan
90e6c1bb2f Set REQUEST to contain GET + POST. No cookies. fixes #8814
git-svn-id: http://svn.automattic.com/wordpress/trunk@11268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 17:48:24 +00:00
ryan
f9ac4331a0 Revert accidental bits. see #9706
git-svn-id: http://svn.automattic.com/wordpress/trunk@11265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 17:32:16 +00:00