Commit Graph

715 Commits

Author SHA1 Message Date
Andrew Nacin 7121150930 Use get_current_screen() rather than a $current_screen global reference. Remove unused global reference. see #14886.
git-svn-id: https://develop.svn.wordpress.org/trunk@19047 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 18:01:33 +00:00
Jon Cave 939b085f54 Correct @param text ordering to put "Optional." in description, see r19019 and #18958. Also remove empty docblock tag.
git-svn-id: https://develop.svn.wordpress.org/trunk@19030 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 15:53:57 +00:00
Andrew Nacin c55e62a9ae Make $screen argument for add_meta_box() (previously $page) optional. see #18958.
git-svn-id: https://develop.svn.wordpress.org/trunk@19019 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 23:01:55 +00:00
Andrew Nacin b3b1b00cff Strip out the show_wp_pointer_admin_bar for now. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19015 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:52:14 +00:00
Ryan Boren 5914353c06 Update meta box functions to handle WP_Screen objects and pass objects instead of IDs to them in core files. Allow passing emptiness to get the current screen. see #18958
git-svn-id: https://develop.svn.wordpress.org/trunk@19013 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:43:02 +00:00
Andrew Ozz d1b8509e83 Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
git-svn-id: https://develop.svn.wordpress.org/trunk@18982 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 20:57:32 +00:00
Jon Cave d197a1d865 Fix notices in wp_iframe() and iframe_header() by referencing $wp_htmltag_class as a global. See r18975 and #18314.
git-svn-id: https://develop.svn.wordpress.org/trunk@18977 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 10:43:55 +00:00
Andrew Ozz 573a1813dc RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18975 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 07:33:01 +00:00
Daryl Koopersmith ed7c3fb655 Simplify pointer API with smarter positioning. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18969 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 03:33:46 +00:00
Andrew Nacin 1db90d21e0 Use AJAX request and usermeta rather than user settings for dismissing admin bar pointers. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18937 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:31:36 +00:00
Dion Hulse c91838bd7d Fix admin_body_class filter for Menu's and Widgets pages, Include the filter in Iframe's. Props SergeyBiryukov & johnbillion. Fixes #18853
git-svn-id: https://develop.svn.wordpress.org/trunk@18882 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 07:09:51 +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 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 c9c3eb7a6d Use WP_Editor when editing or replying to comments, props ocean90, remove vendor specific selectors from editor-buttons.css, fixes #18348, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18803 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 21:07:08 +00:00
Andrew Nacin 44724de2e8 Move WP_Screen and friends (15 functions) into admin/includes/screen.php. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18782 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:32:10 +00:00
Andrew Nacin 601a70fe8e And fix this variable. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@18781 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:15:57 +00:00
Andrew Nacin d5dee542e5 Use correct variable. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18780 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:11:46 +00:00
Daryl Koopersmith 0b3d90ee53 Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18779 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:03:38 +00:00
Andrew Ozz f465d0e766 Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18736 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 06:16:24 +00:00
Jon Cave 83f0e2c349 Add post formats to quick edit and bulk edit. Fixes #18083.
git-svn-id: https://develop.svn.wordpress.org/trunk@18722 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 17:02:58 +00:00
Andrew Nacin 29fca1ba49 Don't burden translators with a few strings we'll be changing.
git-svn-id: https://develop.svn.wordpress.org/trunk@18708 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:45:23 +00:00
Daryl Koopersmith 342180470d Add pointers feature, and pointer to admin bar, props nacin for PHP bits, see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18707 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:17:09 +00:00
Daryl Koopersmith e1038932b9 Admin bar UX improvements. First pass, see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@18683 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 05:01:54 +00:00
Jon Cave 60d321b14b Fix typos in documentation (wp-admin/). See #18560.
git-svn-id: https://develop.svn.wordpress.org/trunk@18632 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-03 14:18:10 +00:00
Andrew Ozz 77892dfba6 Improve auto column switching for post.php, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18607 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 22:55:39 +00:00
Andrew Ozz 2ae505d0c6 Auto column switching (post.php only for now), see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18581 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-22 19:41:11 +00:00
Andrew Ozz dde77fd41b Merge most admin css files, first run, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18577 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 03:46:43 +00:00
Andrew Ozz 9bcfc3da39 <!DOCTYPE html> for all, fixes #18202
git-svn-id: https://develop.svn.wordpress.org/trunk@18460 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 00:25:41 +00:00
Ryan Boren 6b5d8397b0 Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities. fixes #17850
git-svn-id: https://develop.svn.wordpress.org/trunk@18445 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-20 22:04:35 +00:00
Andrew Nacin bdf534021b Don't echo empty <h3>s if we don't pass a section title to add_settings_section(). see #18045.
git-svn-id: https://develop.svn.wordpress.org/trunk@18432 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-11 20:22:24 +00:00
Andrew Nacin fdbc800dcc Don't push dashboard_browser_nag into 'sorted' in do_meta_boxes. see #17781.
git-svn-id: https://develop.svn.wordpress.org/trunk@18320 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-18 15:05:46 +00:00
Andrew Nacin d75f27ab80 Anchor the Browse Happy dashboard widget to the top. Reverts [18295], [18296]. Fixes #17781, #17323.
git-svn-id: https://develop.svn.wordpress.org/trunk@18314 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-15 19:23:35 +00:00
Andrew Ozz afa3e61432 Always use curly brackets with foreach, see [18295]
git-svn-id: https://develop.svn.wordpress.org/trunk@18296 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 01:03:55 +00:00
Andrew Ozz 3ff031ae87 Make sure the browser nag in shown first on the dashboard no matter what! See #17323
git-svn-id: https://develop.svn.wordpress.org/trunk@18295 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 00:24:47 +00:00
Andrew Ozz e3a1054bef Add context to _e('Name'), props valentinas, fixes #16531
git-svn-id: https://develop.svn.wordpress.org/trunk@18247 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:13:26 +00:00
Ryan Boren 57b6c9aeda Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
git-svn-id: https://develop.svn.wordpress.org/trunk@17994 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:19:42 +00:00
Mark Jaquith b24303228b Prevent the browser-out-of-date dashboard nag from being minimized and hide minimization arrow. props aaroncampbell. fixes #17441. see #17323.
git-svn-id: https://develop.svn.wordpress.org/trunk@17952 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 17:06:04 +00:00
Andrew Ozz 8e3eb0a86b Allow plugins to disable screen options with filter, props yoavf, fixes #17187
git-svn-id: https://develop.svn.wordpress.org/trunk@17884 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 03:12:41 +00:00
Ryan Boren a5572fa5ef Denote images that are headers or backgrounds in the media ui. Props ocean90. fixes #17291
git-svn-id: https://develop.svn.wordpress.org/trunk@17793 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 18:28:31 +00:00
Ryan Boren 06bb9f1a17 Introduce get_screen_icon(). Props aaroncampbell. fixes #15377
git-svn-id: https://develop.svn.wordpress.org/trunk@17656 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 21:51:54 +00:00
Andrew Nacin 5fc7b13692 Send an associative array to the display_post_states filter. props greenshady, kawauso, fixes #15421.
git-svn-id: https://develop.svn.wordpress.org/trunk@17544 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 18:57:12 +00:00
Mark Jaquith fd3c1fd8e3 A little escaping paranoia, just to be safe. (Already sanitized, higher up). for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17410 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-07 19:11:17 +00:00
Ryan Boren 9aa164cfc8 Properly encode the post title. Props koopersmith, nacin. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17395 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-05 18:26:46 +00:00
Mark Jaquith e0f37101f7 Make sure we don't double-add -user or -network suffixes in convert_to_screen(). props SergeyBiryukov. fixes #16348
git-svn-id: https://develop.svn.wordpress.org/trunk@17356 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-24 04:16:55 +00:00
Andrew Nacin acd01861fb Don't allow the 'Path' column on sites.php to be hidden. see #16322.
git-svn-id: https://develop.svn.wordpress.org/trunk@17337 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-20 22:09:01 +00:00
Andrew Nacin 2b4674a3b4 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: https://develop.svn.wordpress.org/trunk@17322 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:47:24 +00:00
Mark Jaquith 4c70887da7 Append -network or -user suffix in convert_to_screen(). props kawauso. fixes #16238
git-svn-id: https://develop.svn.wordpress.org/trunk@17318 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 05:38:44 +00:00
Peter Westwood 966477d6f7 Switch _admin_search_query to use $_REQUEST so as to work for no-js searches sent over POST as well as url based searches over GET. See #14927
git-svn-id: https://develop.svn.wordpress.org/trunk@17309 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 03:40:52 +00:00
Andrew Nacin 96fa9d4b56 Hide the many extraneous meta boxes for pages by default too. see #14212.
git-svn-id: https://develop.svn.wordpress.org/trunk@17294 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 01:02:15 +00:00
Ryan Boren eba71eb7c0 Bring out the shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:11:14 +00:00