Commit Graph

293 Commits

Author SHA1 Message Date
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
Peter Westwood
fb6a97d14b Unset once we have included all the plugins to keep things tidy. Fixes #6308 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@10624 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-22 08:30:12 +00:00
Ryan Boren
bc924291b2 Switch to pomo lib. Support gettext contexts. Deprecate long form functions. Props nbachiyski. fixes #9112 #9111
git-svn-id: https://develop.svn.wordpress.org/trunk@10584 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-17 05:03:29 +00:00
Ryan Boren
58b6d3b7a1 Flag if using external object cache. see #9048
git-svn-id: https://develop.svn.wordpress.org/trunk@10513 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-05 22:01:39 +00:00
Ryan Boren
c34a272b1e Revert 10507. Had extra bits in. see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10508 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-05 20:47:30 +00:00
Ryan Boren
c0ece11af5 HTTP API updates and fixes. Props sivel. see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10507 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-05 20:46:39 +00:00
Andrew Ozz
1f6ba467ca Load the minified versions of the scripts by default, define('SCRIPT_DEBUG', true); can be used to load the development versions
git-svn-id: https://develop.svn.wordpress.org/trunk@10443 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-26 13:24:44 +00:00
Peter Westwood
95571ab9d4 Use the correct PHP6 check.
git-svn-id: https://develop.svn.wordpress.org/trunk@10433 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-24 13:20:59 +00:00
Peter Westwood
ac7631e20b Error reporting (again\!) See #8701 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@10431 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-24 13:01:37 +00:00
Peter Westwood
3e4d81f29e Sort out the error_reporting for PHP 5.3. See #8701.
git-svn-id: https://develop.svn.wordpress.org/trunk@10420 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-23 17:55:16 +00:00
Peter Westwood
e568aac7fa More Error Reporting stuff. See # 8701 props Denis-de-Bernardy
git-svn-id: https://develop.svn.wordpress.org/trunk@10418 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-23 13:18:50 +00:00
Peter Westwood
8a19bf51a1 Use & not ^ for E_STRICT on PHP 5
git-svn-id: https://develop.svn.wordpress.org/trunk@10407 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-22 21:04:48 +00:00
Peter Westwood
e0ab3314ad Update error_reporting configuration for newer version of PHP. Fixes #8701 props jacobsantos
git-svn-id: https://develop.svn.wordpress.org/trunk@10405 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-22 20:44:06 +00:00
Andrew Ozz
416baab11a Minify all js and add the non-minified files as .dev.js
git-svn-id: https://develop.svn.wordpress.org/trunk@10291 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-02 15:08:58 +00:00
Ryan Boren
03d8f39149 Turn off magic_quotes_sybase. It prevents addslashes from escaping backslashes. fixes #8757 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10286 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-31 22:09:57 +00:00
Ryan Boren
83e002f20b Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9596 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-10 18:54:18 +00:00
Ryan Boren
b406bec607 phpdoc corrections from jacobsantos. see #7918
git-svn-id: https://develop.svn.wordpress.org/trunk@9243 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-18 20:46:30 +00:00
Ryan Boren
052415b790 Sanitation and error handling for plugin install. Props DD32. see #6015
git-svn-id: https://develop.svn.wordpress.org/trunk@9163 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-14 15:56:33 +00:00
Ryan Boren
9da6ee40f4 Don't die with 503 if WP_INSTALLING. Don't load plugins if WP_INSTALLING. Remove old files and working dir before exiting maintenance mode. see #5560
git-svn-id: https://develop.svn.wordpress.org/trunk@9085 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-05 05:45:34 +00:00
Andrew Ozz
b647b1322a Fix typo in wp-settings.php. Props mictasm, fixes #7638
git-svn-id: https://develop.svn.wordpress.org/trunk@8772 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-29 09:32:48 +00:00
Ryan Boren
2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren
7d958a43d1 Automatic upgrade, first cut. see #5560
git-svn-id: https://develop.svn.wordpress.org/trunk@8595 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 22:49:35 +00:00
Andrew Ozz
88b7cfe735 Revert 8562 (last was incorrect)
git-svn-id: https://develop.svn.wordpress.org/trunk@8565 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 01:00:33 +00:00