Commit Graph

4979 Commits

Author SHA1 Message Date
rob1n
ee7d9e9e18 New status_header code, and WP-DB bail() errors send a 503 Service Unavailable. see #2409
Also, the new header code to text array has 302 as Found. fixes #4183


git-svn-id: http://svn.automattic.com/wordpress/trunk@5446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:34:50 +00:00
rob1n
f432ed648a Fix for PHP version 5.2.2 where $HTTP_RAW_POST_DATA isn't set. fixes #4248
git-svn-id: http://svn.automattic.com/wordpress/trunk@5445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:21:06 +00:00
rob1n
e6c189902c Use wp_parse_args(). fixes #4237
git-svn-id: http://svn.automattic.com/wordpress/trunk@5444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:10:05 +00:00
ryan
70c17cc871 Escapage
git-svn-id: http://svn.automattic.com/wordpress/trunk@5441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 00:56:12 +00:00
ryan
f7de9ede8a Handle local and remote blogroll imports. Props apokalyptik. fixes #4243 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 21:21:54 +00:00
ryan
272fbe5c8a Left, right, dragChange, hop. s/left/right/. Props Lawrence Pit. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 21:18:21 +00:00
ryan
58b1093938 Use correct var. Props charismabiz. fixes #4246 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 21:08:13 +00:00
ryan
93266da580 Add missing preg delimiter. see #4241
git-svn-id: http://svn.automattic.com/wordpress/trunk@5433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 16:37:44 +00:00
ryan
fec23e1837 Cast to array to avoid warning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 16:32:11 +00:00
rob1n
b3165ed3c1 Make H2's in the admin wrap nice, and some CSS cleanup. Props JeremyVisser. fixes #4119
git-svn-id: http://svn.automattic.com/wordpress/trunk@5430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 02:52:22 +00:00
rob1n
26dfd309f6 Show WP-Adv TinyMCE button by default. Props johnbillion. fixes #3171
git-svn-id: http://svn.automattic.com/wordpress/trunk@5429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 02:42:00 +00:00
rob1n
56a1232923 Don't discard non-default args in wp_parse_args(). see #4237
git-svn-id: http://svn.automattic.com/wordpress/trunk@5428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 02:33:01 +00:00
ryan
28f3106ee9 Var is an object var. Add missing this.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 02:31:16 +00:00
rob1n
58839706d0 Let WebKit 420 or above get in. And clean up that overgrown ternary. Props Andy. fixes #4241
git-svn-id: http://svn.automattic.com/wordpress/trunk@5425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 01:31:12 +00:00
rob1n
ece3623070 Don't add port if port == 80 (default port). fixes #3993
git-svn-id: http://svn.automattic.com/wordpress/trunk@5424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 01:26:56 +00:00
ryan
17be568a6d Don't preg_match_all when processing items. fixes #4239 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-10 00:05:21 +00:00
ryan
6f6062af97 Obey show_post_count for dropdown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-09 21:54:30 +00:00
matt
1fbc800c8b Knowing the version of the theme is pretty useless in this context, it's clutter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-09 17:14:23 +00:00
ryan
a8c91f6c0b Include plugin.php before calling wp_die. fixes #4238 for 2.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-09 16:18:11 +00:00
matt
49407420a2 Don't forget to center this cell as well.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-09 08:12:54 +00:00
rob1n
1e30a12eb5 Bit of clean-up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-09 04:19:19 +00:00
ryan
627725be1a Make sure wp_actions is set before counting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-08 17:59:52 +00:00
ryan
bbad336b10 Don't send header from wp_die() if admin header already sent. fixes #4234 for 2.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 23:24:44 +00:00
ryan
481e505d49 Fix did_action to properly account for actions that have no callbacks attached.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 23:22:50 +00:00
ryan
ef4ad331e1 Add nonces to importers
git-svn-id: http://svn.automattic.com/wordpress/trunk@5404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 15:56:53 +00:00
ryan
9b1b9b2084 attribute_escape for widgets. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 02:16:28 +00:00
ryan
9805be9f11 Make sure Widgets menu comes after Themes. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-06 20:36:11 +00:00
ryan
23b99491a2 Fix widget registration back compat by splitting API. Fix feed widget. For 2.3. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-06 07:08:11 +00:00
rob1n
b6fc2cacce Add in missing delimiter. fixes #4226 for 2.0, 2.2 and 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-05 02:51:20 +00:00
rob1n
f7f55f0883 Don't set URL options if WP_HOME and or WP_SITEURL are defined. Props filosofo. fixes #4199
git-svn-id: http://svn.automattic.com/wordpress/trunk@5395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-05 00:19:25 +00:00
rob1n
69f36791f1 Use WP_HOME and WP_SITEURL in upgrading. Props filosofo. fixes #4211
git-svn-id: http://svn.automattic.com/wordpress/trunk@5394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-05 00:17:05 +00:00
rob1n
8638b7ab3a Return based on whether the hook was removed or not. Props mdawaffe. fixes #4223
Note that this will almost definitely *not* affect existing implementations. The way most code is set up now is to just call remove_filter() or remove_action().


