Commit Graph

281 Commits

Author SHA1 Message Date
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
Andrew Ozz c4d5fd7ce9 Revert 8562
git-svn-id: https://develop.svn.wordpress.org/trunk@8564 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 00:44:40 +00:00
Andrew Ozz b07aca4429 Stop fatal error in post revisions when setting the include path is disabled. Props santosj, for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8562 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 23:56:52 +00:00
Ryan Boren 086b9294b9 HTTP POST and REQUEST API from jacobsantos. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8516 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 05:00:07 +00:00
Peter Westwood c735945148 Make the validate_file check more explict and obvious.
git-svn-id: https://develop.svn.wordpress.org/trunk@8501 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:48:30 +00:00
Andrew Ozz 4ad2e3433e Include only valid plugins. Props guillep2k, fixes #6871
git-svn-id: https://develop.svn.wordpress.org/trunk@8495 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 23:10:12 +00:00
Ryan Boren c0c919091b Use ORIG_PATH_INFO if PATH_INFO is not available. fixes #7058 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8470 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-28 16:26:59 +00:00
Ryan Boren 4ce4b5bfb7 i18n fixes from nbachiyski. fixes #7195
git-svn-id: https://develop.svn.wordpress.org/trunk@8211 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-28 16:27:21 +00:00
Ryan Boren b980b3f310 Set auth cookie for plugins directory to support direct load plugin files that call auth_redirect(). see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8209 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-27 22:54:21 +00:00
Ryan Boren 69ce37d463 Mark string that cannot be gettexted. Props nbachiyski. fixes #7074
git-svn-id: https://develop.svn.wordpress.org/trunk@8168 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-23 15:40:43 +00:00
Ryan Boren bab6fa872c Introduce logged_in cookie. Deliver auth cookies only to wp-admin. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8069 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-11 17:25:55 +00:00
Ryan Boren a5afa77fca Cache get_plugins() list. Props DD32. fixes #7113
git-svn-id: https://develop.svn.wordpress.org/trunk@8068 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-10 16:57:33 +00:00
Ryan Boren 039f8153de Use siteurl instead of home. Props msi08. fixes #7050
git-svn-id: https://develop.svn.wordpress.org/trunk@8006 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-28 16:53:29 +00:00