Commit Graph

195 Commits

Author SHA1 Message Date
westi 2bcddfc042 Enable developers to turn on notices from wp-config.php. Relates #3155. Fixes #5033 props Ozh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-30 11:09:47 +00:00
markjaquith 4f6b825b8b Make sure number_format_i18n() is available before calling it in timer_stop(). fixes #5016
git-svn-id: http://svn.automattic.com/wordpress/trunk@6139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 20:48:34 +00:00
markjaquith b36471d4cf 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: http://svn.automattic.com/wordpress/trunk@6110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 06:23:23 +00:00
markjaquith 3fc1d4f08d De-rabbit-hole compat.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@6108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 05:24:31 +00:00
markjaquith 6a1c63e2f7 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: http://svn.automattic.com/wordpress/trunk@6058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-07 02:43:00 +00:00
ryan 321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan 87c4f3a17f Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:19:20 +00:00
westi 36851becbd Switch to require_once for wp-includes/db.php when it exists. Fixes #4597 props intoxination.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 16:17:10 +00:00
westi 2662be2098 Inform the user when cookies are disabled and login fails. Fixed #2039 props tellyworth.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-02 17:20:37 +00:00
matt 7c2dbb9cb1 First pass at upgrade notification for core, see #1476. Also includes some minor footer styling changes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 10:33:52 +00:00
markjaquith 6fc031de6b Canonical URLs, first swing. Props to Scott Yang, Ryan and Matt. see #4554 (and report bugs there, for now)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 03:35:15 +00:00
markjaquith 54639a391b Set REQUEST_URI for IIS in more situations. props snakefoot. fixes #3514
git-svn-id: http://svn.automattic.com/wordpress/trunk@5889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-17 03:32:19 +00:00
markjaquith 25abcd1338 More streamlined install process. Obeys WP_SITEURL if defined. fixes #4687 (props JeremyVisser, Nazgul), see #4685
git-svn-id: http://svn.automattic.com/wordpress/trunk@5844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-03 01:08:59 +00:00
markjaquith 764f50bd3d ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: http://svn.automattic.com/wordpress/trunk@5820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-27 21:28:01 +00:00
ryan 2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
rob1n d4f95b7fd4 Accidental commit. Props Nazgul. fixes #4437
git-svn-id: http://svn.automattic.com/wordpress/trunk@5690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 21:59:22 +00:00
rob1n e3328ca20b Don't include HTML in gettext call. Props nbachiyski and Nazgul. fixes #4437
git-svn-id: http://svn.automattic.com/wordpress/trunk@5688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 21:48:55 +00:00
rob1n 71a095d0ee Don't translate "you haven't installed" text yet, because text domain isn't installed. Props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 12:29:46 +00:00
rob1n 990ca286c1 Localize the "you haven't installed WP yet" message. fixes #4370
git-svn-id: http://svn.automattic.com/wordpress/trunk@5606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 02:03:22 +00:00
rob1n 629dde868c Actually check for PHP 4.2. Props nbachiyski. fixes #4336
git-svn-id: http://svn.automattic.com/wordpress/trunk@5546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 14:51:33 +00:00
ryan 634a33c206 Very rough initial commit of taxonomy for everyone's hacking pleasure. There be dragons. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 05:12:38 +00:00
rob1n a45c3a3f23 Don't fail when the user don't set WP-Cache up correctly. Props Denis de Bernardy. fixes #4293
git-svn-id: http://svn.automattic.com/wordpress/trunk@5491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-19 04:32:28 +00:00
rob1n 58d8ed1284 Move widget stuff around. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:13:06 +00:00
ryan a59fcf3c3a Kick widgets init from init hook.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 00:35:47 +00:00
rob1n b3d3d731ac Require once only. Props masquerade. fixes #4192
git-svn-id: http://svn.automattic.com/wordpress/trunk@5313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-25 04:41:12 +00:00
rob1n d3f52c3b45 Allow number_format to be internationalized. Props nbachiyski. fixes #3677
git-svn-id: http://svn.automattic.com/wordpress/trunk@5308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-25 00:49:57 +00:00
rob1n 03e6c2ed9a Widgets for 2.3. fixes #4186
git-svn-id: http://svn.automattic.com/wordpress/trunk@5297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 01:05:17 +00:00
markjaquith cd35f6ecf9 remove old table* variables from wp-settings.php. Props Nazgul. fixes #3860
git-svn-id: http://svn.automattic.com/wordpress/trunk@4993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:46:59 +00:00
markjaquith 3320dd1380 Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
ryan 83112722cd Use PLUGINDIR. Props z720 and Nazgul. fixes #3909
git-svn-id: http://svn.automattic.com/wordpress/trunk@4972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-06 17:47:27 +00:00
ryan ec1d1f182e Include classes.php earlier so we can make use of WP_Error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 02:24:09 +00:00
ryan 1ec4dd0209 Revert accidental commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 01:46:05 +00:00
ryan f8c689b4f0 Remove notoptions caching. Multile rewrite_rules options were being created. See #3692 #2268
git-svn-id: http://svn.automattic.com/wordpress/trunk@4831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-30 01:43:39 +00:00
ryan acc560279e Always load gettext.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-18 04:57:39 +00:00
ryan f717f85c0a Don't gettext before l10n bits are loaded. Props nbachiyski. fixes #3590
git-svn-id: http://svn.automattic.com/wordpress/trunk@4756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 23:03:19 +00:00
ryan ec648ae332 Cleanup link upgrade code. Drop linkcategories table.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 01:54:50 +00:00
ryan 9323d39466 Zend hash del key or index fix. PRops MarkJaquith.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-11 03:06:28 +00:00
ryan 3e26469375 Load locale specific php code in global context. fixes #3488
git-svn-id: http://svn.automattic.com/wordpress/trunk@4699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-08 00:11:06 +00:00
markjaquith cde68f9336 Exit gracefully with a warning if the table_prefix uses disallowed chars. fixes #3537
git-svn-id: http://svn.automattic.com/wordpress/trunk@4695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-07 09:41:32 +00:00
markjaquith 71a2674bde Use $wpdb->prefix when defining table names
git-svn-id: http://svn.automattic.com/wordpress/trunk@4648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-15 23:14:42 +00:00
ryan 172bfb801f Don't enforce presence of mysql system if custom DB class is being used. Props Nazgul. fixes #3293
git-svn-id: http://svn.automattic.com/wordpress/trunk@4489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 01:06:08 +00:00
ryan 92421de747 Ref more singletons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 00:12:57 +00:00
ryan 79d9f41663 Use die() not wp_die(). Props AlanJCastonguay. fixes #3357
git-svn-id: http://svn.automattic.com/wordpress/trunk@4464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-13 17:37:41 +00:00
ryan 22bee1c9d7 Preserve the original query object as wp_the_query so that it's not stomped by subsequent calls to query_posts().
git-svn-id: http://svn.automattic.com/wordpress/trunk@4460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-09 06:50:58 +00:00
ryan 911d3a1403 Remove comment. fixes #3210
git-svn-id: http://svn.automattic.com/wordpress/trunk@4452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 02:04:54 +00:00
markjaquith 54d7ccba56 make /languages/ directory default to /wp-content/languages/ with fallback to /wp-includes/languages/. Props Nazgul. fixes #3315
git-svn-id: http://svn.automattic.com/wordpress/trunk@4446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-04 05:20:39 +00:00
markjaquith a9d23d40d5 allow timer_stop() to use number_format() when returning. Props mdawaffe and nbachiyski. fixes #991
git-svn-id: http://svn.automattic.com/wordpress/trunk@4345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 22:00:53 +00:00
ryan eb4e2a2216 Prefix unregister_GLOBALS to avoid name collisions. Props westi. fixes #3151
git-svn-id: http://svn.automattic.com/wordpress/trunk@4203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-21 21:00:22 +00:00
ryan 7a032342b3 Turn hard-coded paths to defines. Pull gettext includes int wp-settings. Props mdawaffe. fixes #3157
git-svn-id: http://svn.automattic.com/wordpress/trunk@4202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-21 20:46:39 +00:00
ryan 0f7bb42a79 timer_stop() wanted to be near timer_start().
git-svn-id: http://svn.automattic.com/wordpress/trunk@4174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-07 23:26:52 +00:00