Commit Graph

2612 Commits

Author SHA1 Message Date
Mark Jaquith 55e0256967 esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@16431 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:12:01 +00:00
scribu 5705b3ca9c Differentiate between localized and raw total pages. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16429 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:03:27 +00:00
Andrew Nacin 862dabded8 s/Login/Username/ to restore 3.0 string. props demetris, fixes #15453.
git-svn-id: https://develop.svn.wordpress.org/trunk@16428 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:58:15 +00:00
scribu 3951871605 Remove drag_drop_help() and plugins_search_help(). Fixes #15451
git-svn-id: https://develop.svn.wordpress.org/trunk@16426 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:41:26 +00:00
scribu 0e7fb842ec Make media_handle_sideload() return attachment id instead of URL. Props joostdevalk. Fixes #15432
git-svn-id: https://develop.svn.wordpress.org/trunk@16383 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 12:53:11 +00:00
Andrew Nacin 8d9b2cd2b3 Properly check, initialize, or cast a number of variables. props ChenHui. see #14642.
git-svn-id: https://develop.svn.wordpress.org/trunk@16377 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 06:38:10 +00:00
scribu 420e436d72 Don't show author column if the post type doesn't support it. Fixes #15425
git-svn-id: https://develop.svn.wordpress.org/trunk@16376 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 20:35:42 +00:00
scribu a6568c3de8 Make submitted-on a class instead of an id. Fixes #15426
git-svn-id: https://develop.svn.wordpress.org/trunk@16375 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 20:28:55 +00:00
scribu a2130f160d Don't display upgradeable plugins in site admin and only translate plugin data for currently displayed plugins. See #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16372 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:34:59 +00:00
scribu 9f69a2211f Fix post comments box and remove unused 'add-comment' ajax action. See #15338
git-svn-id: https://develop.svn.wordpress.org/trunk@16371 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:19:45 +00:00
scribu 2b895dda71 Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16368 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:00:09 +00:00
Andrew Nacin 11f1c67f78 Some escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@16366 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 17:33:16 +00:00
scribu 32b416f959 Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: https://develop.svn.wordpress.org/trunk@16365 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 15:50:02 +00:00
scribu fcef01b720 Rework WP_MS_Themes_List_Table column display. Props ocean90. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16361 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 23:47:14 +00:00
scribu 309b7e7ab3 Add back 'Submitted on ' text. Props zeo. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16356 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 20:58:39 +00:00
scribu beb9fea0c4 Fix 'response' column title. Props zeo. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16355 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 20:53:21 +00:00
scribu 83cfc820ce Make manage_users_custom_column hook consistent between WP_(MS)?_Users_List_Table. Fixes #14562
git-svn-id: https://develop.svn.wordpress.org/trunk@16354 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 20:47:34 +00:00
scribu a4ee63c95a Make custom plugin columns hideable. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16350 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 17:21:40 +00:00
scribu 7d32a98787 Rename action to 'manage_plugins_custom_column' to be consistent with other screens. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16349 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 17:01:57 +00:00
scribu 21bef0ad36 Add 'manage_plugin_custom_column' action and properly hide plugin columns. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16348 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 16:57:25 +00:00
scribu a06d0688e9 Introduce WP_Plugins_List_table:single_row(). See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16347 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 16:30:20 +00:00
scribu 07b54f3eb4 Move network only status check out of foreach. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16346 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 16:25:56 +00:00
scribu da3a486cef Begin rework of plugins list table. Props edward mindreantre. See #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16345 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 15:58:23 +00:00
Andrew Nacin 200eefec46 Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: https://develop.svn.wordpress.org/trunk@16340 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 09:53:55 +00:00
Andrew Nacin a53b8ef117 Use cap->edit_post in WP_Posts_List_Table. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@16337 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 00:13:08 +00:00
Ryan Boren a192c1e658 Set is_site_themes from current screen so the ajax request returns the proper rows for site-themes.php searches. see #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16335 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 22:44:08 +00:00
Peter Westwood b08df21c26 Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: https://develop.svn.wordpress.org/trunk@16334 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 21:53:15 +00:00
scribu 11f20d737c Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: https://develop.svn.wordpress.org/trunk@16332 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 20:05:37 +00:00
Ryan Boren 53ae0610e6 Check delete_site and delete_sites caps. Check for delete_user is more places.
git-svn-id: https://develop.svn.wordpress.org/trunk@16329 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 16:35:28 +00:00
Ryan Boren 4be07b9f8d Check delete caps in network users admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@16328 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 16:00:41 +00:00
Andrew Nacin b929feb819 Remove dead code. props nathanrice, fixes #13893.
git-svn-id: https://develop.svn.wordpress.org/trunk@16324 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 11:26:14 +00:00
Mark Jaquith 2834d62548 Always add in the current post format, in case the theme was switched to one that does not support it. props anderswc. fixes #15393. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16316 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:21:17 +00:00
Mark Jaquith d3684a509d Add checks for WP_Error. props ptahdunbar. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16315 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:10:56 +00:00
Mark Jaquith 647422ad33 Switch to radio boxes for Post Format picking. Saves a click. Maybe we should do this with Post Status as well. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16314 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:05:33 +00:00
Andrew Nacin d8c91db1f4 Remove more create_function calls. props huichen, see #14424.
git-svn-id: https://develop.svn.wordpress.org/trunk@16313 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:50:36 +00:00
Andrew Nacin 19bb470821 Kill a create_function by introducing is_plugin_inactive. see #14424.
git-svn-id: https://develop.svn.wordpress.org/trunk@16312 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:21:04 +00:00
Ryan Boren b8ebc2cecb Add screen options to site-themes. Props PeteMall. see #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16298 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 15:16:16 +00:00
scribu 7d07e24e0b Make 'registered' column sort by user id. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16290 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 11:47:10 +00:00
scribu d95cfc6eab Make 'registered' column sort by site id. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16289 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 11:45:32 +00:00
Peter Westwood ea7bd69745 Generate Human Readable passwords as they are much more userfriendly. Fixes #13324 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@16284 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 23:31:54 +00:00
Peter Westwood e6d62aeb48 Blankity Blank. Fixes #15380 props arena.
git-svn-id: https://develop.svn.wordpress.org/trunk@16281 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 20:54:56 +00:00
Andrew Nacin 7912dd4561 Use direct post_title instead of get_the_title() in get_inline_data(). reverts [13079] but adds trim() to solve original bug. fixes #14323, props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@16278 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 17:08:05 +00:00
Andrew Nacin 0f662479db Super Admin filter for network/users.php. fixes #15371.
git-svn-id: https://develop.svn.wordpress.org/trunk@16277 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 17:05:20 +00:00
Andrew Nacin 9ac3468253 Update phpdoc for wp_list_widgets(). fixes #15373.
git-svn-id: https://develop.svn.wordpress.org/trunk@16269 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 12:28:03 +00:00
Andrew Nacin 3a360acc5a Default to 'post' in WP_Terms_List_Table. props filosofo, fixes #15351.
git-svn-id: https://develop.svn.wordpress.org/trunk@16254 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 06:38:53 +00:00
Andrew Nacin 1d7a732588 Use the name of the corresponding post type in the edit-tags column. TODO, typenow should be accessible from the current_screen object on edit-tags. see #14886 for current_screen, [15664] for previous TODO note.
git-svn-id: https://develop.svn.wordpress.org/trunk@16249 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:59:49 +00:00
Andrew Nacin 8a63e8ba33 Hide the slugdiv by default for custom post types. Restores behavior toggled in [15555]. see #14212.
git-svn-id: https://develop.svn.wordpress.org/trunk@16246 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:46:05 +00:00
Andrew Nacin 50dc640746 Use spaces for alignment. see #15343 [16236]
git-svn-id: https://develop.svn.wordpress.org/trunk@16245 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:42:35 +00:00
scribu a97018ab13 Fix admin comment reply. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16244 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 23:07:37 +00:00
Ryan Boren 03d34fd1f8 site-themes.php cleanup. Props PeteMall. see #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16242 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 21:52:54 +00:00
Ryan Boren fb54ba39cd Use bool for allowed themes. Props PeteMall. see #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16241 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 19:40:05 +00:00
Ryan Boren 1af3887db1 Use submt_button(). see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16240 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:45:20 +00:00
Ryan Boren 7173e0d7b8 Update links. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16239 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:40:57 +00:00
Ryan Boren 964e49b59f Fix typo. Props PeteMall. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16238 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:36:09 +00:00
Ryan Boren 77908514a6 Add the former contents of ms-admin.php to a right now widget for the network admin. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16237 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:31:00 +00:00
Peter Westwood 73c3aa15f5 Encode quotes and chevrons in the HTML editor version of the generated captions too. Fixes #15343.
git-svn-id: https://develop.svn.wordpress.org/trunk@16236 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 17:15:14 +00:00
scribu baaf0585dd Use get_current_screen() in list table classes. Fixes #15338
git-svn-id: https://develop.svn.wordpress.org/trunk@16235 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 15:43:44 +00:00
scribu 49ea9b06ef WP_Media_List_Table: merge display_rows() and display_orphans(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16229 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 23:00:17 +00:00
scribu e3026ae9ee WP_Media_List_Table: remove code for displaying old 'actions' column. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16228 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 22:51:43 +00:00
scribu 9edce664dc WP_Media_List_Table: Use class property instead of $detached global. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16227 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 22:47:12 +00:00
scribu 939cb492bb Use screen id instead of base, to be consistent with older filters. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16226 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 21:49:23 +00:00
scribu f159895605 Clean up WP_Terms_List_Table::column_default(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16214 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 22:11:15 +00:00
scribu 0b77523396 Make post column hooks consistent. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16212 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 21:16:46 +00:00
scribu a1c670189d remove leading <li> from get_views() and add it later. Fixes #15321
git-svn-id: https://develop.svn.wordpress.org/trunk@16205 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 14:34:09 +00:00
Mark Jaquith 7f219637fc format-FOO classes on post edit row TR tags. props deanjrobinson. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16201 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 07:09:13 +00:00
Mark Jaquith 32ac7d22a6 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: https://develop.svn.wordpress.org/trunk@16198 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 03:04:13 +00:00
Mark Jaquith c44eb74f66 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: https://develop.svn.wordpress.org/trunk@16196 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 02:04:22 +00:00
scribu 419c42838b Rename property _screen to screen. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16195 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 21:02:13 +00:00
scribu 393bdc04e3 Fix screen options for the network admin themes and plugins. Props ocean90. Fixes #15269. Also fixes [16190]
git-svn-id: https://develop.svn.wordpress.org/trunk@16194 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 20:49:30 +00:00
scribu ca6e0ce4f3 Revert [16182] for comments table. See#14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16192 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 20:04:31 +00:00
Mark Jaquith 6648c30823 Translate and prettify post formats for display. Also, filterable by themes/plugins to add new ones. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16191 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:33:50 +00:00
scribu 3944269814 Minor cleanups. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16190 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:28:58 +00:00
Mark Jaquith e381bc093f Limit post format UI to posts only, for now. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16188 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:02:24 +00:00
scribu 7edd2f0090 Default to get_current_screen() in list table classes. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16182 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 15:00:55 +00:00
Peter Westwood 817aa1975c 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: https://develop.svn.wordpress.org/trunk@16175 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:07:03 +00:00
Mark Jaquith ef54c47f7a 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: https://develop.svn.wordpress.org/trunk@16174 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 07:41:07 +00:00
scribu ed884411fe List-table Class Names: Consistency's Revenge. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16171 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 21:09:27 +00:00
Ryan Boren 0ab95195d0 Allow trailing wildcard site searches by appending *. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16169 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 19:26:23 +00:00
Ryan Boren 358cdf6e23 Make IP query threshold more restrictive. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16167 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 18:40:12 +00:00
Ryan Boren 103523a499 Drop Sites search action dropdown. Determine the search action from the search string. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16166 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 18:28:02 +00:00
Ryan Boren 0c6730ed9b Check for install_plugins cap too since it can be removed for supes. see #15163
git-svn-id: https://develop.svn.wordpress.org/trunk@16163 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 14:57:10 +00:00
Ryan Boren 3c007cce8e Lose wildcards in site search. Maybe bring it back as an option. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16161 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 13:57:43 +00:00
Ryan Boren 0ffd5e3012 Show latest x users with no paging if on a large network. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16160 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 13:34:04 +00:00
Peter Westwood bb52f64946 Revert part of [16126] and restore the correct behaviour in the ms sites list. Fixes #15297 props ronbme
git-svn-id: https://develop.svn.wordpress.org/trunk@16158 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 22:13:16 +00:00
Ryan Boren d6e8a729a9 Default to id since registered doesn't have an index. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16157 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 21:23:26 +00:00
Andrew Nacin f95cfd07f3 Remove deleted file from the manifest. Note that most other blue files were never added. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16147 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 05:24:58 +00:00
Andrew Nacin c31ef3498a Housekeeping for blue refresh. Script bumps, image bumps, remove unused blue-specific files. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16146 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 05:05:27 +00:00
Andrew Nacin d583c2be0e Add theme updates to the network themes screen. props PeteMall, see #14897.
git-svn-id: https://develop.svn.wordpress.org/trunk@16141 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 20:08:25 +00:00
Ryan Boren 2ceb9f8150 Add edit theme links. Props PeteMall. see #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16140 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 19:14:03 +00:00
Ryan Boren a0349d55a1 For large networks, show the latest registered blogs without paging to avoid expensive count queries. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16137 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 17:53:03 +00:00
Ryan Boren 8207c0942b edit.php markup fixes. Props wahgnube. fixes #15260
git-svn-id: https://develop.svn.wordpress.org/trunk@16134 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 16:24:48 +00:00
Peter Westwood 506f71b660 Enable the dialog for paste as plain text in the new TinyMCE paste plugin. Fixes #15278.
git-svn-id: https://develop.svn.wordpress.org/trunk@16133 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 15:59:48 +00:00
Peter Westwood 08864673f3 Allow better contextual based filtering of the path to the image being edited by having specific filters for local filesystem and url based paths.
git-svn-id: https://develop.svn.wordpress.org/trunk@16130 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 10:36:35 +00:00
Peter Westwood bf49078d9b Group the Network admin List Tables class mapping seperately so they are easier to pick out. See #14435, #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16129 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 09:24:32 +00:00
Peter Westwood c4633bbd54 The big renaming of the list-table class files.
See #14579

git-svn-id: https://develop.svn.wordpress.org/trunk@16128 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 09:19:50 +00:00
Peter Westwood 78d95aa459 Split out the list table functions into a seperate file from the base class.
See #14579.

git-svn-id: https://develop.svn.wordpress.org/trunk@16127 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 08:56:27 +00:00
Peter Westwood d34290a605 Correct the subdomain/non-subdomain logic when listing sites.
Tidy up the case statement.
See #15174.

git-svn-id: https://develop.svn.wordpress.org/trunk@16126 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 08:43:24 +00:00
Peter Westwood 0abd20cd8d Make the class to filename mapping easier to read.
Ensure that we support PHP4 for now by passing references to objects in list tables code.
See #14579.

git-svn-id: https://develop.svn.wordpress.org/trunk@16125 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 08:37:02 +00:00
scribu ddb20081c4 Fix search in network themes panel. Props PeteMall. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16123 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 23:26:38 +00:00
scribu a3009772e7 make not_found puctuation translatable. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16121 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 23:21:56 +00:00
Andrew Nacin 95ba00c277 Translate a string.
git-svn-id: https://develop.svn.wordpress.org/trunk@16119 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 15:38:13 +00:00
scribu c75430c485 remove redundant 'Network ' prefix from action names and redundant display_tablenav() method. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16117 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 11:38:04 +00:00
Peter Westwood 9cba32348d First pass at a new Network Admins page for Theme enable/disable/upgrade. See #14897 props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@16113 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 09:37:15 +00:00
Peter Westwood 5dc465110a Check for empty strings before indexing into them. Fixes #15265 props solarissmoke.
git-svn-id: https://develop.svn.wordpress.org/trunk@16112 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 09:29:57 +00:00
Andrew Nacin a4548a9fe2 <br/> tags are self-closing. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@16110 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 05:13:46 +00:00
scribu e20f409fd6 WP_List_Table::no_items() consistency fixes. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16109 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 01:29:23 +00:00
scribu 9142cadca4 Move no_items logic to WP_Comments_Table. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16108 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 01:17:00 +00:00
Andrew Nacin 0180091a56 Fix nested HTML in submit_button(). fixes #15257, see #15064.
git-svn-id: https://develop.svn.wordpress.org/trunk@16097 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 06:14:15 +00:00
scribu 68d5bd05df Optimize menu item creation. Props filosofo. Fixes #14415
git-svn-id: https://develop.svn.wordpress.org/trunk@16096 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 00:13:45 +00:00
Andrew Nacin 8546c6797b Kill what_to_show on upgrade. fixes #9815.
git-svn-id: https://develop.svn.wordpress.org/trunk@16092 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 22:39:05 +00:00
Andrew Ozz d39d7e4ba4 Editor: utilize the new "formats" option in TinyMCE, fix errors in IE when pressing Enter inside a caption box, fix resizing of the caption box when the user soft-resizes the image in the editor, fixes #12574
git-svn-id: https://develop.svn.wordpress.org/trunk@16090 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 20:06:00 +00:00
scribu e76a5fe8b3 Fix bulk actions for Network Admin -> plugins. See #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16089 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 19:09:04 +00:00
Nikolay Bachiyski 1937c1221d Introduce and use translate_nooped_plural(). Fixes #13996
* _n_noop() and _nx_noop() now return associative arrays for greater clarity
 * translate_nooped_plural() takes one such associative array and translates it
 * it works on both the result from _n_noop() and from _nx_noop()
 * this breaks backwards compatibility, but I doubt any plugin uses it (I will do a global grep to confirm)
 * translate_nooped_plural() is applied where applicable


git-svn-id: https://develop.svn.wordpress.org/trunk@16073 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 13:12:14 +00:00
Mark Jaquith d65cdf4ba8 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Ryan Boren 4ae97bd34f Don't show private attachment taxonomies in the uploader. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16057 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 18:53:09 +00:00
Peter Westwood 3365e10951 Add a filter to the mime type list displayed in the iframe media uploader when viewing the media library. Fixes #6348 props wojtek.szkutnik
git-svn-id: https://develop.svn.wordpress.org/trunk@16047 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 12:41:37 +00:00
Andrew Nacin 036d6dbfa4 Don't show plugin update notifications outside of the network admin. props PeteMall, see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@16037 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:31:16 +00:00
Andrew Nacin 35966ee4ac Remove unnecessary bulk actions for plugins re: network admin. props PeteMall, see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@16036 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:30:37 +00:00
scribu 3c1191be53 Prevent double inclusion of plugin when already activated on main site. See #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16027 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 23:54:43 +00:00
Andrew Nacin 9cb09fd090 Docs for wp-admin/includes/file.php. props sivel, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@16024 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 22:24:06 +00:00
scribu 7d80f2e1b3 Don't call activation hooks when upgrading. Props joelhardi for initial patch. See #14915
git-svn-id: https://develop.svn.wordpress.org/trunk@16012 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 13:40:14 +00:00
scribu 3682e8fc98 Pass $network_wide flag to de/activation hooks. See #14170
git-svn-id: https://develop.svn.wordpress.org/trunk@16011 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 13:20:53 +00:00
Andrew Nacin 8db82e5ea1 Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.
git-svn-id: https://develop.svn.wordpress.org/trunk@16009 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:46:24 +00:00
Andrew Nacin 605b0c48e3 Don't check the raw edit_others_posts cap. see #12702.
git-svn-id: https://develop.svn.wordpress.org/trunk@16004 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:48:55 +00:00
Andrew Nacin 71c59b865a Add a 'Sticky' filter on the edit posts page. Add post_in and post_not_in as private query vars in the WP class to support this. fixes #8466.
git-svn-id: https://develop.svn.wordpress.org/trunk@16003 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:27:45 +00:00
Andrew Nacin 5c3d8ff7b7 Remove trailing newlines. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15985 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 20:21:27 +00:00
Andrew Nacin fb3a8f92bf Don't sort plugin descriptions column. Make on state for sortable columns black, not the typical link orange. fixes #15224.
git-svn-id: https://develop.svn.wordpress.org/trunk@15981 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 18:15:47 +00:00
Andrew Nacin 65cb97f7b7 s/awhile/a while/. props jane, PeteMall, fixes #15225.
git-svn-id: https://develop.svn.wordpress.org/trunk@15978 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:40:54 +00:00
Ryan Boren b9187fc683 Remove “Actions: ” string from action links (on updater screens). Props demetris. fixes #15047
git-svn-id: https://develop.svn.wordpress.org/trunk@15977 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:18:49 +00:00
Ryan Boren 7f1de33932 Hide more meta boxes by default. fixes #14212
git-svn-id: https://develop.svn.wordpress.org/trunk@15976 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:14:31 +00:00
Andrew Nacin 55db5a4d9d Classes must be defined before they are extended. props PeteMall, see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15969 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 04:48:03 +00:00
Andrew Nacin b0208b5a8c Importer and exporter overhaul, mega props duck.
Exporter overhaul:
 * Add author information to export
 * Greater usage of slug identifiers
 * Don't export auto-drafts, spam comments, or edit lock/last meta keys
 * Inline documentation improvements
 * Remove filtering for now (@todo)
 * Bump WXR version to 1.1, but remain back compat in the importer

Importer overhaul (http://plugins.trac.wordpress.org/changeset/304249):
 * Use an XML parser where available (SimpleXML, XML Parser)
 * Proper import support for navigation menus
 * Many bug fixes, specifically improvements to category and custom taxonomy handling
 * Better author/user mapping

Fixes #5447 #5460 #7400 #7973 #8471 #9237 #10319 #11118 #11144 #11354 #11574 #12685 #13364 #13394 #13453 #13454 #13627 #14306 #14442 #14524 #14750 #15055 #15091 #15108.

See #15197.


git-svn-id: https://develop.svn.wordpress.org/trunk@15961 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:43:52 +00:00
Andrew Nacin c1d8f9cd69 phpdoc for the various list table includes. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15958 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 04:04:18 +00:00
Andrew Nacin 2a7cb746de Introduce require_list_table(), rework get_list_table() calls, split default-list-tables into individual files. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15955 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 02:57:43 +00:00
Andrew Nacin 6f05802a40 Shuffle list-table files. First pass. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15954 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 00:12:41 +00:00
scribu 31cb193012 Add sanitized plugin name as id attribute to plugin rows. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15944 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 15:46:33 +00:00
Andrew Nacin f34a8de8ec Internal linking, first pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@15940 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 02:58:42 +00:00
Andrew Nacin cd50525faa Don't show the admin bar in the plugin/theme installers. Inserts condition directly into iframe_header(). Allows show_admin_bar() to be called after init by unsetting wp_admin_bar, thus preventing render once those hooks are fired. see #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@15938 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 19:49:25 +00:00
scribu 7dc089e685 Revert [15925]. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15927 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 12:05:00 +00:00
scribu 0658668634 Set $plugin_file as plugin row id. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15925 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 11:46:01 +00:00
scribu 2146585c80 Use row_actions() in WP_Plugins_Table. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15924 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 11:22:00 +00:00
Ryan Boren 6f62e4f13c Default send to editor to true if the post parent is empty. Props blepoxp. fixes #14133
git-svn-id: https://develop.svn.wordpress.org/trunk@15920 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 20:17:17 +00:00
Ryan Boren f2dbc7d273 Fix media dialog keyPress handling. Props mdawaffe. fixes #14394
git-svn-id: https://develop.svn.wordpress.org/trunk@15918 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:23:00 +00:00
scribu 04f36aafa9 Make plugin search & order methods, instead of standalone functions. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15912 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 11:08:35 +00:00
Andrew Nacin 7e48ac3e78 Pruning shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15904 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 19:55:28 +00:00
Ryan Boren 69994bf7ca Tabbed interface for site editing. see #15174
git-svn-id: https://develop.svn.wordpress.org/trunk@15903 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 18:35:52 +00:00
Andrew Nacin b41591f183 Please pardon my OCD.
git-svn-id: https://develop.svn.wordpress.org/trunk@15902 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:53:26 +00:00
Andrew Nacin 95332ccaa7 Hooks for user dashboard. props PeteMall, see #14696.
git-svn-id: https://develop.svn.wordpress.org/trunk@15900 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:51:49 +00:00
Andrew Nacin df81af604c Network admin theme install. props PeteMall, fixes #15184.
git-svn-id: https://develop.svn.wordpress.org/trunk@15898 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:06:52 +00:00
Andrew Nacin 6d20960c97 Pass user object through _wp_get_user_contactmethods() to the user_contactmethods filter. props aaroncampbell, fixes #15186.
git-svn-id: https://develop.svn.wordpress.org/trunk@15896 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:42:06 +00:00