Commit Graph

191 Commits

Author SHA1 Message Date
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