Commit Graph

17255 Commits

Author SHA1 Message Date
Daryl Koopersmith d6f613fcd3 Help style refresh, part 1. A few elements left to add/tweak. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18866 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 18:19:49 +00:00
Andrew Ozz fefbcce590 Fix border radius for editor split-buttons, props trepmal, fixes #18839
git-svn-id: https://develop.svn.wordpress.org/trunk@18865 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 17:04:09 +00:00
Andrew Ozz d0d3855285 Add screen_options with contextual content, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18864 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 06:59:36 +00:00
Andrew Nacin da55be56a6 Add phpdoc for two WP_Screen methods. props jorbin, see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18863 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 00:04:30 +00:00
Andrew Ozz b59e63f01f Add phpdoc for the section title, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18862 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 22:22:33 +00:00
Andrew Ozz f928bc51eb Separate the tab title from the help section title, see #18690
git-svn-id: https://develop.svn.wordpress.org/trunk@18861 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 21:18:04 +00:00
Andrew Ozz 4f289db37a Change month dropdown display in date pickers to include month number, fixes #18838
git-svn-id: https://develop.svn.wordpress.org/trunk@18860 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 20:50:08 +00:00
Andrew Nacin 8bbc643454 Deprecate screen_meta(). see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18859 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 18:13:27 +00:00
Andrew Nacin f214ef7d99 Deprecate secreen_options(), screen_layout(). see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18858 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 18:07:41 +00:00
Andrew Nacin c0b2567366 Move all new WP_Screen properties to private. We should introduce getters. Correct legacy (and ideally read-only) properties to @access public. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18857 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 17:59:46 +00:00
Ryan Boren 3985ff6af3 Don't use wp_parse_args() on non associative array. Props SergeyBiryukov. see #18268
git-svn-id: https://develop.svn.wordpress.org/trunk@18856 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 15:54:52 +00:00
Jon Cave 46f95eb2de Use metadata API in do_all_pings() to delete post meta (cleaner, plays better with cache). Remove redundant query to retrieve meta_id. See #18196.
git-svn-id: https://develop.svn.wordpress.org/trunk@18855 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 08:38:33 +00:00
Daryl Koopersmith 206aa49499 Properly print per-page options. see #18690, [18853].
git-svn-id: https://develop.svn.wordpress.org/trunk@18854 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 03:21:36 +00:00
Daryl Koopersmith a5acbaa574 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18853 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:24:44 +00:00
Andrew Ozz 1aad45debc Fix unfiltered_html_comment nonce, props nacin, fixes #18319
git-svn-id: https://develop.svn.wordpress.org/trunk@18852 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:19:07 +00:00
Andrew Ozz 8c9d5285ac Toggle the pinkynails properly, props goto10, fixes #17212
git-svn-id: https://develop.svn.wordpress.org/trunk@18851 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:12:39 +00:00
Andrew Ozz 684727610f Prevent the uploader getting stuck when deleting the only image from the gallery, props ocean90, fixes #15118
git-svn-id: https://develop.svn.wordpress.org/trunk@18850 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 22:52:29 +00:00
Andrew Ozz 3a696e6995 Speed up the admin bar drop-downs a bit when using hoverIntent, props johnbillion, fixes #18299
git-svn-id: https://develop.svn.wordpress.org/trunk@18849 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 22:31:15 +00:00
Andrew Ozz 6840264a43 Fix thickbox (again!), props SergeyBiryukov, fixes #18796
git-svn-id: https://develop.svn.wordpress.org/trunk@18848 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 22:24:34 +00:00
Andrew Nacin c4d4799424 Initialize the post object in get_default_post_to_edit(). props tech163. fixes #18049.
git-svn-id: https://develop.svn.wordpress.org/trunk@18847 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 21:35:05 +00:00
Ryan Boren c3212d522e Avoid refetching a post in get_post() when passed a post object that has already been raw sanitized. Clean up sanitize loop. Props scribu. fixes #18822
git-svn-id: https://develop.svn.wordpress.org/trunk@18846 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 19:06:18 +00:00
Ryan Boren 2678fd4f60 Restore sorting by post_name in get_pages(). Props SergeyBiryukov. fixes #18805
git-svn-id: https://develop.svn.wordpress.org/trunk@18845 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 18:12:14 +00:00
Ryan Boren 0fb49c10e3 Consult the main query when determining whether to show the edit menu in the admin bar. This insulates the admin bar from query_posts() queries made by themes and plugins. Props SergeyBiryukov. fixes #16798
git-svn-id: https://develop.svn.wordpress.org/trunk@18844 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 18:07:14 +00:00
Mark Jaquith b587d4c2ac More consistent right-now/footer messages related to version and upgrades in multisite. propx SergeyBiryukov. fixes #15545
git-svn-id: https://develop.svn.wordpress.org/trunk@18843 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:31:52 +00:00
Ryan Boren 35130709a7 s/Settings/Network Settings/. Props wpmuguru. fixes #16027
git-svn-id: https://develop.svn.wordpress.org/trunk@18842 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:26:14 +00:00
Mark Jaquith a3bdf19206 Be more consistent with ERROR: messages. fixes #15887
git-svn-id: https://develop.svn.wordpress.org/trunk@18841 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:18:35 +00:00
Andrew Nacin 028a3ee8ec Allow 'id' to work in get_bookmarks(). Add link_notes even though such sorting is a bad idea. see #18068 for 3.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@18840 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:03:46 +00:00
Ryan Boren f1423b28e5 Make the dashboard screen (index.php) occupy the same menu index across all admins (site/network/user). Props wpmuguru. fixes #17751
git-svn-id: https://develop.svn.wordpress.org/trunk@18839 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 16:47:02 +00:00
Ryan Boren cff31ae5f5 Add name to list of allowed keys. Props MarcusPope. fixes #18638
git-svn-id: https://develop.svn.wordpress.org/trunk@18838 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 16:43:57 +00:00
Andrew Ozz e8fd0746c8 Fix editor detection when inserting image, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18837 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 16:00:11 +00:00
Ryan Boren 83551cc744 Pass the query object to _close_comments_for_old_posts() so that is_singular is checked for the proper query. Props kawauso. fixes #18109
git-svn-id: https://develop.svn.wordpress.org/trunk@18836 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 15:35:50 +00:00
Jon Cave 4219b8b03f Fix back compat issues with delete_postmeta and deleted_postmeta actions as these should be passed the meta ID. Fixes #18825.
git-svn-id: https://develop.svn.wordpress.org/trunk@18835 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 15:19:32 +00:00
Ryan Boren 805762af8f Deprecate wpmu_admin_redirect_add_updated_param() and wpmu_admin_do_redirect(). Props SergeyBiryukov. fixes #18619
git-svn-id: https://develop.svn.wordpress.org/trunk@18834 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 15:13:13 +00:00
Peter Westwood 2421e0ecc6 Fire an action when a post type or taxonomy is registered so plugins can react. Fixes #18802 props simonwheatley.
git-svn-id: https://develop.svn.wordpress.org/trunk@18833 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 09:53:35 +00:00
Andrew Nacin 5efcc6e8fc Compress and bump media.css. see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@18832 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 06:23:46 +00:00
Andrew Nacin 19d613fed2 Merge the four media buttons into one.
* Lots of red.
 * Removes the type_url_form_\$type filter, where \$type is audio, video, file, or image.
 * Replacement filter is a generic type_url_form_media filter for the new unified form.
 * Some functions have gone missing; they'll be restored and deprecated in a later pass.
