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
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
potbot
02dab1b7d6
POT, generated from r14554
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14555 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 00:22:05 +00:00
Ron Rennick
b30b30b943
allow super admins to edit authors on all sites, props mtdewvirus, fixes #13270
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14554 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 22:46:35 +00:00
Ron Rennick
dddb4b9326
revert non-rewrite permalink settings to be compatible with 2.9, see 13106
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14553 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 22:06:27 +00:00
Nikolay Bachiyski
967ef93bc1
Do not cut the Tagged <tags> phrase in half. Fixes #13198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14552 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 21:24:32 +00:00
Mark Jaquith
9ccf5de9de
Handle manual saving of auto-drafts for Contributors without JavaScript. props jbsil. fixes #13133
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14551 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 21:21:42 +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
Peter Westwood
7154389cc0
Add ARIA landmark roles to TwentyTen. Fixes #13055 props demetris.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14549 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 21:10:12 +00:00
Peter Westwood
208fe21987
Ensure the nonce is available even if no media items exist or are un-attached. Fixes #13284 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14548 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:55:52 +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
81ec5c6d42
Apply [14540] to get_mu_plugins and get_dropins. fixes #13322 , props Miloslav.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14545 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:40:15 +00:00
Nikolay Bachiyski
ba41c965c8
Various twentyten i18n fixes. Props zeo, dimadin. Fixes #13198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14544 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:30:58 +00:00
potbot
6fc8e6b83f
POT, generated from r14542
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14543 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:22:01 +00:00
Nikolay Bachiyski
691bbab34d
Clean up loop i18n. Props zeo, see #13198
...
* Take out tags from strings
* Extract two common and complicatd strings into functions
* Whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14541 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 19:06:22 +00:00
Ryan Boren
eac401c171
Don't use closed dir handle. Props Miloslav. fixes #13322
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14540 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 16:06:46 +00:00