ryan
|
bc596e1533
|
Fix showing selected for none. Props johnbillion. fixes #13468
git-svn-id: http://svn.automattic.com/wordpress/trunk@14779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-21 14:35:39 +00:00 |
|
dd32
|
bde0019142
|
Clone Objects in add_option()/update_option() to prevent storing PHP5 object references in memory cache. See [9740]. Fixes #13480
git-svn-id: http://svn.automattic.com/wordpress/trunk@14777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-21 14:15:59 +00:00 |
|
nacin
|
79f077c6f6
|
Custom background UI updates. Add padding to radio buttons, also convert repeat/title to radio buttons. props JohnONolan, see #12186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-21 03:31:35 +00:00 |
|
nacin
|
870f3ab1c8
|
New screen options tab design. props JohnONolan, fixes #13477.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-21 03:20:25 +00:00 |
|
nacin
|
49437c3491
|
Fix nav menu locations sorting. props jorbin, koopersmith with assists. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-20 22:43:14 +00:00 |
|
westi
|
f268a16a8b
|
First pass of conversion of theme-compat to the I18N version of the files. See #12425
git-svn-id: http://svn.automattic.com/wordpress/trunk@14771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-20 21:53:11 +00:00 |
|
nacin
|
acf5d97586
|
Shake away old files during the upgrade process. see #13307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-20 21:44:33 +00:00 |
|
westi
|
82f53de54b
|
bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@14769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-20 21:43:18 +00:00 |
|
westi
|
e8b8361ffe
|
Attempt to make stripslashes_deep object safe. See #12860
git-svn-id: http://svn.automattic.com/wordpress/trunk@14766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-20 21:16:44 +00:00 |
|
nacin
|
3f443689ed
|
Remove non-gzipped version of tinymce. Brace for impact. props azaozz. see #13307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-20 21:05:16 +00:00 |
|
nacin
|
337df6e337
|
Remove AYS for deleting a menu item. fixes #13330.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-20 14:55:11 +00:00 |
|
nacin
|
8475725f54
|
Context and translator comments for revisions column names. props dimadin, fixes #13434.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-19 19:20:22 +00:00 |
|
ryan
|
f1f5f4f8f7
|
Order menu tabs by name. Allow passing args to wp_get_nav_menus() which are passed on to get_terms(). Default orderby for wo_get_nav_menus() to none since most requests won't care about order. fixes #13334
git-svn-id: http://svn.automattic.com/wordpress/trunk@14751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-19 18:52:37 +00:00 |
|
ryan
|
b5619ffd0c
|
Fix pages setup in setup_postdata(). Props misterbisson. fixes #12651
git-svn-id: http://svn.automattic.com/wordpress/trunk@14750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-19 18:39:48 +00:00 |
|
ryan
|
caf573b721
|
Fix viewing autosave revision for custom post types. Props duck_. fixes #13110
git-svn-id: http://svn.automattic.com/wordpress/trunk@14749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-19 18:36:52 +00:00 |
|
westi
|
b5b2fd3c8f
|
Mark the ULs containing child pages in the page Walker. Fixes #13254 props GDragoN.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-19 17:24:28 +00:00 |
|
ryan
|
e7f50f9bfe
|
Add docs for ->insert_id. Props scribu. fixes #13439
git-svn-id: http://svn.automattic.com/wordpress/trunk@14745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-19 16:07:42 +00:00 |
|
markjaquith
|
31dd323f01
|
Add AYS notice on unsaved menu changes. see #12472
git-svn-id: http://svn.automattic.com/wordpress/trunk@14741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-19 09:56:02 +00:00 |
|
markjaquith
|
1ba9fe08af
|
Add missing border to media upload frame. fixes #13430. props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@14739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-19 07:03:24 +00:00 |
|
markjaquith
|
20cb3ed21b
|
Add nonce protection for setting/removing featured post image. fixes #13438
git-svn-id: http://svn.automattic.com/wordpress/trunk@14730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-18 22:08:49 +00:00 |
|
ryan
|
af59c18f45
|
Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@14729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-18 20:14:03 +00:00 |
|
ryan
|
d9da871cbd
|
Remove interface.js. Unmaintained, doesn't work with jQuery 1.3, old, crusty, starting to smell like Miss Havisham's cake. fixes #13442
git-svn-id: http://svn.automattic.com/wordpress/trunk@14728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-18 18:34:36 +00:00 |
|
ryan
|
e070242b59
|
Remove old metaboxorder settings. see #13424
git-svn-id: http://svn.automattic.com/wordpress/trunk@14726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-18 15:30:05 +00:00 |
|
ryan
|
bc1bf148e4
|
Add nonce to menu-locations-save. Props koopersmith. see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-18 15:16:58 +00:00 |
|
nacin
|
77a67b3fed
|
Inline docs for menu location functions. props jorbin, see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-18 05:59:25 +00:00 |
|
nacin
|
c370c84d19
|
Remove autocomplete and codepress. for autocomplete, see #13283. for codepress, see #13307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-18 03:48:22 +00:00 |
|
nacin
|
f02fddce86
|
Save menu locations meta box via ajax. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-17 23:58:56 +00:00 |
|
ryan
|
f0076eed1c
|
Set show_ui to true for post and page. Exclude _builtin = true from areas where we need to special case builtin types. fixes #13403
git-svn-id: http://svn.automattic.com/wordpress/trunk@14713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-17 16:39:36 +00:00 |
|
ryan
|
72d07941c7
|
Update _fill_many_users() phpdoc. Props miqrogroove. see #13319
git-svn-id: http://svn.automattic.com/wordpress/trunk@14712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-17 16:23:35 +00:00 |
|
ryan
|
8f777718c9
|
Introduce get_term_feed_link(). Use it in wp_list_categories(). Props blepoxp. see #13058
git-svn-id: http://svn.automattic.com/wordpress/trunk@14711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-17 16:21:12 +00:00 |
|
wpmuguru
|
9fb13d2cba
|
use network_home_url in get_blogaddress_by_name, see #12735
git-svn-id: http://svn.automattic.com/wordpress/trunk@14703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-16 22:21:06 +00:00 |
|
wpmuguru
|
021179162a
|
improvements to get_home/site_url, props andreasnrb + code cleanup, see #12735
git-svn-id: http://svn.automattic.com/wordpress/trunk@14702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-16 21:58:31 +00:00 |
|
westi
|
01389755c7
|
Make get_attachment_metadata() loop safe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-16 21:00:00 +00:00 |
|
westi
|
746846da5b
|
Bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@14697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-16 20:48:09 +00:00 |
|
westi
|
ba0ff79ca9
|
Switch to checking on tt_ids for the category lookup to ensure in_array call is PHP4 compatible. See #13410
git-svn-id: http://svn.automattic.com/wordpress/trunk@14696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-16 20:47:18 +00:00 |
|
westi
|
6881380fc0
|
Don't return data for user 1 when passed in junk like an array. See #13317.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-16 20:34:02 +00:00 |
|
westi
|
3a3cce834a
|
Fix remaining notice when using closures. Fixes #10493 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-16 13:41:02 +00:00 |
|
westi
|
86cb0aa6b9
|
Fix notices/usage of closures as action/filter handlers. Fixes #10493 based on patch from scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-16 08:10:39 +00:00 |
|
nacin
|
249a6cdd18
|
Use p instead of definition list for allowed tags in comment_form(). props demetris. Style the new markup in Twenty Ten. see #10910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-16 06:38:58 +00:00 |
|
nacin
|
2f7f75511b
|
Clarify that link_before and link_after text for wp_list_pages also applies to the current page which doesn't actually have a link. fixes #12247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-16 06:11:43 +00:00 |
|
nacin
|
6c01265794
|
First pass at fixing search for add menu item boxes. props koopersmith, see #13283.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-16 05:39:53 +00:00 |
|
nacin
|
d6e2ef4dbf
|
Custom background UI updates. props ocean90 for initial patch, see #12186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-16 05:17:57 +00:00 |
|
wpmuguru
|
be5268eefc
|
show upload limit in media upload UI, see #12853
git-svn-id: http://svn.automattic.com/wordpress/trunk@14682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 23:57:32 +00:00 |
|
wpmuguru
|
23667bf07e
|
don't check upload_path in upgraded MU install, see #12549
git-svn-id: http://svn.automattic.com/wordpress/trunk@14680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 21:53:18 +00:00 |
|
nacin
|
7202c8c0b0
|
Don't show unapproved comments in comments widget. props jshreve, fixes #10615.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 21:44:12 +00:00 |
|
westi
|
1664674948
|
Don't trim whitespace from sections of the response in IXR_Client. Fixes #12559 props apeatling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 21:04:26 +00:00 |
|
westi
|
c0e3fe47bc
|
Bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@14676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 20:59:02 +00:00 |
|
nacin
|
051c2814da
|
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: http://svn.automattic.com/wordpress/trunk@14673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 20:36:49 +00:00 |
|
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 |
|
nacin
|
0961da9244
|
Whitespace and standards in get_userdata. fixes #13317.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-12 18:59:03 +00:00 |
|
ryan
|
01955d3402
|
Bumpity bump bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@14576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-12 15:24:31 +00:00 |
|
nacin
|
76c50d8fab
|
Allow for multiple classes and XFN relationships in menu items.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 23:58:26 +00:00 |
|
ryan
|
4437612d46
|
Setup user globals for user id 0. Props mdawaffe. fixes #13362
git-svn-id: http://svn.automattic.com/wordpress/trunk@14573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 23:02:40 +00:00 |
|
nbachiyski
|
46afe7c285
|
I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: http://svn.automattic.com/wordpress/trunk@14571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 19:52:50 +00:00 |
|
nacin
|
918d0832bb
|
Bump the version alot.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 18:34:20 +00:00 |
|
nacin
|
b0eb3033ba
|
Remove apparent debug cruft committed in [14401]. fixes #13355
git-svn-id: http://svn.automattic.com/wordpress/trunk@14565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 18:28:12 +00:00 |
|
ryan
|
b2150816f8
|
Don't update meta data when the new value matches the old value. fixes #13350
git-svn-id: http://svn.automattic.com/wordpress/trunk@14564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 17:35:07 +00:00 |
|
ryan
|
98b2e56753
|
Don't order term count queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 16:50:25 +00:00 |
|
ryan
|
c7f520240c
|
Don't set/get tags or categories for post types that do not support them. fixes #13346
git-svn-id: http://svn.automattic.com/wordpress/trunk@14561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 16:28:00 +00:00 |
|
ryan
|
02058305b5
|
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: http://svn.automattic.com/wordpress/trunk@14560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 15:55:17 +00:00 |
|
ryan
|
2b930efb74
|
Unset some vars when done with them to reduce peak memory usage. see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 14:39:00 +00:00 |
|
ryan
|
a491596163
|
No need to setup the nav menu items again. wp_get_nav_menu_items() handles it. see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 14:25:10 +00:00 |
|
ryan
|
69d0ec946e
|
Reduce number of queries in wp_get_nav_menu_items() by fetching posts and terms with batch queries. see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 14:21:03 +00:00 |
|
ryan
|
5c48b8b015
|
Force reauth when auth_redirect() redirects to login. see #12142
git-svn-id: http://svn.automattic.com/wordpress/trunk@14556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 13:44:40 +00:00 |
|
westi
|
4293dc03db
|
Kick the version up some more.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-10 21:13:35 +00:00 |
|
nacin
|
4e6574f0ac
|
Revert patch for expecting unslashed data in the metadata API. Had snuck in with [14546]. see #12416.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-10 20:51:58 +00:00 |
|
nacin
|
d91623d3d0
|
Fix double-tabbing in get_dropins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-10 20:41:14 +00:00 |
|
nacin
|
021bb7d9cc
|
Use correct field name in a query in do_enclose(). fixes #12074, mtdewvirus.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-10 09:02:15 +00:00 |
|
nacin
|
a03dfef3fd
|
Fix typos in phpdoc for comment_form(). props demetris, fixes #10910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-10 08:47:13 +00:00 |
|
nacin
|
e88d9914de
|
Remove unused global var. props filosofo, fixes #13316.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-10 06:06:37 +00:00 |
|
nacin
|
8bd2d0505b
|
Some sortable improvements in the nav menu UI. props koopersmith, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-10 04:51:57 +00:00 |
|
ryan
|
0c99110a58
|
Don't call wp_get_nav_menu_items() twice.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-10 01:11:04 +00:00 |
|
ryan
|
66502fba1a
|
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: http://svn.automattic.com/wordpress/trunk@14528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-10 00:58:39 +00:00 |
|
nacin
|
616bc49e04
|
Remove codepress dir. see #13307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-09 22:53:25 +00:00 |
|
westi
|
75482afd7e
|
Bump Bump Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-09 20:54:12 +00:00 |
|
markjaquith
|
d78b3c9f92
|
Omit extraneous argument. props coffee2code. fixes #10057
git-svn-id: http://svn.automattic.com/wordpress/trunk@14522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-09 07:22:10 +00:00 |
|
nacin
|
2eab801eec
|
Simplify is_post_type and is_post_type_hierarchical. Make them work like their taxonomy counterparts. see #12588.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-08 22:10:28 +00:00 |
|
nacin
|
444f8cc6c4
|
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: http://svn.automattic.com/wordpress/trunk@14520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-08 21:56:53 +00:00 |
|
westi
|
3d610ad782
|
Bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@14519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-08 21:16:17 +00:00 |
|
nacin
|
4deb7b8b48
|
Don't use WP_SITEURL and WP_HOME in multisite. fixes #13191.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-08 19:31:42 +00:00 |
|
wpmuguru
|
54222465f0
|
consistency & simplicity in get_option(), see #12140
git-svn-id: http://svn.automattic.com/wordpress/trunk@14515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-08 18:05:16 +00:00 |
|
wpmuguru
|
d1a55c286d
|
add upload dir support to switch to blog, props ocean90, see #11998
git-svn-id: http://svn.automattic.com/wordpress/trunk@14510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-07 22:50:05 +00:00 |
|
westi
|
26a15c00c3
|
I like alot of version numbers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-07 21:07:19 +00:00 |
|
westi
|
5ac646d37d
|
Restore the strtotime(). See #9285.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-07 20:57:23 +00:00 |
|
nacin
|
2bf6d14767
|
Allow duplicate emails (generally empty) if WP_IMPORTING to restore 2.9 behavior. props blepoxp, yoavf. fixes #13130. see r12778.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-07 20:35:04 +00:00 |
|
westi
|
73a3f58148
|
Don't cache option values while installing. See #12140.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-07 18:32:20 +00:00 |
|
nacin
|
8d7445c3e8
|
Fix start of week and SQL WEEK handling. props mdawaffe, fixes #10397.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-07 05:01:29 +00:00 |
|
nacin
|
1c05c2f6e2
|
Fix to is_post_type. props scribu, fixes #12588.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-07 04:57:23 +00:00 |
|
nacin
|
d8e2d6d4a9
|
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: http://svn.automattic.com/wordpress/trunk@14495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-07 03:24:47 +00:00 |
|
westi
|
c24de5caf8
|
Make wp_get_shortlink() loop friendly. Fixes #13212 props ryan.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-06 21:20:17 +00:00 |
|
westi
|
6631dd331b
|
Bump the rev some more for the next nightly
git-svn-id: http://svn.automattic.com/wordpress/trunk@14489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-06 21:09:54 +00:00 |
|
westi
|
eda3a209e0
|
Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@14488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-06 20:54:05 +00:00 |
|
westi
|
390a40981f
|
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: http://svn.automattic.com/wordpress/trunk@14487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-06 20:40:29 +00:00 |
|
nacin
|
e333d5fc61
|
Use wp_cache_set instead of wp_cache_add in recent posts and archives widgets. props Denis-de-Bernardy, fixes #11580.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-06 20:40:10 +00:00 |
|
nacin
|
fa23d1edf0
|
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: http://svn.automattic.com/wordpress/trunk@14485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-06 19:53:40 +00:00 |
|
westi
|
2b9d0dad68
|
Pass extra context to wpmu_new_blog.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-06 19:36:20 +00:00 |
|
westi
|
62141ab55f
|
Make the recent comments widget use the get_comments() api and cache the result. Fixes #10615 props filosofo and blepoxp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-06 19:31:45 +00:00 |
|
nacin
|
6e33a3ec34
|
Small fix to r14479. see #13109.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-06 18:16:39 +00:00 |
|
nacin
|
90a0883b12
|
Allow get_object_taxonomies to return taxonomy objects. props scribu, fixes #13109.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-06 18:07:50 +00:00 |
|
nacin
|
6c69044070
|
Prevent ambiguous table aliases in wp_post_mime_type_where. props stephdau, jfarthing84, fixes #12750.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-06 18:03:05 +00:00 |
|
nacin
|
40da0a5720
|
Remove duplicated query var. props lriggle, fixes #13280.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-06 17:49:54 +00:00 |
|