Commit Graph

6587 Commits

Author SHA1 Message Date
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