Commit Graph

315 Commits

Author SHA1 Message Date
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 45c254ac94 pass #2 change uploaded media rewrite rule, props nacin, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@12926 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 16:32:19 +00:00
Ron Rennick 650dc9bc98 internalize uploaded media rewrite rule, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@12924 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 02:17:33 +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
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
Ryan Boren df1095f560 unset temp vars so they don't pollute the global namespace.
git-svn-id: https://develop.svn.wordpress.org/trunk@12847 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 18:20:27 +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
Ryan Boren 20d3a58ee1 Coding style
git-svn-id: https://develop.svn.wordpress.org/trunk@12735 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 23:40:29 +00:00
Ryan Boren 3dfc463062 Coding style cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@12734 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:25:40 +00:00
Ryan Boren 42292a8c4d Cleanup wp-settings. Move functions needed at startup into load.php. Props nacin. see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@12732 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:03:41 +00:00
Peter Westwood f3096d0ecb Tidy up the mu-plugins loading code to make it more readable.
Fix a couple of other tab/whitespace issues.

git-svn-id: https://develop.svn.wordpress.org/trunk@12713 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 21:28:33 +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
Peter Westwood 7440e5516a Tidy up logic for defining WP_DEBUG so we only define it if it isn't already. Fixes #11837 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12685 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 10:57:01 +00:00
Ryan Boren f0761d7cf6 MULTSITE must be true. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12671 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:27:50 +00:00
Ron Rennick edea19e9ae Add compatability for MU to is_multisite() - See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12661 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 17:24:40 +00:00
Ryan Boren b343c9ee06 Deprecate generate_random_password(). fixes #11746
git-svn-id: https://develop.svn.wordpress.org/trunk@12624 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 02:22:51 +00:00
Ryan Boren ca3f286d96 Introduce is_multisite(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12609 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 20:19:35 +00:00
Andrew Ozz 7c0015e43e Move is_admin() to wp-settings.php so it's available when query.php is not included.
git-svn-id: https://develop.svn.wordpress.org/trunk@12393 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-14 00:38:05 +00:00
Andrew Ozz 83dbfe6dc1 Do not show PHP 5.3 deprecated errors when WP_DEBUG is set, props mrmist nacin, fixes #10533
git-svn-id: https://develop.svn.wordpress.org/trunk@12384 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 09:29:20 +00:00
Andrew Ozz 770fd776d7 Disable trash for attachments for now pending improvements in 3.0, fixes #11149
git-svn-id: https://develop.svn.wordpress.org/trunk@12377 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-12 06:40:16 +00:00
Mark Jaquith ab97039f96 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: https://develop.svn.wordpress.org/trunk@12351 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 06:14:36 +00:00
Mark Jaquith 51e25872a6 Standardize around "post image" instead of "post thumbnail"
git-svn-id: https://develop.svn.wordpress.org/trunk@12339 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 16:34:04 +00:00
Ryan Boren cf79d843b6 Set default timezone. Props Denis-de-Bernardy. fixes #10940
git-svn-id: https://develop.svn.wordpress.org/trunk@12315 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-02 17:50:07 +00:00
Peter Westwood 89a9762c42 Ensure WP_DEBUG is always defined and simplify the checks on it. Fixes #11090 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12207 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-18 08:22:49 +00:00
Ryan Boren 9e1e57f5a8 Make sure WP_CACHE is true. Props nacin. fixes #10602
git-svn-id: https://develop.svn.wordpress.org/trunk@12192 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 18:53:57 +00:00
Peter Westwood 20bd817385 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: https://develop.svn.wordpress.org/trunk@12134 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-01 10:10:06 +00:00
Ryan Boren 944dad2c59 Introduce get/set/delete_site_transient(). Make theme_roots a site transient.
git-svn-id: https://develop.svn.wordpress.org/trunk@12128 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-29 21:53:57 +00:00
Mark Jaquith 254df719da Active plugin filter, plugin deactivation array_splice() protection. props apeatling. fixes #10839
git-svn-id: https://develop.svn.wordpress.org/trunk@11966 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 04:15:37 +00:00
Peter Westwood 482e701639 First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11943 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-17 20:17:33 +00:00
Andrew Ozz 39f2c3c6f0 Send Retry-After header when in maintenance mode, props sirzooro, fixes #10439
git-svn-id: https://develop.svn.wordpress.org/trunk@11820 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-15 08:10:56 +00:00
Mark Jaquith ebd60f5a91 Be consistent about slashing _REQUEST superglobal. props dd32. fixes #10360
git-svn-id: https://develop.svn.wordpress.org/trunk@11760 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-31 22:22:54 +00:00
Andrew Ozz d9f8c67f2f Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Peter Westwood 7cda7bfd4d Add extra site debugging support to enable conditionally enable display_errors or a special error_log. Fixes #10202 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@11702 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-09 20:51:52 +00:00
Andrew Ozz 76449fcfd2 Improved $_SERVER['REQUEST_URI'] test for IIS, props ruslany, fixes #5682 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11662 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-28 00:45:12 +00:00
Ryan Boren 119195fda1 Load formatting.php before install redirect so that wp_redirect() can call _deep_replace(). see #10226
git-svn-id: https://develop.svn.wordpress.org/trunk@11622 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-22 20:10:02 +00:00
Ryan Boren 7146ff8ced 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: https://develop.svn.wordpress.org/trunk@11573 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-15 21:53:51 +00:00
Ryan Boren 5fca0502fa Set REQUEST to contain GET + POST. No cookies. fixes #8814
git-svn-id: https://develop.svn.wordpress.org/trunk@11268 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 17:48:24 +00:00
Ryan Boren 29c684cf90 Revert accidental bits. see #9706
git-svn-id: https://develop.svn.wordpress.org/trunk@11265 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 17:32:16 +00:00
Ryan Boren 352827e01a Add timezone_string to populate_options. Props hakre. fixes #9706
git-svn-id: https://develop.svn.wordpress.org/trunk@11264 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 17:31:30 +00:00
Ryan Boren b10853d492 Error reporting fixes. Props Denis-de-Bernardy, jacobsantos. fixes #9639 #8701
git-svn-id: https://develop.svn.wordpress.org/trunk@11128 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 20:18:44 +00:00
Ryan Boren 1528af55df Define wp_clone() before loading the cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@10937 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-15 19:14:43 +00:00
Ryan Boren f88a61fac5 Store field types in wpdb object. Props mdawaffe. see #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10910 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-10 21:56:30 +00:00
Ryan Boren afc2b737b9 Require active plugin files to end in .php. Props hakre. fixes #9406
git-svn-id: https://develop.svn.wordpress.org/trunk@10892 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-08 18:34:46 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren 0b25a700cb Introduce singleton widget factory
git-svn-id: https://develop.svn.wordpress.org/trunk@10808 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 23:44:36 +00:00
Ryan Boren 90931b60f0 Separate default widgets from widgets API. Always load API. fixes #9349
git-svn-id: https://develop.svn.wordpress.org/trunk@10795 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-16 22:02:40 +00:00
Ryan Boren 738367d88e Support mu-plugins for 'Must Use' autoload plugins
git-svn-id: https://develop.svn.wordpress.org/trunk@10737 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-07 00:03:40 +00:00
Ryan Boren a5d73d7a2f Use wpdb::insert() and update(). see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10731 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 05:06:15 +00:00
Ryan Boren a746eb920a Only list field types that are not strings. see #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10726 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 01:06:00 +00:00
Ryan Boren f6001bffe8 Add some default field types. see #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10725 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 00:50:19 +00:00