Commit Graph

6449 Commits

Author SHA1 Message Date
Andrew Nacin 6034c105d6 Non-JS menu ordering fixes, also parent handling fixes. props filosofo, fixes #13135, fixes #13249
git-svn-id: https://develop.svn.wordpress.org/trunk@14450 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 19:40:04 +00:00
Ron Rennick bdb89ac091 add default comment status setting for pages, props messenlehner, see #12991
git-svn-id: https://develop.svn.wordpress.org/trunk@14448 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 19:31:24 +00:00
Ron Rennick 3dea05d10c use reset vs offset 0, props scribu, see #13246
git-svn-id: https://develop.svn.wordpress.org/trunk@14447 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 18:41:38 +00:00
Dion Hulse 12196261a4 Handle $wp_query->query being a string in r14341. See #12391, #12047. Fixes #13241
git-svn-id: https://develop.svn.wordpress.org/trunk@14445 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 18:08:03 +00:00
Andrew Nacin 84578d128b Add trailing slash to some home_url() calls. props zeo, fixes #13245.
git-svn-id: https://develop.svn.wordpress.org/trunk@14443 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 17:13:11 +00:00
Ron Rennick 5ac6893996 add export property to post types, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14441 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 16:23:25 +00:00
Andrew Nacin 0593984cba Remove re-adding of filter. see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@14440 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 16:00:30 +00:00
Andrew Nacin 16d48e323b More menu improvements. Add link that adds a menu item to the home page, make empty menu dropzone slightly larger, limit selected items to the active tab. props koopersmith and ptahdunbar. see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14439 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 10:01:15 +00:00
Andrew Nacin a87ced35aa Add ability to drag objects from meta boxes and drop them into your menu. Includes multiple-select before dragging. Select all is todo. Checkboxes remain non-JS fallback. props koopersmith, see #13247.
git-svn-id: https://develop.svn.wordpress.org/trunk@14434 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 07:24:49 +00:00
Andrew Nacin 23ce2f4151 Clean up whitespace in status/PT/tax registration.
git-svn-id: https://develop.svn.wordpress.org/trunk@14432 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 06:13:28 +00:00
Dion Hulse a8feef50fc Remove accidental code. See #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@14431 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 05:48:08 +00:00
Andrew Nacin 3d3322c1d6 Revert accidental removal of parse_url(). see #9008, props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@14430 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 04:57:22 +00:00
Ron Rennick c2b89e7330 use homeurl(), props PeteMall, see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@14429 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 00:28:29 +00:00
Ryan Boren 56e95f24c5 Fix user validation feedback. Props sivel. fixes #13162
git-svn-id: https://develop.svn.wordpress.org/trunk@14428 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:46:42 +00:00
Dion Hulse 52cdae0385 Handle $_POST containing an empty term array, Fixes saving of deselecting all hierarchical terms. Fixes #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@14426 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:35:22 +00:00
Ron Rennick 01822efabb use filter vs action in 14420, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14421 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:58:04 +00:00
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
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
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
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
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 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
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
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 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 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
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
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
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 17008f920f Correctly mark things as private in the phpDoc
git-svn-id: https://develop.svn.wordpress.org/trunk@14370 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 13:27:15 +00:00
Andrew Nacin db59b8e7f9 First pass on sliding tabs for the nav menu admin UI. props koopersmith, see #13215.
git-svn-id: https://develop.svn.wordpress.org/trunk@14368 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 10:28:35 +00:00
Andrew Nacin 0af8cad0b2 Fix string in ms_not_installed().
git-svn-id: https://develop.svn.wordpress.org/trunk@14367 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 10:14:15 +00:00
Peter Westwood a1f53d258b Refactor the error messages and make them translatable.
git-svn-id: https://develop.svn.wordpress.org/trunk@14366 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 10:13:40 +00:00
Peter Westwood 473772f395 First pass of compatibility code for old themes which relied on using templates from the default theme without expressly identifying it as the parent theme.
Fixes #12425 and #13009.
The fallback to these template files is now depreceated and will be removed in a future version.


git-svn-id: https://develop.svn.wordpress.org/trunk@14365 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 09:57:24 +00:00
Andrew Nacin 8d02a0bee5 Fix notice in ms_not_installed().
git-svn-id: https://develop.svn.wordpress.org/trunk@14364 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 09:51:40 +00:00
Andrew Nacin 96fd06e10d Remove debug.
git-svn-id: https://develop.svn.wordpress.org/trunk@14363 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 07:12:26 +00:00
Andrew Nacin 7ce20b12cf Prevent fatal error when falling back to fsockopen in the setup-config.php key/salt HTTP request. fixes #13030.
git-svn-id: https://develop.svn.wordpress.org/trunk@14361 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 06:28:05 +00:00
Andrew Nacin d5e5ccdd72 Introduce is_rtl(). Use it in core. It only becomes defined when locale is loaded, so it's impossible to use it too early. Deprecate the get_bloginfo('text_direction') call. fixes #13206.
git-svn-id: https://develop.svn.wordpress.org/trunk@14360 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 05:49:19 +00:00
Dion Hulse 837a60cfdc Bump Manifest version number. See #13177
git-svn-id: https://develop.svn.wordpress.org/trunk@14357 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 00:48:40 +00:00
Dion Hulse 9f6f8fd12b Serve a canonical redirection for ?p=, ?page_id=, ?attachment_id= url's for incorrect post_types (ie. ?p=<page_id> will redirect to that page url). Fixes #13125
git-svn-id: https://develop.svn.wordpress.org/trunk@14355 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 00:37:11 +00:00
Andrew Nacin 92b561ca49 Tweaks for nav menu admin tabs with JS disabled. props koopersmith, see #13215
git-svn-id: https://develop.svn.wordpress.org/trunk@14353 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 23:51:43 +00:00