git-svn-id: http://svn.automattic.com/wordpress/trunk@5393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 23:27:12 +00:00
rob1n
bc423b6e4c Use correct border order in classic theme's CSS. fixes #4225
git-svn-id: http://svn.automattic.com/wordpress/trunk@5392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 23:23:41 +00:00
ryan
3768d8363d eol-style everywhere
git-svn-id: http://svn.automattic.com/wordpress/trunk@5391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 21:48:43 +00:00
ryan
b33a7e9cfb Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@5390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 21:28:50 +00:00
ryan
e98183c527 Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@5388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 21:26:38 +00:00
ryan
b311e786fe Do a cap check at the top of widgets since it won't always inherit the menu cap check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 17:52:22 +00:00
rob1n
48c85562b8 Don't reference old-style "levels," as they apparently used to call them back in the day.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 04:18:59 +00:00
rob1n
0a8b69c947 Don't take out class attribute for <abbr />, for hReview. fixes #3420
git-svn-id: http://svn.automattic.com/wordpress/trunk@5383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 03:52:11 +00:00
ryan
2cc75dbc63 Add 'Select' text to the dropdowns. Props Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 02:23:49 +00:00
rob1n
ce488547e8 Sort page templates by name. Props Arrrr. see #2926
git-svn-id: http://svn.automattic.com/wordpress/trunk@5380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 04:41:22 +00:00
rob1n
0b1ce5d4f8 Apply get_nested_cats filter. Props davidhouse and Nazgul. fixes #2623
git-svn-id: http://svn.automattic.com/wordpress/trunk@5379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 04:34:07 +00:00
rob1n
7db9d9f6b2 Use fancy quotes instead of raw quotes (which should have been &quot; anyways).
git-svn-id: http://svn.automattic.com/wordpress/trunk@5378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 01:23:14 +00:00
rob1n
f8b2a63e57 Load order fixed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 00:52:14 +00:00
rob1n
ab530a67d5 Don't show Widgets admin page if core widgets aren't enabled. fixes #4218
git-svn-id: http://svn.automattic.com/wordpress/trunk@5376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 00:43:57 +00:00
rob1n
2fff1e5671 Add lang and xml:lang attributes to allowed list for p, div and blockquote. fixes #4128
git-svn-id: http://svn.automattic.com/wordpress/trunk@5375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:31:30 +00:00
rob1n
37745efcae Spring cleaning, extreme edition.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:26:57 +00:00
rob1n
e5fb2523b4 Clean that mess up so it's more easily managed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:17:43 +00:00
ryan
9e54a128b8 Call get_option('siteurl') outside the loop to save a few dozen get_option calls. Props andissimo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 00:32:22 +00:00
ryan
f20cad1508 Fix inline uploader page links. Props mdawaffe. fixes #4217 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 23:33:44 +00:00