nacin
|
0f377dabc0
|
Remove p tag from allowed nav menu container tags. Cannot validly contain block level elements. props Jorbin, fixes #13349.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 15:05:57 +00:00 |
ryan
|
5a1f1bd685
|
Don't update_post_caches if a persistent object cache is installed. fixes #12611
git-svn-id: http://svn.automattic.com/wordpress/trunk@14665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 15:00:53 +00:00 |
ryan
|
7162ca097e
|
autosave_update_post_ID() no longer needed. Fix button enable lag. Props duck_. fixes #13400
git-svn-id: http://svn.automattic.com/wordpress/trunk@14663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 14:03:46 +00:00 |
markjaquith
|
eba281e281
|
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: http://svn.automattic.com/wordpress/trunk@14661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 10:21:10 +00:00 |
markjaquith
|
4ab768959d
|
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: http://svn.automattic.com/wordpress/trunk@14660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 09:59:15 +00:00 |
nacin
|
a2a0b6041b
|
Also return raw author name and URI from get_theme_data and get_themes. props blepoxp, fixes #12275.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 06:28:35 +00:00 |
nacin
|
b0910977a9
|
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: http://svn.automattic.com/wordpress/trunk@14653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 05:26:25 +00:00 |
nacin
|
00a291c71e
|
Remove default_comment_status_pages setting from the options table. see #12991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 05:01:04 +00:00 |
nacin
|
5463205114
|
Remove default_comment_status_pages setting. Reverts [14451], [14448] for 3.0. see #12991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 04:56:56 +00:00 |
nacin
|
7c8a77efa3
|
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: http://svn.automattic.com/wordpress/trunk@14649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 04:47:03 +00:00 |
ryan
|
4f88b4bf60
|
register_post_type phpdoc updates. Props michaelh. fixes #13398
git-svn-id: http://svn.automattic.com/wordpress/trunk@14648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 22:26:07 +00:00 |
nacin
|
c6d21e7fbb
|
Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 21:46:25 +00:00 |
westi
|
15f373629a
|
Restore the correct behaviour of bloginfo('text_direction'). Fixes #13360. See #13206.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 21:22:14 +00:00 |
ryan
|
d7ff950bb9
|
Don't output empty title. Props mattwiebe, ptahdunbar. fixes #13240
git-svn-id: http://svn.automattic.com/wordpress/trunk@14644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 18:52:59 +00:00 |
westi
|
83ae6a51ea
|
Introduce __return_empty_array() and use it instead of create_function in the theme preview.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 16:55:26 +00:00 |
westi
|
366d182843
|
Bumpity Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@14640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 16:48:29 +00:00 |
westi
|
9570dfc394
|
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: http://svn.automattic.com/wordpress/trunk@14639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 16:46:53 +00:00 |
nacin
|
37ce82fd24
|
Use valid HTML in the theme editor. span instead of div inside an anchor. props Utkarsh, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 07:04:17 +00:00 |
nacin
|
a743de0788
|
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: http://svn.automattic.com/wordpress/trunk@14620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 06:20:30 +00:00 |
nbachiyski
|
c1dea00b62
|
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: http://svn.automattic.com/wordpress/trunk@14619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 02:13:49 +00:00 |
nacin
|
ab0cf8d942
|
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: http://svn.automattic.com/wordpress/trunk@14617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 01:50:46 +00:00 |
nacin
|
3f796315da
|
Only save menu item positions on save. Had implications for draft items otherwise. see #13337, props koopersmith.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 01:32:48 +00:00 |
nbachiyski
|
4cf46b6d96
|
I18n for custom taxonomies. Fixes #13357
git-svn-id: http://svn.automattic.com/wordpress/trunk@14614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 00:34:04 +00:00 |
wpmuguru
|
21bef33fc6
|
add menu slots/theme_menus, props ryan, see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 22:14:54 +00:00 |
nacin
|
b38af2d56d
|
Check if HEADER_ constants are defined before continuing. props ocean90, fixes #13367.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 21:44:37 +00:00 |
wpmuguru
|
24f2415b80
|
block ms-files.php when not multisite, see #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@14609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 21:40:42 +00:00 |
westi
|
08fc51b214
|
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: http://svn.automattic.com/wordpress/trunk@14607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 20:39:54 +00:00 |
ryan
|
742db4bc22
|
get_term_by('id') -> get_term(). Add get_term filters to get_term_by.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 19:16:09 +00:00 |
nacin
|
ad1747134a
|
More wp_navMore inline doc clarifications for wp_nav_menu. fixes #13370, props jorbin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 19:07:08 +00:00 |
nacin
|
08b1d88ef2
|
More inline doc clarifications for wp_nav_menu. fixes #13370, props jorbin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 18:47:35 +00:00 |
westi
|
175c994615
|
Add commentary about the posts_search filter. See #10667.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 17:34:43 +00:00 |
ryan
|
067fc117cb
|
Add show_in_nav_menus flag to post type registration. Props williamsba1. fixes #13144
git-svn-id: http://svn.automattic.com/wordpress/trunk@14602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 17:29:45 +00:00 |
ryan
|
531feae685
|
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: http://svn.automattic.com/wordpress/trunk@14600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 16:44:12 +00:00 |
ryan
|
c53efdc053
|
Check for WP_Error. Props ptahdunbar. fixes #12949
git-svn-id: http://svn.automattic.com/wordpress/trunk@14599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 16:34:14 +00:00 |
ryan
|
cadfa0dbb0
|
Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@14597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 16:00:16 +00:00 |
ryan
|
0ce49ca934
|
Delete more bad screen options from usermeta. like_escape() blog prefix. fixes #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 15:59:17 +00:00 |
ryan
|
ef81c17d3e
|
Attempt canonical redirect only for public post types. Props solarissmoke. see #13125
git-svn-id: http://svn.automattic.com/wordpress/trunk@14595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 15:09:43 +00:00 |
nacin
|
af91e5264a
|
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: http://svn.automattic.com/wordpress/trunk@14593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 04:10:17 +00:00 |
nacin
|
c6572a1d16
|
Allow wp_nav_menu_items filters to run on the backend as well. props NathanRice, fixes #13371.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 03:50:26 +00:00 |
nacin
|
6a3d1484bf
|
Nav menu inline doc fixes. props NathanRice, fixes #13370.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 03:46:35 +00:00 |
ryan
|
7231cc8a56
|
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: http://svn.automattic.com/wordpress/trunk@14590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-12 21:23:29 +00:00 |
nacin
|
e15c230ffc
|
Unset capabilities property when we're done. see #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-12 21:17:38 +00:00 |
nacin
|
70f36f6c41
|
More typos. see #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-12 21:03:33 +00:00 |
nacin
|
1cb8b7d994
|
Fix typos. see #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-12 20:57:47 +00:00 |
ryan
|
ecb2ff033a
|
Pass menu id instead of name. Allows menus with commas in the name. Props filosofo. fixes #13368
git-svn-id: http://svn.automattic.com/wordpress/trunk@14586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-12 20:47:08 +00:00 |
nacin
|
7734a07cb2
|
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: http://svn.automattic.com/wordpress/trunk@14585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-12 20:45:18 +00:00 |
nacin
|
b2d3b7efa2
|
Use correct cap check. see #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-12 19:39:30 +00:00 |
nacin
|
3033d58856
|
Blue scheme for nav menu admin UI. props kpdesign, duck_. fixes #13190.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-12 19:31:11 +00:00 |
nacin
|
c779fdccf5
|
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: http://svn.automattic.com/wordpress/trunk@14582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-12 19:29:35 +00:00 |
nacin
|
7389ea41ea
|
Use the edit_theme_options capability. fixes #13290.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-12 19:19:57 +00:00 |