Commit Graph

381 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
Ryan Boren 6cc11cbf1e Allow wp-content to exist outside of webroot. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@7999 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:55:24 +00:00
Ryan Boren f213f87d59 First cut and better admin SSL support. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:46:01 +00:00
Ryan Boren 66bb3c870e wp_cache_add_global_groups() and wp_cache_add_non_persistent_groups(). fixes #6740
git-svn-id: https://develop.svn.wordpress.org/trunk@7986 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 17:28:54 +00:00
Ryan Boren 58a9595df2 Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
git-svn-id: https://develop.svn.wordpress.org/trunk@7961 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 17:19:33 +00:00
Ryan Boren 26324f55ee Check WP_INSTALLING when setting cookiehash. Props DD32. fixes #6990
git-svn-id: https://develop.svn.wordpress.org/trunk@7947 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-18 20:06:31 +00:00
Ryan Boren 1c4f5de9a1 Revisioning for pages from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7913 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-09 15:59:17 +00:00
Ryan Boren e572783991 Check if PATH_INFO is set to avoid undefined index errors. see #5160
git-svn-id: https://develop.svn.wordpress.org/trunk@7757 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-21 17:35:20 +00:00
Ryan Boren 134476c652 Move define of AUTOSAVE_INTERVAL to wp-settings so that it is available earlier. Props simonwheatley. fixes #6668 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7664 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:07:34 +00:00
Peter Westwood b10000faf9 Improved wording for the missing mysql error message. Fixes #6141 props MtDewVirus.
git-svn-id: https://develop.svn.wordpress.org/trunk@7234 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 08:44:59 +00:00
Ryan Boren f9e7e6a590 Fallback to UTF-8 if not valid mb_internal_encoding. Props tenpura. fixes #6092
git-svn-id: https://develop.svn.wordpress.org/trunk@7157 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 19:25:00 +00:00
Ryan Boren 3185d6f736 Make sure encoding is not empty. Props tenpura. see #6902
git-svn-id: https://develop.svn.wordpress.org/trunk@7156 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 17:12:04 +00:00
Ryan Boren cd9d655c72 Multi-byte character safe excerpting from nbachiyski. fixes #6077
git-svn-id: https://develop.svn.wordpress.org/trunk@7140 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 21:05:23 +00:00
Ryan Boren da19acbc4b Allow overriding the default secret key. Proy. Props nbachiyski. fixes #5960
git-svn-id: https://develop.svn.wordpress.org/trunk@6982 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 17:36:09 +00:00
Ryan Boren 6aacdf4c91 Image size options from tellyworth. fixes #5933
git-svn-id: https://develop.svn.wordpress.org/trunk@6952 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 06:00:15 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren 2b2a48cbb5 absint is not defined yet. see #4762
git-svn-id: https://develop.svn.wordpress.org/trunk@6684 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-29 20:00:17 +00:00
Peter Westwood 4f1971cfdb Switch from abs(intval()) to absint(). See #4762.
git-svn-id: https://develop.svn.wordpress.org/trunk@6682 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-29 18:48:38 +00:00
Ryan Boren 890a2f8ed7 Increase memory limit. Props darkdragon. see #3141
git-svn-id: https://develop.svn.wordpress.org/trunk@6681 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-29 17:25:45 +00:00
Ryan Boren f55f4fbee1 Require PHP 4.3
git-svn-id: https://develop.svn.wordpress.org/trunk@6662 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-25 20:06:22 +00:00
Matt Mullenweg dd37de2de7 First pass at async upload, multi-upload, and gallery feature. Modified names from patch. Hat tip: tellyworth, skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@6659 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-25 19:21:11 +00:00
Ryan Boren 2e6e71f068 Call WP::init() just before kicking the init action so that the current user is setup as early as possible. fixes #4181
git-svn-id: https://develop.svn.wordpress.org/trunk@6586 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 20:08:59 +00:00
Ryan Boren f5564e74c8 phpdoc tuneup from darkdragon. see #5611
git-svn-id: https://develop.svn.wordpress.org/trunk@6585 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 17:48:00 +00:00
Peter Westwood 370976d8d1 Use ' not " so we don't expand. Fixes #5546 props takayukister.
git-svn-id: https://develop.svn.wordpress.org/trunk@6522 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-29 09:10:51 +00:00
Peter Westwood 7a455e8b2b Mark functions and files as deprecated. Fixes #4361 props docwhat and darkdragon
git-svn-id: https://develop.svn.wordpress.org/trunk@6514 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-28 21:17:42 +00:00
Ryan Boren 08920c2855 Custom DB error page. fixes #5500 for 2.4
git-svn-id: https://develop.svn.wordpress.org/trunk@6447 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-21 02:53:57 +00:00
Peter Westwood e2c1062fc5 Fix @since for timer_start and timer_stop. See #5211.
git-svn-id: https://develop.svn.wordpress.org/trunk@6437 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-20 21:28:53 +00:00
Peter Westwood d476730696 phpdoc for wp-settings.php. Fixes #5211 props darkdragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6434 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-20 20:44:52 +00:00
Ryan Boren bb7922cd42 New secure cookie protocol. see #5367
git-svn-id: https://develop.svn.wordpress.org/trunk@6387 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-16 17:41:59 +00:00
Ryan Boren 47aa82533f Skip theme validation during normal blog page loads. fixes #3907
git-svn-id: https://develop.svn.wordpress.org/trunk@6325 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-08 04:04:15 +00:00
Ryan Boren d5ed4b3d7d has_action and has_filter. see #5231
git-svn-id: https://develop.svn.wordpress.org/trunk@6320 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-07 04:30:11 +00:00
Ryan Boren a7719ba164 AJAX for link category add and delete. Props mdawaffe. fixes #5291
git-svn-id: https://develop.svn.wordpress.org/trunk@6299 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-31 03:53:32 +00:00
Ryan Boren 427ba98610 Remove refs to old, dead caches.
git-svn-id: https://develop.svn.wordpress.org/trunk@6260 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-17 17:37:21 +00:00
Mark Jaquith d260446047 IIS REQUEST_URI-setting fixes from snakefoot. fixes #5160 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6208 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 17:38:25 +00:00
Mark Jaquith 64270523e9 Check for ORIG_PATH_INFO on IIS. props brh, fixes #5160
git-svn-id: https://develop.svn.wordpress.org/trunk@6203 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-08 20:48:29 +00:00
Peter Westwood 0919b3ca32 Move database class loading to a shared function to ensure all of WordPress is wp-content/wp-db.php aware. Fixes #5128 props ComputerGuru.
git-svn-id: https://develop.svn.wordpress.org/trunk@6198 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-06 08:18:33 +00:00
Peter Westwood 5c6d2b30c5 s/WPDEBUG/WP_DEBUG/g Fixes #5033
git-svn-id: https://develop.svn.wordpress.org/trunk@6181 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-02 20:34:29 +00:00
Peter Westwood 4a591e0966 Enable developers to turn on notices from wp-config.php. Relates #3155. Fixes #5033 props Ozh.
git-svn-id: https://develop.svn.wordpress.org/trunk@6179 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-30 11:09:47 +00:00
Mark Jaquith c782de1531 Make sure number_format_i18n() is available before calling it in timer_stop(). fixes #5016
git-svn-id: https://develop.svn.wordpress.org/trunk@6139 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-19 20:48:34 +00:00
Mark Jaquith 5d12c48818 Use wp_die() for WPDB bails. Send 500 response and no-cache headers so wp_die()s are not cached. props DD32. fixes #3471
git-svn-id: https://develop.svn.wordpress.org/trunk@6110 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 06:23:23 +00:00
Mark Jaquith ff71837a58 De-rabbit-hole compat.php
git-svn-id: https://develop.svn.wordpress.org/trunk@6108 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:24:31 +00:00
Mark Jaquith 25facccea1 Correctly set REQUEST_URI for IIS setups that put that info into SCRIPT_NAME as well as PATH_INFO. props snakefoot and Nazgul. fixes #4853
git-svn-id: https://develop.svn.wordpress.org/trunk@6058 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-07 02:43:00 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren e9391140a7 Strip lines that contain only whitespace down to newlines.
git-svn-id: https://develop.svn.wordpress.org/trunk@6025 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:19:20 +00:00
Peter Westwood 5e1d368094 Switch to require_once for wp-includes/db.php when it exists. Fixes #4597 props intoxination.
git-svn-id: https://develop.svn.wordpress.org/trunk@6017 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 16:17:10 +00:00
Peter Westwood 187574db35 Inform the user when cookies are disabled and login fails. Fixed #2039 props tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@6009 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-02 17:20:37 +00:00
Matt Mullenweg f6c6582ff3 First pass at upgrade notification for core, see #1476. Also includes some minor footer styling changes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5892 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 10:33:52 +00:00
Mark Jaquith 912cd7792a Canonical URLs, first swing. Props to Scott Yang, Ryan and Matt. see #4554 (and report bugs there, for now)
git-svn-id: https://develop.svn.wordpress.org/trunk@5890 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 03:35:15 +00:00
Mark Jaquith 27c26dcb8e Set REQUEST_URI for IIS in more situations. props snakefoot. fixes #3514
git-svn-id: https://develop.svn.wordpress.org/trunk@5889 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 03:32:19 +00:00
Mark Jaquith baf85f8428 More streamlined install process. Obeys WP_SITEURL if defined. fixes #4687 (props JeremyVisser, Nazgul), see #4685
git-svn-id: https://develop.svn.wordpress.org/trunk@5844 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-03 01:08:59 +00:00
Mark Jaquith 593eca6f21 ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: https://develop.svn.wordpress.org/trunk@5820 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-27 21:28:01 +00:00
Ryan Boren b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
rob1n 33871d9da3 Accidental commit. Props Nazgul. fixes #4437
git-svn-id: https://develop.svn.wordpress.org/trunk@5690 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 21:59:22 +00:00
rob1n 019eff6399 Don't include HTML in gettext call. Props nbachiyski and Nazgul. fixes #4437
git-svn-id: https://develop.svn.wordpress.org/trunk@5688 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 21:48:55 +00:00
rob1n 46745ee278 Don't translate "you haven't installed" text yet, because text domain isn't installed. Props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@5615 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 12:29:46 +00:00
rob1n 2451e0e33f Localize the "you haven't installed WP yet" message. fixes #4370
git-svn-id: https://develop.svn.wordpress.org/trunk@5606 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 02:03:22 +00:00
rob1n 31456987f3 Actually check for PHP 4.2. Props nbachiyski. fixes #4336
git-svn-id: https://develop.svn.wordpress.org/trunk@5546 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 14:51:33 +00:00
Ryan Boren 523a3724bb Very rough initial commit of taxonomy for everyone's hacking pleasure. There be dragons. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5510 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 05:12:38 +00:00
rob1n 4d8365901e Don't fail when the user don't set WP-Cache up correctly. Props Denis de Bernardy. fixes #4293
git-svn-id: https://develop.svn.wordpress.org/trunk@5491 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 04:32:28 +00:00
rob1n 697a38d8e8 Move widget stuff around. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5360 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:13:06 +00:00
Ryan Boren f6f5f61311 Kick widgets init from init hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@5336 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 00:35:47 +00:00
rob1n 10566f45a4 Require once only. Props masquerade. fixes #4192
git-svn-id: https://develop.svn.wordpress.org/trunk@5313 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 04:41:12 +00:00
rob1n a40b296021 Allow number_format to be internationalized. Props nbachiyski. fixes #3677
git-svn-id: https://develop.svn.wordpress.org/trunk@5308 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 00:49:57 +00:00
rob1n ffc63c60e3 Widgets for 2.3. fixes #4186
git-svn-id: https://develop.svn.wordpress.org/trunk@5297 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 01:05:17 +00:00
Mark Jaquith 217cc16f0d remove old table* variables from wp-settings.php. Props Nazgul. fixes #3860
git-svn-id: https://develop.svn.wordpress.org/trunk@4993 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:46:59 +00:00
Mark Jaquith 56368548ad Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:29:15 +00:00
Ryan Boren aaee8a425b Use PLUGINDIR. Props z720 and Nazgul. fixes #3909
git-svn-id: https://develop.svn.wordpress.org/trunk@4972 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-06 17:47:27 +00:00
Ryan Boren 6921da8d26 Include classes.php earlier so we can make use of WP_Error.
git-svn-id: https://develop.svn.wordpress.org/trunk@4926 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 02:24:09 +00:00
Ryan Boren 53b8aa18e4 Revert accidental commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@4832 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-30 01:46:05 +00:00
Ryan Boren b0f28a6dff Remove notoptions caching. Multile rewrite_rules options were being created. See #3692 #2268
git-svn-id: https://develop.svn.wordpress.org/trunk@4831 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-30 01:43:39 +00:00
Ryan Boren dce6021ecd Always load gettext.
git-svn-id: https://develop.svn.wordpress.org/trunk@4763 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-18 04:57:39 +00:00
Ryan Boren ad899d26e0 Don't gettext before l10n bits are loaded. Props nbachiyski. fixes #3590
git-svn-id: https://develop.svn.wordpress.org/trunk@4756 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 23:03:19 +00:00
Ryan Boren 0f2b6b07b9 Cleanup link upgrade code. Drop linkcategories table.
git-svn-id: https://develop.svn.wordpress.org/trunk@4738 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 01:54:50 +00:00
Ryan Boren 26432632e5 Zend hash del key or index fix. PRops MarkJaquith.
git-svn-id: https://develop.svn.wordpress.org/trunk@4717 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-11 03:06:28 +00:00
Ryan Boren ee3f4cde4e Load locale specific php code in global context. fixes #3488
git-svn-id: https://develop.svn.wordpress.org/trunk@4699 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-08 00:11:06 +00:00
Mark Jaquith 4a33cd1687 Exit gracefully with a warning if the table_prefix uses disallowed chars. fixes #3537
git-svn-id: https://develop.svn.wordpress.org/trunk@4695 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-07 09:41:32 +00:00
Mark Jaquith 925cdbebd1 Use $wpdb->prefix when defining table names
git-svn-id: https://develop.svn.wordpress.org/trunk@4648 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-15 23:14:42 +00:00
Ryan Boren 8a40059070 Don't enforce presence of mysql system if custom DB class is being used. Props Nazgul. fixes #3293
git-svn-id: https://develop.svn.wordpress.org/trunk@4489 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 01:06:08 +00:00
Ryan Boren 67ce2d8d4f Ref more singletons.
git-svn-id: https://develop.svn.wordpress.org/trunk@4486 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 00:12:57 +00:00
Ryan Boren 5d37af4e0d Use die() not wp_die(). Props AlanJCastonguay. fixes #3357
git-svn-id: https://develop.svn.wordpress.org/trunk@4464 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-13 17:37:41 +00:00
Ryan Boren be689d80a3 Preserve the original query object as wp_the_query so that it's not stomped by subsequent calls to query_posts().
git-svn-id: https://develop.svn.wordpress.org/trunk@4460 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-09 06:50:58 +00:00
Ryan Boren 9e8504f909 Remove comment. fixes #3210
git-svn-id: https://develop.svn.wordpress.org/trunk@4452 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-08 02:04:54 +00:00
Mark Jaquith 59c610ec06 make /languages/ directory default to /wp-content/languages/ with fallback to /wp-includes/languages/. Props Nazgul. fixes #3315
git-svn-id: https://develop.svn.wordpress.org/trunk@4446 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-04 05:20:39 +00:00
Mark Jaquith 40aafdb326 allow timer_stop() to use number_format() when returning. Props mdawaffe and nbachiyski. fixes #991
git-svn-id: https://develop.svn.wordpress.org/trunk@4345 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 22:00:53 +00:00
Ryan Boren 96bcf0b24d Prefix unregister_GLOBALS to avoid name collisions. Props westi. fixes #3151
git-svn-id: https://develop.svn.wordpress.org/trunk@4203 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-21 21:00:22 +00:00
Ryan Boren 7e99c9b9d7 Turn hard-coded paths to defines. Pull gettext includes int wp-settings. Props mdawaffe. fixes #3157
git-svn-id: https://develop.svn.wordpress.org/trunk@4202 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-21 20:46:39 +00:00
Ryan Boren 58370c3575 timer_stop() wanted to be near timer_start().
git-svn-id: https://develop.svn.wordpress.org/trunk@4174 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-07 23:26:52 +00:00
Ryan Boren 873e447e6b db.php instead of wp-db.php for pluggable DB load. #2721
git-svn-id: https://develop.svn.wordpress.org/trunk@4160 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-02 20:27:51 +00:00
Ryan Boren 5ad1b21683 Allow pluggable wp-db. #2721
git-svn-id: https://develop.svn.wordpress.org/trunk@4154 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-01 18:47:47 +00:00
Ryan Boren 7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren e0da7f0d1d Allow stylesheet only themes to provide functions.php. Props skeltoac. fixes #3048
git-svn-id: https://develop.svn.wordpress.org/trunk@4131 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 09:14:37 +00:00
Ryan Boren a6304a1c27 Don't wp_die() before functions.php is loaded.
git-svn-id: https://develop.svn.wordpress.org/trunk@4072 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-05 03:47:20 +00:00
Ryan Boren e69d028988 Tweak theme validation.
git-svn-id: https://develop.svn.wordpress.org/trunk@4017 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-11 22:44:56 +00:00
Ryan Boren 0b25954d38 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: https://develop.svn.wordpress.org/trunk@3985 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 22:00:03 +00:00
Matt Mullenweg 8f8f10cc1e Another step toward removing old table vars, this is why we should be careful about naming things! Fixes #2524
git-svn-id: https://develop.svn.wordpress.org/trunk@3951 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-04 18:28:08 +00:00
Ryan Boren 39229a3311 wp_get_current_commenter()
git-svn-id: https://develop.svn.wordpress.org/trunk@3902 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-22 20:52:12 +00:00
Ryan Boren 2c8931c55d Move plugin API to plugin.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3893 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-20 02:03:24 +00:00
Ryan Boren d2240011a0 Remove wp- prefix from wp-l10n.php
git-svn-id: https://develop.svn.wordpress.org/trunk@3870 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-15 07:24:44 +00:00
Ryan Boren 216546a0b8 Include file renames. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3862 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-11 06:43:54 +00:00
Ryan Boren 1041498585 Move user functions to user.php. Relocate more post functions to post.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3854 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-08 02:22:16 +00:00
Ryan Boren d3f6c3ca0d Reworg post/page/attachment functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3851 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-07 23:17:59 +00:00