Commit Graph

13189 Commits

Author SHA1 Message Date
Ron Rennick e35e6165ab limit upload size to site's available limit, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14420 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:40:02 +00:00
Ryan Boren d2b4e092aa White list instead of black list post types when searching. Props sivel. fixes #13183
git-svn-id: https://develop.svn.wordpress.org/trunk@14419 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:22:34 +00:00
Andrew Nacin b2093dbdfd Provide a context to wp_handle_upload to differentiate between upload and sideload. props technosailor, fixes #12740.
git-svn-id: https://develop.svn.wordpress.org/trunk@14418 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:16:48 +00:00
Nikolay Bachiyski c094caee61 Refactor get_available_languages() to use glob() instead of *dir functions. See #13023
git-svn-id: https://develop.svn.wordpress.org/trunk@14417 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:07:31 +00:00
Nikolay Bachiyski 6eba1c3232 Use get_available_languages() in options-general.php instead of manually looping on the language dir. Props sivel. Fixes #13023
git-svn-id: https://develop.svn.wordpress.org/trunk@14416 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:06:49 +00:00
Andrew Nacin f01af5fefd Bail when there is neither a menu, or a fallback. props ptahdunbar, fixes #13006.
git-svn-id: https://develop.svn.wordpress.org/trunk@14415 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:03:52 +00:00
Ryan Boren eee631b773 Don't suppress errors when including cron if WP_DEBUG. Props sivel. fixes #11507
git-svn-id: https://develop.svn.wordpress.org/trunk@14414 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 21:46:19 +00:00
Andrew Nacin 066caaa9fa Remove unused CSS. props koopersmith, see #13220
git-svn-id: https://develop.svn.wordpress.org/trunk@14413 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 21:21:55 +00:00
Mark Jaquith fb6501cae0 Add some new protocols for KSES. Make the list of protocols filterable. Start esc_url() with the same list. fixes #10914. props technosailor
git-svn-id: https://develop.svn.wordpress.org/trunk@14412 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 21:20:20 +00:00
Peter Westwood 8112a99438 Remove the deprecation message for now as it shows too many false positives. See #13230.
git-svn-id: https://develop.svn.wordpress.org/trunk@14411 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 21:12:23 +00:00
Andrew Nacin b3b0c727fc Use get_row instead of get_var in get_site_option, aligning it with get_option, due to funkiness with 0/false/null. fixes #13043. props laceous.
git-svn-id: https://develop.svn.wordpress.org/trunk@14410 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 21:02:32 +00:00
Peter Westwood c7e4d07d28 Add is_child_theme(). Fixes #12998 props ptahdunbar.
git-svn-id: https://develop.svn.wordpress.org/trunk@14409 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:56:57 +00:00
Andrew Nacin 13d35fe80a Truncate really long menu names. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14408 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:40:32 +00:00
Nikolay Bachiyski abf6b82a23 Differentiate spam strings by subject: comments, sites, and users. Props dimadin. Fixes #13199
git-svn-id: https://develop.svn.wordpress.org/trunk@14407 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:37:07 +00:00
Andrew Nacin b974013f7c Add HTML 5 elements to kses, first pass. props rmccue. see #12835.
git-svn-id: https://develop.svn.wordpress.org/trunk@14406 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:34:49 +00:00
Andrew Nacin 60ae097b78 Fix JS error in autocomplete. props koopersmith, see #13205.
git-svn-id: https://develop.svn.wordpress.org/trunk@14405 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:31:34 +00:00
Ryan Boren d783952469 Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
potbot 45976a2ff7 POT, generated from r14401
git-svn-id: https://develop.svn.wordpress.org/trunk@14403 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:21:30 +00:00
Dion Hulse d28dcf1ef6 s/#/ \/\/ / - Remove #comment with // comment in WP_Query
git-svn-id: https://develop.svn.wordpress.org/trunk@14402 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:20:46 +00:00
Dion Hulse aa7c1d8a41 WP_Query whitespace cleanup, some loop cleanup as well
git-svn-id: https://develop.svn.wordpress.org/trunk@14401 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:19:13 +00:00
Andrew Nacin 54c73c0c2b Ensure image MIME type matches extension for images. props Viper007Bond, fixes #11946.
git-svn-id: https://develop.svn.wordpress.org/trunk@14400 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:17:01 +00:00
Andrew Nacin 2fa9643cf2 Handle page hierarchy when showing the sample permalink. props duck_, fixes #12327.
git-svn-id: https://develop.svn.wordpress.org/trunk@14399 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:10:26 +00:00
Dion Hulse a7b2ec8515 Move edit_<tax>_form and <tax>_edit_form to above submit button. Fixes #12746
git-svn-id: https://develop.svn.wordpress.org/trunk@14398 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:05:46 +00:00
Andrew Nacin d2b523c847 Remove browse-happy.gif. see #12876. props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@14397 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:01:59 +00:00
Andrew Nacin c045a20926 Remove browse-happy.gif. see #12876. props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@14396 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:01:35 +00:00
Andrew Nacin c79b841f8c Remove files replaced by CSS3 gradients. IE falls back to solid colors. see #12586.
git-svn-id: https://develop.svn.wordpress.org/trunk@14395 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:52:44 +00:00
Andrew Nacin 80ee3d1d2d Check for deleted menus or something. It fixes a JS error. props koopersmith, see #13215.
git-svn-id: https://develop.svn.wordpress.org/trunk@14394 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:35:54 +00:00
Andrew Nacin 2f0d602eeb Remove unused vars. props TobiasBg. fixes #13228.
git-svn-id: https://develop.svn.wordpress.org/trunk@14393 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:33:23 +00:00
Ryan Boren db93b01df3 RTL fixes. Props yoavf. see #13233
git-svn-id: https://develop.svn.wordpress.org/trunk@14392 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:31:25 +00:00
Ryan Boren 133b1e8bf1 Coding standard cleanups. Props zeo. see #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14391 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:30:02 +00:00
Dion Hulse 7f9bee2845 Fix alignment/location of "Add" on non-hierarchical taxonomy addition boxes. Props ocean90. Fixes #12153
git-svn-id: https://develop.svn.wordpress.org/trunk@14390 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:29:17 +00:00
Ryan Boren b8ec6f9114 Typo fixes. Props zeo. see #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14389 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:28:44 +00:00
Ryan Boren 00cb165e9c Use get_search_query(). Props zeo. see #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14388 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:28:04 +00:00
Dion Hulse c1fe068ec6 Handle ", " and "," in non-hierarchical term suggestion. Props ocean90. Fixes #12152
git-svn-id: https://develop.svn.wordpress.org/trunk@14387 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:23:44 +00:00
Ron Rennick 997a121259 allow subdir multisite on ip address, see #12142
git-svn-id: https://develop.svn.wordpress.org/trunk@14386 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:23:37 +00:00
Andrew Nacin a5b565f431 Twenty Ten RTL fixes. props yoavf. fixes #13121.
git-svn-id: https://develop.svn.wordpress.org/trunk@14385 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:17:27 +00:00
Matt Thomas 95ca2ad069 In Twenty Ten:
* removed custom functions for listing tags, cats, or other custom taxonomy terms.
* fixed up a couple of span tags meant to catch the text before tag and cat listings (for child themes)
* made attachment pages full width with a filterable size for the image, 'twentyten_attachment_size' (for child themes)
* removed "RSS for this post" in single.php.
clicking on attachment images in a gallery takes you to the next image, unless it's the last image in a gallery, in which case it points you back to the parent post.
* added a link to the full-size image in the post meta

