Commit Graph

340 Commits

Author SHA1 Message Date
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
Ryan Boren 27bc07a27f Reorg bookmark functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3845 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-05 02:12:59 +00:00
Ryan Boren 24cceef897 Reorg category functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3844 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-04 22:40:53 +00:00
Ryan Boren 60eeedbcd9 Script loader from mdawaffe. #2701
git-svn-id: https://develop.svn.wordpress.org/trunk@3788 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-22 17:16:05 +00:00
Ryan Boren 63c32823bd Reorg comment functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3714 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 02:32:12 +00:00
Ryan Boren 85ed7859d1 Move theme functions to theme.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3711 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-18 04:44:33 +00:00
Matt Mullenweg d17b992895 Remove use of deprecated variables, don't show bookmarklet form to unrecognized browser.
git-svn-id: https://develop.svn.wordpress.org/trunk@3685 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-04 00:25:04 +00:00
Ryan Boren e622346b7d WP_Locale. Props Sewar. fixes #2568
git-svn-id: https://develop.svn.wordpress.org/trunk@3676 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:20:11 +00:00
Ryan Boren fa8d1959e2 Pluggable install functions. fixes #2616
git-svn-id: https://develop.svn.wordpress.org/trunk@3670 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-31 08:07:39 +00:00
Ryan Boren e2108969c4 Move WP_Query and its wrapper functions to query.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3639 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-13 01:44:32 +00:00
Ryan Boren b573abbd16 Rewrite API additions and improvements from David House. #2433
git-svn-id: https://develop.svn.wordpress.org/trunk@3638 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-12 22:57:00 +00:00
Ryan Boren 457b4b5251 Cron improvements from masquerade. #2425
git-svn-id: https://develop.svn.wordpress.org/trunk@3634 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-07 21:43:59 +00:00
Ryan Boren f2094325f4 Update bookmarks include.
git-svn-id: https://develop.svn.wordpress.org/trunk@3596 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 10:22:18 +00:00
Ryan Boren 64173c9918 Move deprecated functions to deprecated.php. #2520
git-svn-id: https://develop.svn.wordpress.org/trunk@3589 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 03:27:48 +00:00
Ryan Boren 966f2abfe2 _SERVER is not escaped by magic_quotes_gpc so don't strip it.
git-svn-id: https://develop.svn.wordpress.org/trunk@3572 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 01:52:59 +00:00
Ryan Boren a2f5fa5254 Bookmark/link rework. #2499
git-svn-id: https://develop.svn.wordpress.org/trunk@3570 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-27 04:57:30 +00:00
Ryan Boren 5932545a46 Move wp_cron from shutdown hook to init. It was acting all funky (in the bad way) in the shutdown hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@3561 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-20 21:07:17 +00:00
Ryan Boren 6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren f156e83af5 Post status = future. #2426
git-svn-id: https://develop.svn.wordpress.org/trunk@3514 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:41:56 +00:00
Ryan Boren 0a550d5454 Remove core_files_loaded action due to general uselessness. fixes #2347
git-svn-id: https://develop.svn.wordpress.org/trunk@3499 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-30 21:29:22 +00:00
Ryan Boren 19515e03dd Remove unneeded (and broken) line. Props asher. fixes #2314
git-svn-id: https://develop.svn.wordpress.org/trunk@3466 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-20 21:02:59 +00:00
Ryan Boren e165c3394e wp_roles cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@3452 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 01:06:11 +00:00
Matt Mullenweg 71a7392fb4 Let's not modify wpconfig for now, fixes #2107
git-svn-id: https://develop.svn.wordpress.org/trunk@3449 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-17 01:03:23 +00:00
Ryan Boren 915517c4f2 Save cache after the shutdown hook runs. fixes #2232
git-svn-id: https://develop.svn.wordpress.org/trunk@3411 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-06 02:10:43 +00:00
Ryan Boren 880f8c8ba3 Check if SCRIPT_FILENAME is set to avoid warnings. fixes #2227
git-svn-id: https://develop.svn.wordpress.org/trunk@3408 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-06 01:05:59 +00:00
Ryan Boren 29e7d65c71 Move PHP_SELF setup to wp-settings.php. #2153
git-svn-id: https://develop.svn.wordpress.org/trunk@3382 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 23:11:26 +00:00
Matt Mullenweg d56aba7798 This should fix permalinks, but may break the PHP as CGI funkiness again
git-svn-id: https://develop.svn.wordpress.org/trunk@3069 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 08:56:40 +00:00
Matt Mullenweg 357311cd6a Ryan says it's stable ;)
git-svn-id: https://develop.svn.wordpress.org/trunk@3053 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 02:25:31 +00:00
Matt Mullenweg 9019babb19 PHP notice fix
git-svn-id: https://develop.svn.wordpress.org/trunk@3051 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 02:22:19 +00:00
Matt Mullenweg e67d0cac6f Formatting
git-svn-id: https://develop.svn.wordpress.org/trunk@3045 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:37:25 +00:00
Matt Mullenweg 6d5e0be5ef Fixes #1591 (again)
git-svn-id: https://develop.svn.wordpress.org/trunk@3034 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-10 23:57:45 +00:00
Ryan Boren c72a1f461e Object caching, round one.
git-svn-id: https://develop.svn.wordpress.org/trunk@3011 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 21:56:03 +00:00
Ryan Boren 081527cd3e Better support for theme plugins. add_theme_page() and active theme functions.php autoloader.
git-svn-id: https://develop.svn.wordpress.org/trunk@2818 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-29 23:40:32 +00:00
Ryan Boren dfadec884f New import system. Very rough draft.
git-svn-id: https://develop.svn.wordpress.org/trunk@2800 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-21 07:03:23 +00:00
Matt Mullenweg 0c8967b8b2 Typos and more secure unsetting. Hat tip: Stefen Esser
git-svn-id: https://develop.svn.wordpress.org/trunk@2784 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-15 04:02:19 +00:00
Matt Mullenweg 192c52b4ea Tweak
git-svn-id: https://develop.svn.wordpress.org/trunk@2772 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-09 22:38:32 +00:00
Matt Mullenweg 7f576fed46 That last thing didn't work at all.
git-svn-id: https://develop.svn.wordpress.org/trunk@2770 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-09 20:09:20 +00:00
Matt Mullenweg 3d4c635b64 Fixes #1565
git-svn-id: https://develop.svn.wordpress.org/trunk@2769 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-09 20:00:29 +00:00
Matt Mullenweg 9ae33f4f18 Turn register globals off. Hat tip: Christian Schmidt
git-svn-id: https://develop.svn.wordpress.org/trunk@2768 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-09 08:26:54 +00:00
Matt Mullenweg c9c1cc2abb Fixes #1488
git-svn-id: https://develop.svn.wordpress.org/trunk@2744 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:42:52 +00:00
Matt Mullenweg 6d2fd52584 Let advanced users override cookies.
git-svn-id: https://develop.svn.wordpress.org/trunk@2725 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-18 19:55:24 +00:00
Ryan Boren 92bfe7a248 Rearrange load order. Init classes before loading the text domain and setting the template path.
git-svn-id: https://develop.svn.wordpress.org/trunk@2706 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-13 19:29:18 +00:00