Commit Graph

7574 Commits

Author SHA1 Message Date
scribu
3d8f4b6b2e Use get_current_screen() in list table classes. Fixes #15338
git-svn-id: http://svn.automattic.com/wordpress/trunk@16235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 15:43:44 +00:00
westi
2cd45b9938 Fix typo. See #15336 props Utkarsh.
Also actually correctly cast to boolean :-)

git-svn-id: http://svn.automattic.com/wordpress/trunk@16234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 10:21:34 +00:00
westi
f7641e08fe Fix typo. See #15336 props Utkarsh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 09:15:47 +00:00
westi
80adf4829f Ensure that booleans are booleans for now. See #15336.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-08 08:16:28 +00:00
scribu
bbcf03f678 WP_Media_List_Table: merge display_rows() and display_orphans(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 23:00:17 +00:00
scribu
de68225afc WP_Media_List_Table: remove code for displaying old 'actions' column. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 22:51:43 +00:00
scribu
b5c613b364 WP_Media_List_Table: Use class property instead of $detached global. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 22:47:12 +00:00
scribu
f21ccd3113 Use screen id instead of base, to be consistent with older filters. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 21:49:23 +00:00
ryan
39e775daeb Issue user_admin_notices for user admin. Issue admin_notices only for blog admin. Issue all_admin_notices for all dashboards. see #14696
git-svn-id: http://svn.automattic.com/wordpress/trunk@16224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 17:40:12 +00:00
westi
3f5ab5b9bf Extra cap checks. See #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 10:07:35 +00:00
westi
ee291ef5a5 Remove WP_SHOW_ADMIN_BAR and go off existing and new defines on page type. See #15315
git-svn-id: http://svn.automattic.com/wordpress/trunk@16221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 09:41:03 +00:00
scribu
ca4f75d494 Uncheck mass select checkbox when updating rows via ajax. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 23:07:00 +00:00
scribu
ce7f8c131c Clean up WP_Terms_List_Table::column_default(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 22:11:15 +00:00
scribu
fa4ea77657 Make post column hooks consistent. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 21:16:46 +00:00
ryan
cd8c19d46d Remove role selector from network admin user-edit. Props PeteMall. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 17:26:32 +00:00
scribu
c0b067fcf5 remove leading <li> from get_views() and add it later. Fixes #15321
git-svn-id: http://svn.automattic.com/wordpress/trunk@16205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 14:34:09 +00:00
markjaquith
f1a30e2dd5 format-FOO classes on post edit row TR tags. props deanjrobinson. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 07:09:13 +00:00
markjaquith
a4ac7eca6f get_post_format_string() to get nice version of a post format slug. Try appending post format as a post-status label. Enclose in square brackets to help it stand out. Remove post format strings filter. If this is going to be standard, it should be standard. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 03:04:13 +00:00
markjaquith
920bfad390 Use post_type_supports() to check for whether a post type supports post formats. Only posts support it by default. props mikeschinkel. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 02:04:22 +00:00
scribu
0bfee7db48 Rename property _screen to screen. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 21:02:13 +00:00
scribu
b078890091 Fix screen options for the network admin themes and plugins. Props ocean90. Fixes #15269. Also fixes [16190]
git-svn-id: http://svn.automattic.com/wordpress/trunk@16194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 20:49:30 +00:00
scribu
a4621924db Network Themes cleanup. Props PeteMall. See #14897
git-svn-id: http://svn.automattic.com/wordpress/trunk@16193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 20:11:08 +00:00
scribu
94339af889 Revert [16182] for comments table. See#14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 20:04:31 +00:00
markjaquith
b581a43b30 Translate and prettify post formats for display. Also, filterable by themes/plugins to add new ones. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:33:50 +00:00
scribu
0e77a0b5e4 Minor cleanups. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:28:58 +00:00
markjaquith
d80160e0ae Limit post format UI to posts only, for now. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 18:02:24 +00:00
markjaquith
4665c58087 Do our return falses. Props duck_. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 17:58:04 +00:00
westi
3c1a13935e Check the current user can create sites before showing the button. See #14435 props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 17:21:25 +00:00
ryan
f903ceb524 Check create_users cap. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 16:27:18 +00:00
ryan
a9e5ade43f Add new user page for network admin. Props PeteMall. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 16:16:52 +00:00
scribu
c5a9fd309d Default to get_current_screen() in list table classes. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 15:00:55 +00:00
westi
fb004d24be Add define('WP_SHOW_ADMIN_BAR' , false) for now. See #15315.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 08:40:27 +00:00
westi
5e90c5d1c3 Revert [16171] and [16172] - The class names were fine as they were and the MultiSite classes stand out more with the original naming.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 08:07:03 +00:00
markjaquith
17fbb0e123 add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 07:41:07 +00:00
nacin
c9190e667c Blue tweaks. props saracannon, see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 01:59:58 +00:00
scribu
3ded7f7c68 complete the renaming. props ocean90. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 22:06:45 +00:00
scribu
836ec33dca List-table Class Names: Consistency's Revenge. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 21:09:27 +00:00
ryan
1e95d0f38e Allow trailing wildcard site searches by appending *. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 19:26:23 +00:00
ryan
b713a76272 Make IP query threshold more restrictive. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 18:40:12 +00:00
ryan
97cb9b2a08 Drop Sites search action dropdown. Determine the search action from the search string. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 18:28:02 +00:00
westi
75b8d5a560 Much better description for the noconfirmation check box.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 15:04:34 +00:00
ryan
bee047cabb Check for install_plugins cap too since it can be removed for supes. see #15163
git-svn-id: http://svn.automattic.com/wordpress/trunk@16163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 14:57:10 +00:00
ryan
8804523ad7 Lose wildcards in site search. Maybe bring it back as an option. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 13:57:43 +00:00
ryan
f5ab587c9d Show latest x users with no paging if on a large network. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 13:34:04 +00:00
westi
0c4a2788cf Revert part of [16126] and restore the correct behaviour in the ms sites list. Fixes #15297 props ronbme
git-svn-id: http://svn.automattic.com/wordpress/trunk@16158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 22:13:16 +00:00
ryan
32e86e7d3e Default to id since registered doesn't have an index. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 21:23:26 +00:00
nacin
9a4704386c Cleaned up WP logo for blue refresh. props saracannon, see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 16:33:23 +00:00
nacin
66e9cbb8e1 Implement the screen options toggle sprite across color schemes. props PeteMall, and use correct file ext, props ocean90. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 15:35:10 +00:00
nacin
9bf103cd5f Add screen options toggle. props saracannon, see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 06:01:08 +00:00
nacin
500e2d3f4c Remove deleted file from the manifest. Note that most other blue files were never added. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 05:24:58 +00:00