Props iandstewart.

git-svn-id: https://develop.svn.wordpress.org/trunk@14384 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:16:47 +00:00
Andrew Nacin d2e1c94321 Use CSS3 gradients for the admin header and footer. Fall back to a solid color for IE. Props JohnONolan, fixes #12586.
git-svn-id: https://develop.svn.wordpress.org/trunk@14383 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:12:19 +00:00
Ryan Boren 1796f678ff Hooks for the widgets api. Props ptahdunbar. fixes #12546
git-svn-id: https://develop.svn.wordpress.org/trunk@14382 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:01:43 +00:00
Andrew Nacin 9eabb51000 Deprecate checkdnsrr from is_email. Unused in core, and wonky on some server setups (Mac OS X < PHP 5.3 specifically). A plugin can always add it back. props technosailor, fixes #12503.
git-svn-id: https://develop.svn.wordpress.org/trunk@14381 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:54:37 +00:00
Ron Rennick 2c1b847219 only use domain cookies in a subdomain install, see #12142
git-svn-id: https://develop.svn.wordpress.org/trunk@14380 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:53:05 +00:00
Dion Hulse fc796b8105 Add reset background image to theme default. Props lancewillett. See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@14379 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:52:38 +00:00
Nikolay Bachiyski e9acc6d0b6 Take out the leading space from the translatable string
git-svn-id: https://develop.svn.wordpress.org/trunk@14378 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:48:33 +00:00
Dion Hulse 54c97bf8d1 Fix ZIP_ER_OK constant, Its a class constant, and only accessible as such under PHP5. Props sivel for noticing. Fixes #12637
git-svn-id: https://develop.svn.wordpress.org/trunk@14377 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:44:34 +00:00
Ryan Boren a45b583463 RTL fixes. Props yoavf. see #13233
git-svn-id: https://develop.svn.wordpress.org/trunk@14376 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:33:49 +00:00
Ryan Boren a51d50ad9c RTL fixes. Props yoavf. see #13233
git-svn-id: https://develop.svn.wordpress.org/trunk@14375 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:20:30 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Andrew Nacin 80043f2232 Sliding tabs for the nav menu admin UI. second pass. props koopersmith, see #13215.
git-svn-id: https://develop.svn.wordpress.org/trunk@14373 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 16:59:51 +00:00
Peter Westwood e20e62c135 Fix the edit post link to cope with the change in behaviour of admin_url to always escape the url. See #13051.
git-svn-id: https://develop.svn.wordpress.org/trunk@14372 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 13:56:35 +00:00
Peter Westwood cb10f6b4ae Move theme_update_available out of the admin page and into the admin includes.
git-svn-id: https://develop.svn.wordpress.org/trunk@14371 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 13:29:15 +00:00