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
|
4330e2578b
|
Go to first tab instead of + after deleting a menu. see #13338
git-svn-id: https://develop.svn.wordpress.org/trunk@14601 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 17:22:02 +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
|
580e82b661
|
Limit initial menu meta boxes only if option is not set. Props ocean90. fixes #13359
git-svn-id: https://develop.svn.wordpress.org/trunk@14598 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 16:21:21 +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
|
a56d439b4d
|
Change is_multisite check for hiding a term slug on edit-tags.php to checking for global terms.
git-svn-id: https://develop.svn.wordpress.org/trunk@14594 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 04:12:57 +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 |
|
Ryan Boren
|
df2498e980
|
Fix bulk editing of non-hierarchical taxonomies. Props prettyboymp. fixes #13153
git-svn-id: https://develop.svn.wordpress.org/trunk@14580 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 19:12:18 +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
|
6ecfb58997
|
Remove only the background image, not all theme mods, when resetting the background to the default. Props ocean90. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@14578 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 16:18:25 +00:00 |
|
Ryan Boren
|
d43d37baa9
|
Remove redundant CSS, lighten up border on background preview, change labels for background preview. Props johnonolan. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@14577 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 16:03:49 +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 |
|
Ron Rennick
|
b63a461cc6
|
signup cleanup, props ocean90, fixes #13087
git-svn-id: https://develop.svn.wordpress.org/trunk@14575 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 00:45:01 +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 |
|
Andrew Nacin
|
22ce2c36c4
|
Remove unused global. props lloydbudd, fixes #13356.
git-svn-id: https://develop.svn.wordpress.org/trunk@14572 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 20:02:49 +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
|
6aa60bf619
|
Use get_users_of_blog in MT importer to be MS and shared user table friendly. props lloydbudd, fixes #13356.
git-svn-id: https://develop.svn.wordpress.org/trunk@14570 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 19:19:59 +00:00 |
|
Ryan Boren
|
511e11006c
|
Don't wp_count_terms(). Just count the results returned from get_terms(), which has to run anyway. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14569 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 18:55:12 +00:00 |
|
Ryan Boren
|
73d2946dfa
|
Don't update term or meta cache for posts queried in wp_nav_menu_item_post_type_meta_box(). see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14568 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 18:43:12 +00:00 |
|
Ryan Boren
|
411f09b811
|
No need to recount. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14567 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 18:38:51 +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
|
7be65b3730
|
Defer term counting until all nav menu items are updated. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14562 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 16:41:23 +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 |
|