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
|
25dcb020af
|
Add wp_edit_nav_menu_walker filter for specifying a custom edit nav menu walker. Props filosofo. fixes #13342
git-svn-id: http://svn.automattic.com/wordpress/trunk@14645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 20:06:50 +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 |
|
ryan
|
c4aca99445
|
Don't allow previewing auto-draft. Props duck_. fixes #12859
git-svn-id: http://svn.automattic.com/wordpress/trunk@14643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 18:30:43 +00:00 |
|
ryan
|
23e3b38d4f
|
Show page template dropdown only for pages and not for other post types. Props greenshady. fixes #12759
git-svn-id: http://svn.automattic.com/wordpress/trunk@14642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 18:20:04 +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 |
|
westi
|
867628913e
|
Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 16:45:14 +00:00 |
|
westi
|
e5fa82c152
|
Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 16:39:56 +00:00 |
|
westi
|
7d40d97601
|
Remove unnecessary filters and provide for translation context instead. Fixes #13393.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 16:12:46 +00:00 |
|
westi
|
82a12075bf
|
Only show the column preferences if we have columns. See #13393 props duck_.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 15:49:20 +00:00 |
|
westi
|
30128f636e
|
Add phpDoc for convert_to_screen() and get_column_headers().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 15:47:14 +00:00 |
|
nacin
|
518b19a404
|
esc_url the URL from get_upload_iframe_src. props jshreve, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 15:03:59 +00:00 |
|
nacin
|
c13744a051
|
Valid HTML in ms-users and ms-sites. props Utkarsh, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 15:03:23 +00:00 |
|
nacin
|
d12cdce1b0
|
Only show published items of custom post types in nav menu meta boxes. props duck_, fixes #13390.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 13:12:45 +00:00 |
|
nacin
|
e01bcf8d2e
|
Close wrapper div when ending network_step1 with a warning. props Caspie, fixes #13389.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 12:34:48 +00:00 |
|
potbot
|
0f2f5f276b
|
POT, generated from r14627
git-svn-id: http://svn.automattic.com/wordpress/trunk@14629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 08:21:12 +00:00 |
|
nacin
|
cb0a9024ad
|
Ensure validation. props Utkarsh, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 08:20:06 +00:00 |
|
nacin
|
5478a0a538
|
Align default items shown in edit.php. props ocean90, fixes #13312.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 08:11:22 +00:00 |
|
nacin
|
85655c586f
|
Ensure validation. props Utkarsh, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 08:07:01 +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
|
c5c6244c50
|
Use inline styles in custom background admin, and prepopulate background options. props jshreve, see #12186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 06:48:47 +00:00 |
|
nacin
|
f00bc39c20
|
If theme has registered menus, set the first menu created to the first registered location by default. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 06:44:54 +00:00 |
|
nacin
|
c3d2c8ff79
|
Remove trailing space from a localized string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 06:38:01 +00:00 |
|
nacin
|
c5d2cdc52d
|
Only show Theme Locations meta box if menus exist and if the theme has registered menus. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 06:35:57 +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
|
7bd274899d
|
Append closing td/tr to output instead of directly echoing it. props jshreve, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 01:54:21 +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
|
6d590a567b
|
Use 'Posts', 'Pages', and corresponding custom post type names as the edit.php title. fixes #12968, fixes #11274.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 01:45:30 +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 |
|
potbot
|
f06b9dbcf6
|
POT, generated from r14612
git-svn-id: http://svn.automattic.com/wordpress/trunk@14613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-14 00:21:45 +00:00 |
|
ryan
|
ed425661e9
|
Remove 'slots' from menu tabs. Going a different direction. see #14611
git-svn-id: http://svn.automattic.com/wordpress/trunk@14612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 22:57:42 +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
|
50b197cf94
|
Fix the default password nag clearer to work when an admin sets someone elses password away from the default. Fixes #12334.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 21:08:01 +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
|
e4ca88c1e8
|
Go to first tab instead of + after deleting a menu. see #13338
git-svn-id: http://svn.automattic.com/wordpress/trunk@14601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 17:22:02 +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 |
|