Peter Westwood
|
6979d55fbe
|
Don't trim whitespace from sections of the response in IXR_Client. Fixes #12559 props apeatling.
git-svn-id: https://develop.svn.wordpress.org/trunk@14677 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 21:04:26 +00:00 |
|
Peter Westwood
|
01b1ae4e39
|
Bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@14676 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 20:59:02 +00:00 |
|
Andrew Nacin
|
23d6bf302c
|
More validation fixes. Escape some preview=true URLs, also clean up tags in edit-attachment-rows. Slight CSS tweak to match presentation to the formerly invalid HTML. props zeo, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14673 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 20:36:49 +00:00 |
|
Andrew Nacin
|
317abe4473
|
Remove p tag from allowed nav menu container tags. Cannot validly contain block level elements. props Jorbin, fixes #13349.
git-svn-id: https://develop.svn.wordpress.org/trunk@14666 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 15:05:57 +00:00 |
|
Ryan Boren
|
14d8731a49
|
Don't update_post_caches if a persistent object cache is installed. fixes #12611
git-svn-id: https://develop.svn.wordpress.org/trunk@14665 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 15:00:53 +00:00 |
|
Ryan Boren
|
afc24755fc
|
autosave_update_post_ID() no longer needed. Fix button enable lag. Props duck_. fixes #13400
git-svn-id: https://develop.svn.wordpress.org/trunk@14663 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 14:03:46 +00:00 |
|
Mark Jaquith
|
cb34d30d8e
|
Update media upload window tabs CSS to support wrapping of tabs when they exceed the available width. props edward mindreantre. fixes #10242
git-svn-id: https://develop.svn.wordpress.org/trunk@14661 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 10:21:10 +00:00 |
|
Mark Jaquith
|
45dec2e4e8
|
Do not show dummy default category output when calling the_category on a post_type that does not support the category taxonomy (like pages). Fix TwentyTen theme to not display wrapping text if there are no categories. fixes #10333
git-svn-id: https://develop.svn.wordpress.org/trunk@14660 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 09:59:15 +00:00 |
|
Andrew Nacin
|
43c09c9587
|
Also return raw author name and URI from get_theme_data and get_themes. props blepoxp, fixes #12275.
git-svn-id: https://develop.svn.wordpress.org/trunk@14658 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 06:28:35 +00:00 |
|
Andrew Nacin
|
e6ae8c05e8
|
Always pass post ID, not post object, to the_title filter. Original the_title filter in get_the_title() uses ID only. props filosofo, fixes #12631.
git-svn-id: https://develop.svn.wordpress.org/trunk@14653 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 05:26:25 +00:00 |
|
Andrew Nacin
|
7d118a4628
|
Remove default_comment_status_pages setting from the options table. see #12991.
git-svn-id: https://develop.svn.wordpress.org/trunk@14651 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 05:01:04 +00:00 |
|
Andrew Nacin
|
f92765c934
|
Remove default_comment_status_pages setting. Reverts [14451], [14448] for 3.0. see #12991.
git-svn-id: https://develop.svn.wordpress.org/trunk@14650 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 04:56:56 +00:00 |
|
Andrew Nacin
|
5aa7280d6a
|
Introduce wp_check_filetype_and_ext() to handle mime/ext image comparisons and corrections for upload and sideload. props Viper007Bond, see #11946.
git-svn-id: https://develop.svn.wordpress.org/trunk@14649 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 04:47:03 +00:00 |
|
Ryan Boren
|
35cd94b58c
|
register_post_type phpdoc updates. Props michaelh. fixes #13398
git-svn-id: https://develop.svn.wordpress.org/trunk@14648 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 22:26:07 +00:00 |
|
Andrew Nacin
|
47136b319f
|
Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.
git-svn-id: https://develop.svn.wordpress.org/trunk@14647 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 21:46:25 +00:00 |
|
Peter Westwood
|
7d675404ca
|
Restore the correct behaviour of bloginfo('text_direction'). Fixes #13360. See #13206.
git-svn-id: https://develop.svn.wordpress.org/trunk@14646 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 21:22:14 +00:00 |
|
Ryan Boren
|
28f42b1b8b
|
Don't output empty title. Props mattwiebe, ptahdunbar. fixes #13240
git-svn-id: https://develop.svn.wordpress.org/trunk@14644 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 18:52:59 +00:00 |
|
Peter Westwood
|
4b3be4e693
|
Introduce __return_empty_array() and use it instead of create_function in the theme preview.
git-svn-id: https://develop.svn.wordpress.org/trunk@14641 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 16:55:26 +00:00 |
|
Peter Westwood
|
9b6d7bb63a
|
Bumpity Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@14640 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 16:48:29 +00:00 |
|
Peter Westwood
|
81b12ac87e
|
Introduce __return_zero() and use it instead of create_function in the login header.
Also add version info to __return_true and __return_false.
git-svn-id: https://develop.svn.wordpress.org/trunk@14639 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 16:46:53 +00:00 |
|
Andrew Nacin
|
1164a4276b
|
Use valid HTML in the theme editor. span instead of div inside an anchor. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14625 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 07:04:17 +00:00 |
|
Andrew Nacin
|
4db10bf0d7
|
First pass on 'Theme Locations' for navigation menus. Themes need to specify a location when calling wp_nav_menu and register locations in functions.php. Users then map menus to locations in the nav menu admin. Subject to review. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14620 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 06:20:30 +00:00 |
|
Nikolay Bachiyski
|
8a95987fad
|
Keep label as a quick way to set up a taxonomy/post type, without diving into the labels array. Deprecate singular_label while there. Props nacin. Fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14619 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 02:13:49 +00:00 |
|
Andrew Nacin
|
0d472228a2
|
Add closing tr tag to custom-background.php. Close paragraph tags in the recent comments and posts widget controls. props jshreve, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14617 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 01:50:46 +00:00 |
|
Andrew Nacin
|
ae2148a866
|
Only save menu item positions on save. Had implications for draft items otherwise. see #13337, props koopersmith.
git-svn-id: https://develop.svn.wordpress.org/trunk@14615 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 01:32:48 +00:00 |
|
Nikolay Bachiyski
|
599c19481e
|
I18n for custom taxonomies. Fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14614 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 00:34:04 +00:00 |
|
Ron Rennick
|
05b0578c06
|
add menu slots/theme_menus, props ryan, see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14611 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 22:14:54 +00:00 |
|
Andrew Nacin
|
98a20461dc
|
Check if HEADER_ constants are defined before continuing. props ocean90, fixes #13367.
git-svn-id: https://develop.svn.wordpress.org/trunk@14610 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 21:44:37 +00:00 |
|
Ron Rennick
|
ddcf72d638
|
block ms-files.php when not multisite, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@14609 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 21:40:42 +00:00 |
|
Peter Westwood
|
728b90a13b
|
Introduce wp_reset_postdata(). Use it to reset the post global for the current query_posts() call after using a loop with a new WP_Query object. Fixes #12320 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@14607 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 20:39:54 +00:00 |
|
Ryan Boren
|
e35fe8d6d9
|
get_term_by('id') -> get_term(). Add get_term filters to get_term_by.
git-svn-id: https://develop.svn.wordpress.org/trunk@14606 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 19:16:09 +00:00 |
|
Andrew Nacin
|
6e9e34fb52
|
More wp_navMore inline doc clarifications for wp_nav_menu. fixes #13370, props jorbin.
git-svn-id: https://develop.svn.wordpress.org/trunk@14605 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 19:07:08 +00:00 |
|
Andrew Nacin
|
96d6225aa1
|
More inline doc clarifications for wp_nav_menu. fixes #13370, props jorbin.
git-svn-id: https://develop.svn.wordpress.org/trunk@14604 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 18:47:35 +00:00 |
|
Peter Westwood
|
f782838830
|
Add commentary about the posts_search filter. See #10667.
git-svn-id: https://develop.svn.wordpress.org/trunk@14603 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 17:34:43 +00:00 |
|
Ryan Boren
|
3c7ca79f6e
|
Add show_in_nav_menus flag to post type registration. Props williamsba1. fixes #13144
git-svn-id: https://develop.svn.wordpress.org/trunk@14602 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 17:29:45 +00:00 |
|
Ryan Boren
|
e628d300b0
|
s/wp_get_nav_menu_item/walker_nav_menu_start_el/ to be more specific. Pass all start_el() args to the filter. Props tomtomp. fixes #13366
git-svn-id: https://develop.svn.wordpress.org/trunk@14600 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 16:44:12 +00:00 |
|
Ryan Boren
|
0a38355cce
|
Check for WP_Error. Props ptahdunbar. fixes #12949
git-svn-id: https://develop.svn.wordpress.org/trunk@14599 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 16:34:14 +00:00 |
|
Ryan Boren
|
c212288b6f
|
Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@14597 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 16:00:16 +00:00 |
|
Ryan Boren
|
84b91a7ede
|
Delete more bad screen options from usermeta. like_escape() blog prefix. fixes #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14596 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 15:59:17 +00:00 |
|
Ryan Boren
|
402b875b3d
|
Attempt canonical redirect only for public post types. Props solarissmoke. see #13125
git-svn-id: https://develop.svn.wordpress.org/trunk@14595 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 15:09:43 +00:00 |
|
Andrew Nacin
|
4f689c8309
|
Move taxonomy object properties for capabilities into a cap object. Capabilities can be specified via ['capabilities'] (an array keyed by the generic cap name) for register_taxonomy. fixes #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14593 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 04:10:17 +00:00 |
|
Andrew Nacin
|
39edf881e0
|
Allow wp_nav_menu_items filters to run on the backend as well. props NathanRice, fixes #13371.
git-svn-id: https://develop.svn.wordpress.org/trunk@14592 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 03:50:26 +00:00 |
|
Andrew Nacin
|
a523060469
|
Nav menu inline doc fixes. props NathanRice, fixes #13370.
git-svn-id: https://develop.svn.wordpress.org/trunk@14591 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 03:46:35 +00:00 |
|
Ryan Boren
|
6648182c8c
|
Don't pass a slug when creating anew menu. This prevents creating a menu whose slug matches a different term in another taxonomy. Props filosofo. fixes #13345
git-svn-id: https://develop.svn.wordpress.org/trunk@14590 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 21:23:29 +00:00 |
|
Andrew Nacin
|
7c0dcdca6b
|
Unset capabilities property when we're done. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14589 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 21:17:38 +00:00 |
|
Andrew Nacin
|
490a0a99cd
|
More typos. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14588 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 21:03:33 +00:00 |
|
Andrew Nacin
|
4a19ba4f0f
|
Fix typos. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14587 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 20:57:47 +00:00 |
|
Ryan Boren
|
686cd3b696
|
Pass menu id instead of name. Allows menus with commas in the name. Props filosofo. fixes #13368
git-svn-id: https://develop.svn.wordpress.org/trunk@14586 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 20:47:08 +00:00 |
|
Andrew Nacin
|
323342deec
|
Move post type object capabilities to a 'cap' object. Allow them to be initialized via the 'capabilities' key (an array) when registering support for the post type. Caps are now referred to by the name of the cap as if it was a post, i.e. ->cap->edit_post. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14585 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 20:45:18 +00:00 |
|
Andrew Nacin
|
4b6c5c65c6
|
Use correct cap check. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14584 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 19:39:30 +00:00 |
|
Andrew Nacin
|
6f8142acd3
|
Blue scheme for nav menu admin UI. props kpdesign, duck_. fixes #13190.
git-svn-id: https://develop.svn.wordpress.org/trunk@14583 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 19:31:11 +00:00 |
|
Andrew Nacin
|
a687ece1a8
|
Don't nest p tag inside the opening table tag in the new right now box. fixes IE display, and validation. fixes #12202, props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14582 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 19:29:35 +00:00 |
|
Andrew Nacin
|
49e4cad78c
|
Use the edit_theme_options capability. fixes #13290.
git-svn-id: https://develop.svn.wordpress.org/trunk@14581 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 19:19:57 +00:00 |
|
Andrew Nacin
|
3ad374984a
|
Whitespace and standards in get_userdata. fixes #13317.
git-svn-id: https://develop.svn.wordpress.org/trunk@14579 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 18:59:03 +00:00 |
|
Ryan Boren
|
9e8a9b7b2a
|
Bumpity bump bump
git-svn-id: https://develop.svn.wordpress.org/trunk@14576 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 15:24:31 +00:00 |
|
Andrew Nacin
|
92d97fad12
|
Allow for multiple classes and XFN relationships in menu items.
git-svn-id: https://develop.svn.wordpress.org/trunk@14574 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 23:58:26 +00:00 |
|
Ryan Boren
|
ee1bdf9c7a
|
Setup user globals for user id 0. Props mdawaffe. fixes #13362
git-svn-id: https://develop.svn.wordpress.org/trunk@14573 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 23:02:40 +00:00 |
|
Nikolay Bachiyski
|
ad3881470e
|
I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: https://develop.svn.wordpress.org/trunk@14571 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 19:52:50 +00:00 |
|
Andrew Nacin
|
691fc01761
|
Bump the version alot.
git-svn-id: https://develop.svn.wordpress.org/trunk@14566 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 18:34:20 +00:00 |
|
Andrew Nacin
|
d620c50f96
|
Remove apparent debug cruft committed in [14401]. fixes #13355
git-svn-id: https://develop.svn.wordpress.org/trunk@14565 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 18:28:12 +00:00 |
|
Ryan Boren
|
364194617a
|
Don't update meta data when the new value matches the old value. fixes #13350
git-svn-id: https://develop.svn.wordpress.org/trunk@14564 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 17:35:07 +00:00 |
|
Ryan Boren
|
0adf04d6db
|
Don't order term count queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@14563 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 16:50:25 +00:00 |
|
Ryan Boren
|
d5308265cd
|
Don't set/get tags or categories for post types that do not support them. fixes #13346
git-svn-id: https://develop.svn.wordpress.org/trunk@14561 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 16:28:00 +00:00 |
|
Ryan Boren
|
5d13bccc69
|
Don't prime menu item cache if a persistent cache is being used. Prime the menu item cache only on the first call to wp_get_nav_menu_items(). Avoids unneeded queries when wp_get_nav_menu_items() is called repeatedly. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14560 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 15:55:17 +00:00 |
|
Ryan Boren
|
b726ce95dc
|
Unset some vars when done with them to reduce peak memory usage. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14559 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 14:39:00 +00:00 |
|
Ryan Boren
|
c0e02a6677
|
No need to setup the nav menu items again. wp_get_nav_menu_items() handles it. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14558 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 14:25:10 +00:00 |
|
Ryan Boren
|
6588f852fa
|
Reduce number of queries in wp_get_nav_menu_items() by fetching posts and terms with batch queries. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14557 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 14:21:03 +00:00 |
|
Ryan Boren
|
dd9c60ef64
|
Force reauth when auth_redirect() redirects to login. see #12142
git-svn-id: https://develop.svn.wordpress.org/trunk@14556 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 13:44:40 +00:00 |
|
Peter Westwood
|
e8c4ed229f
|
Kick the version up some more.
git-svn-id: https://develop.svn.wordpress.org/trunk@14550 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 21:13:35 +00:00 |
|
Andrew Nacin
|
e98ddd7bd6
|
Revert patch for expecting unslashed data in the metadata API. Had snuck in with [14546]. see #12416.
git-svn-id: https://develop.svn.wordpress.org/trunk@14547 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 20:51:58 +00:00 |
|
Andrew Nacin
|
8235a24f35
|
Fix double-tabbing in get_dropins.
git-svn-id: https://develop.svn.wordpress.org/trunk@14546 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 20:41:14 +00:00 |
|
Andrew Nacin
|
5c149c17ae
|
Use correct field name in a query in do_enclose(). fixes #12074, mtdewvirus.
git-svn-id: https://develop.svn.wordpress.org/trunk@14539 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 09:02:15 +00:00 |
|
Andrew Nacin
|
384cd5a9d3
|
Fix typos in phpdoc for comment_form(). props demetris, fixes #10910.
git-svn-id: https://develop.svn.wordpress.org/trunk@14538 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 08:47:13 +00:00 |
|
Andrew Nacin
|
4b48de9c08
|
Remove unused global var. props filosofo, fixes #13316.
git-svn-id: https://develop.svn.wordpress.org/trunk@14536 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 06:06:37 +00:00 |
|
Andrew Nacin
|
3dd93e488b
|
Some sortable improvements in the nav menu UI. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14531 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 04:51:57 +00:00 |
|
Ryan Boren
|
581779a30d
|
Don't call wp_get_nav_menu_items() twice.
git-svn-id: https://develop.svn.wordpress.org/trunk@14529 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 01:11:04 +00:00 |
|
Ryan Boren
|
ee0b76261b
|
Allow turning off object_term and postmeta cache updates. Turn off object_term updates in the wp_get_nav_menu_items() get_posts() query to avoid useless taxonomy query.
git-svn-id: https://develop.svn.wordpress.org/trunk@14528 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 00:58:39 +00:00 |
|
Andrew Nacin
|
58837ee989
|
Remove codepress dir. see #13307.
git-svn-id: https://develop.svn.wordpress.org/trunk@14527 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-09 22:53:25 +00:00 |
|
Peter Westwood
|
14ea78ffa3
|
Bump Bump Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@14526 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-09 20:54:12 +00:00 |
|
Mark Jaquith
|
e69e6856e8
|
Omit extraneous argument. props coffee2code. fixes #10057
git-svn-id: https://develop.svn.wordpress.org/trunk@14522 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-09 07:22:10 +00:00 |
|
Andrew Nacin
|
fd9b4855e6
|
Simplify is_post_type and is_post_type_hierarchical. Make them work like their taxonomy counterparts. see #12588.
git-svn-id: https://develop.svn.wordpress.org/trunk@14521 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-08 22:10:28 +00:00 |
|
Andrew Nacin
|
7ea215494e
|
Allow menu items to be dropped on a parent item in addition to just being dragged to the right. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14520 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-08 21:56:53 +00:00 |
|
Peter Westwood
|
2e1947d51c
|
Bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@14519 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-08 21:16:17 +00:00 |
|
Andrew Nacin
|
f04386cca0
|
Don't use WP_SITEURL and WP_HOME in multisite. fixes #13191.
git-svn-id: https://develop.svn.wordpress.org/trunk@14517 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-08 19:31:42 +00:00 |
|
Ron Rennick
|
74a627a09d
|
consistency & simplicity in get_option(), see #12140
git-svn-id: https://develop.svn.wordpress.org/trunk@14515 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-08 18:05:16 +00:00 |
|
Ron Rennick
|
9d47e01b62
|
add upload dir support to switch to blog, props ocean90, see #11998
git-svn-id: https://develop.svn.wordpress.org/trunk@14510 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-07 22:50:05 +00:00 |
|
Peter Westwood
|
d670421940
|
I like alot of version numbers.
git-svn-id: https://develop.svn.wordpress.org/trunk@14508 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-07 21:07:19 +00:00 |
|
Peter Westwood
|
5b4e507d7d
|
Restore the strtotime(). See #9285.
git-svn-id: https://develop.svn.wordpress.org/trunk@14507 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-07 20:57:23 +00:00 |
|
Andrew Nacin
|
2bead5daeb
|
Allow duplicate emails (generally empty) if WP_IMPORTING to restore 2.9 behavior. props blepoxp, yoavf. fixes #13130. see r12778.
git-svn-id: https://develop.svn.wordpress.org/trunk@14504 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-07 20:35:04 +00:00 |
|
Peter Westwood
|
f5d0ab2f21
|
Don't cache option values while installing. See #12140.
git-svn-id: https://develop.svn.wordpress.org/trunk@14502 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-07 18:32:20 +00:00 |
|
Andrew Nacin
|
c100b80c20
|
Fix start of week and SQL WEEK handling. props mdawaffe, fixes #10397.
git-svn-id: https://develop.svn.wordpress.org/trunk@14499 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-07 05:01:29 +00:00 |
|
Andrew Nacin
|
ec9d233b8b
|
Fix to is_post_type. props scribu, fixes #12588.
git-svn-id: https://develop.svn.wordpress.org/trunk@14498 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-07 04:57:23 +00:00 |
|
Andrew Nacin
|
12985d307f
|
Standardize returned array keys when output = 'names'. Return numeric keys. Standardizes get_object_taxonomies with get_taxonomies, get_post_types, and get_post_stati. props scribu. fixes #13109.
git-svn-id: https://develop.svn.wordpress.org/trunk@14495 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-07 03:24:47 +00:00 |
|
Peter Westwood
|
85e9d665ee
|
Make wp_get_shortlink() loop friendly. Fixes #13212 props ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@14490 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 21:20:17 +00:00 |
|
Peter Westwood
|
8e2343b6ba
|
Bump the rev some more for the next nightly
git-svn-id: https://develop.svn.wordpress.org/trunk@14489 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 21:09:54 +00:00 |
|
Peter Westwood
|
db366b0732
|
Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@14488 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 20:54:05 +00:00 |
|
Peter Westwood
|
dacd1c5623
|
Improve cross DST future post publishing behaviour to try and publish at the correct time if we have PHP5 timezone support available to help. Fixes #9285 props technosailor.
git-svn-id: https://develop.svn.wordpress.org/trunk@14487 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 20:40:29 +00:00 |
|
Andrew Nacin
|
7fcb6fef4b
|
Use wp_cache_set instead of wp_cache_add in recent posts and archives widgets. props Denis-de-Bernardy, fixes #11580.
git-svn-id: https://develop.svn.wordpress.org/trunk@14486 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 20:40:10 +00:00 |
|
Andrew Nacin
|
910c8e8bc9
|
Remove WP_FALLBACK_THEME, use WP_DEFAULT_THEME instead. We now only fall back to the default theme if the theme is broken. Incomplete themes that need to inherit templates will inherit them from wp-includes/theme-compat -- this behavior is deprecated. fixes #12846.
git-svn-id: https://develop.svn.wordpress.org/trunk@14485 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 19:53:40 +00:00 |
|
Peter Westwood
|
51aa71c394
|
Pass extra context to wpmu_new_blog.
git-svn-id: https://develop.svn.wordpress.org/trunk@14484 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 19:36:20 +00:00 |
|
Peter Westwood
|
ebbb23e25b
|
Make the recent comments widget use the get_comments() api and cache the result. Fixes #10615 props filosofo and blepoxp.
git-svn-id: https://develop.svn.wordpress.org/trunk@14483 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 19:31:45 +00:00 |
|
Andrew Nacin
|
b6d274e817
|
Small fix to r14479. see #13109.
git-svn-id: https://develop.svn.wordpress.org/trunk@14480 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 18:16:39 +00:00 |
|
Andrew Nacin
|
934d7c5580
|
Allow get_object_taxonomies to return taxonomy objects. props scribu, fixes #13109.
git-svn-id: https://develop.svn.wordpress.org/trunk@14479 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 18:07:50 +00:00 |
|
Andrew Nacin
|
cba25aba7e
|
Prevent ambiguous table aliases in wp_post_mime_type_where. props stephdau, jfarthing84, fixes #12750.
git-svn-id: https://develop.svn.wordpress.org/trunk@14478 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 18:03:05 +00:00 |
|
Andrew Nacin
|
0b3e082d6e
|
Remove duplicated query var. props lriggle, fixes #13280.
git-svn-id: https://develop.svn.wordpress.org/trunk@14477 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 17:49:54 +00:00 |
|
Andrew Nacin
|
04919ebe8b
|
Adopt WP's general JS structure. Remove last of trailing commas. Remove dead code. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14475 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 17:11:52 +00:00 |
|
Andrew Nacin
|
8cf4e1051f
|
Remove trailing comma in common.js that IE is known to choke on. props ocean90, fixes #13260.
git-svn-id: https://develop.svn.wordpress.org/trunk@14472 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 14:13:31 +00:00 |
|
Andrew Nacin
|
465cce3e6a
|
Revert [14434] et al. Going back to checkboxes in the nav menus, holding drag-drop for future release. see #13247.
git-svn-id: https://develop.svn.wordpress.org/trunk@14471 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 14:09:10 +00:00 |
|
Andrew Nacin
|
971d337bd3
|
Consolidate nav menu item ajax. Other misc fixes. props koopersmith, see #13204.
git-svn-id: https://develop.svn.wordpress.org/trunk@14464 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-05 20:29:50 +00:00 |
|
Ron Rennick
|
e4fd58acb4
|
use same salts/keys across network, see #12142
git-svn-id: https://develop.svn.wordpress.org/trunk@14458 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 22:08:53 +00:00 |
|
Andrew Nacin
|
1ec3a58cd1
|
Check custom links, including a home link, against the current URL to see if we should add current-menu-item. props ptahdunbar, fixes #13213, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14457 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 22:01:56 +00:00 |
|
Nikolay Bachiyski
|
53e65714a1
|
Cast the result of glob(), because on some systems it returns false on empty result set. Props ipstenu, fixes #13252
git-svn-id: https://develop.svn.wordpress.org/trunk@14456 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 21:55:34 +00:00 |
|
Andrew Nacin
|
8d6694a68d
|
Revert part of r14429 as it broke HTTP in setup-config. Revisit when we decide to fully deprecate get_bloginfo(url). see #9008.
git-svn-id: https://develop.svn.wordpress.org/trunk@14455 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 21:41:45 +00:00 |
|
Andrew Nacin
|
42e9ce36fc
|
Deprecate VHOST in favor of a boolean, SUBDOMAIN_INSTALL. Core will keep VHOST defined for plugins' sake, but you should only define SUBDOMAIN_INSTALL. Throws a notice if VHOST is defined, and a warning if they somehow conflict. Sunrise can still handle them. fixes #11796.
git-svn-id: https://develop.svn.wordpress.org/trunk@14452 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 20:48:28 +00:00 |
|
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 |
|