see #17578.



git-svn-id: https://develop.svn.wordpress.org/trunk@18831 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 06:22:29 +00:00
Andrew Nacin a42d391108 Update Feedback support URL.
git-svn-id: https://develop.svn.wordpress.org/trunk@18830 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 05:26:40 +00:00
Andrew Ozz 242c897d96 Attempt to keep the textarea still while loading the editor, see #18820
git-svn-id: https://develop.svn.wordpress.org/trunk@18829 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 04:13:44 +00:00
Andrew Ozz cfc8bd3d53 Hide post title field in DFW if title is not supported by the current post type or missing, fixes $18568
git-svn-id: https://develop.svn.wordpress.org/trunk@18828 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:59:49 +00:00
Ryan Boren 4e081d3171 phpdoc typo and readability fixes. Props SergeyBiryukov. fixes #18560
git-svn-id: https://develop.svn.wordpress.org/trunk@18827 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:57:43 +00:00
Jon Cave 9f6d53a66f Introduce wp_allowed_protocols() for use in wp_kses() and esc_url(). See #18268.
This allows plugins to filter the list of protocols used for esc_url() too, and helps us keep the list of protocols in sync.


git-svn-id: https://develop.svn.wordpress.org/trunk@18826 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:33:51 +00:00
Jon Cave 55609b863e Automatically set 'compare' => 'IN' in WP_Meta_Query::get_sql() when the meta value is an array. Props ldebrouwer, SergeyBiryukov. Fixes #16829.
git-svn-id: https://develop.svn.wordpress.org/trunk@18825 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:10:56 +00:00
Mark Jaquith 76251c5287 Allow the text parameter in wp_trim_excerpt() to be omitted altogether, instead of requiring a blank string. props SergeyBiryukov. fixes #17492
git-svn-id: https://develop.svn.wordpress.org/trunk@18824 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:48:03 +00:00
Andrew Ozz b969d2ea80 Clean up remnants from having negative Post_IDs, props markjaquith, fixes #18235
git-svn-id: https://develop.svn.wordpress.org/trunk@18823 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:47:52 +00:00
Ryan Boren 25df5fe335 Disallow indexing wp-admin and wp-includes in robots.txt. Props SergeyBiryukov. fixes #18465
git-svn-id: https://develop.svn.wordpress.org/trunk@18822 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:47:04 +00:00
Ryan Boren 8e77c91883 * Move the old sidebars_widgets array upgrade code to wp-admin/includes/upgrade.php
* Avoid infinite loop with wp_get_sidebars_widgets()
* Remove two unneeded wp_get_sidebars_widgets() calls
* Remove unused $wp_registered_sidebars variable from wp_get_sidebars_widgets().
* Combine  a couple of !empty( $sidebars_widgets ) checks in retrieve_widgets()
Props SergeyBiryukov, lancewillett. fixes #17979 #18598


git-svn-id: https://develop.svn.wordpress.org/trunk@18821 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:41:22 +00:00
Andrew Nacin 0cd9b83b64 Cache internal linking nonce jQuery object. props mitchoyoshitaka. Update this nonce through autosave. fixes #18403.
git-svn-id: https://develop.svn.wordpress.org/trunk@18820 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:39:55 +00:00
Andrew Nacin eb00fdb5cb Don't split names across multiple lines on the credits page. props zeo, fixes #17940.
git-svn-id: https://develop.svn.wordpress.org/trunk@18819 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:28:29 +00:00
Andrew Nacin 106a94406e Add filter for the args into wp_dropdown_pages() in the page attributes box. Give the list_pages filter the context of the post object. fixes #8592 for 3.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@18818 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:21:15 +00:00
Andrew Nacin 4aee3254f3 Kill the tables in install.php. props andrewryno. see #16413.
git-svn-id: https://develop.svn.wordpress.org/trunk@18817 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 19:57:36 +00:00