Commit Graph

7686 Commits

Author SHA1 Message Date
Andrew Nacin b5178cd956 enter_title_here filter. fixes #13386.
git-svn-id: https://develop.svn.wordpress.org/trunk@16247 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:49:19 +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 e4a21e0527 Resurrect nav-tab-wrapper. Lost in [16136]. see #15154
git-svn-id: https://develop.svn.wordpress.org/trunk@16243 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 22:12:46 +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
Peter Westwood de1c45771a Fix typo. See #15336 props Utkarsh.
Also actually correctly cast to boolean :-)

git-svn-id: https://develop.svn.wordpress.org/trunk@16234 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 10:21:34 +00:00
Peter Westwood f091f10b0f Fix typo. See #15336 props Utkarsh.
git-svn-id: https://develop.svn.wordpress.org/trunk@16232 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 09:15:47 +00:00
Peter Westwood 417830b4e6 Ensure that booleans are booleans for now. See #15336.
git-svn-id: https://develop.svn.wordpress.org/trunk@16231 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 08:16:28 +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
Ryan Boren 840e539c0e 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: https://develop.svn.wordpress.org/trunk@16224 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 17:40:12 +00:00
Peter Westwood 85952766d3 Extra cap checks. See #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16222 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 10:07:35 +00:00
Peter Westwood 1626139659 Remove WP_SHOW_ADMIN_BAR and go off existing and new defines on page type. See #15315
git-svn-id: https://develop.svn.wordpress.org/trunk@16221 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 09:41:03 +00:00
scribu 441237a5f4 Uncheck mass select checkbox when updating rows via ajax. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16218 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 23:07:00 +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
Ryan Boren 61b9bfba92 Remove role selector from network admin user-edit. Props PeteMall. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16210 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 17:26:32 +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 5d9b59521c Network Themes cleanup. Props PeteMall. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16193 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 20:11:08 +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
Mark Jaquith 018429a9f6 Do our return falses. Props duck_. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16187 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 17:58:04 +00:00
Peter Westwood cf37645868 Check the current user can create sites before showing the button. See #14435 props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@16185 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 17:21:25 +00:00
Ryan Boren 91e15d98c3 Check create_users cap. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16184 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 16:27:18 +00:00
Ryan Boren b80e0de594 Add new user page for network admin. Props PeteMall. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@16183 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 16:16:52 +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 fa9fc10c6e Add define('WP_SHOW_ADMIN_BAR' , false) for now. See #15315.
git-svn-id: https://develop.svn.wordpress.org/trunk@16177 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:40:27 +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
Andrew Nacin 8b0f87ebfd Blue tweaks. props saracannon, see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16173 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 01:59:58 +00:00
scribu d1034ad0d3 complete the renaming. props ocean90. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16172 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 22:06:45 +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
Peter Westwood 9afb0e7247 Much better description for the noconfirmation check box.
git-svn-id: https://develop.svn.wordpress.org/trunk@16164 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 15:04:34 +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 e79975c334 Cleaned up WP logo for blue refresh. props saracannon, see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16153 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 16:33:23 +00:00
Andrew Nacin 59d3fd59c4 Implement the screen options toggle sprite across color schemes. props PeteMall, and use correct file ext, props ocean90. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16152 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 15:35:10 +00:00
Andrew Nacin 118eb442e1 Add screen options toggle. props saracannon, see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16148 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 06:01:08 +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 14080bd9ce Blue theme refresh, first pass. props saracannon. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16145 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 04:52:44 +00:00
Andrew Nacin f19844394b Temporarily copy colors-fresh over colors-classic. Gray was used as a base for blue, it will be easier to see changes. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16144 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 04:32:34 +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
Peter Westwood 785bfd4b92 First pass of wp-admin.css cleanup from JohnONolan.
Merge conflicts manually resolved and marked for review
Not recompressed for now to allow for easier side by side testing.
So test with SCRIPT_DEBUG set to true.
See #14770 props JohnONolan


git-svn-id: https://develop.svn.wordpress.org/trunk@16136 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 16:30:27 +00:00
Ryan Boren 802c03455d Die if user doesn't have caps for the post type. Props duck_. fixes #15259
git-svn-id: https://develop.svn.wordpress.org/trunk@16135 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 16:28:35 +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 0c315e2c11 Add contextual help for Network -> Sites. Props PeteMall. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16122 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 23:23:32 +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 c1afa3472d Remove old ajax handler. props PeteMall, see #14897.
git-svn-id: https://develop.svn.wordpress.org/trunk@16120 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 18:20:09 +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 0030431a66 Set $current_screen before creating list table. Props rovo89. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16118 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 13:52:35 +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
scribu cf770863fe Fix class in wp-admin/users.php submit button. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16107 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 00:28:02 +00:00
scribu 7db59a9a89 Fix regression introduced by [16096]. Props duck_. See #14415
git-svn-id: https://develop.svn.wordpress.org/trunk@16105 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 22:41:52 +00:00
Andrew Nacin 310a9b04d2 Move code out of the conditional. props duck_, fixes #14415.
git-svn-id: https://develop.svn.wordpress.org/trunk@16104 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 18:21:23 +00:00
Andrew Nacin 0ab13047ef Use a create_users cap for Sites > Add New. fixes #14621.
git-svn-id: https://develop.svn.wordpress.org/trunk@16103 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 14:31:13 +00:00
Andrew Nacin edc329c691 Begin the dissolution of classes.php. see #10287.
git-svn-id: https://develop.svn.wordpress.org/trunk@16099 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 07:02:06 +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 d96e57bed8 Prevent network creation when OMG_DO_NOT_UPGRADE_GLOBAL_TABLES is defined. props wpmuguru, fixes #14246.
git-svn-id: https://develop.svn.wordpress.org/trunk@16094 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 22:44:05 +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
Ryan Boren f05e4fcd2b Remove old screen options images. see #15163
git-svn-id: https://develop.svn.wordpress.org/trunk@16088 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 19:00:15 +00:00
Ryan Boren a25c426c9d Add toggle sprite. see #15163
git-svn-id: https://develop.svn.wordpress.org/trunk@16087 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 18:57:07 +00:00
Ryan Boren e33e94e28d Use a sprite for screen options toggle. Props TECannon PeteMall. see #15163
git-svn-id: https://develop.svn.wordpress.org/trunk@16081 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 16:23:17 +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
Andrew Nacin 76d743274a Restore submit_button() for user-new. props markmcwilliams, see #15064.
git-svn-id: https://develop.svn.wordpress.org/trunk@16067 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 00:32:03 +00:00
Andrew Nacin e2dfe4f5c2 Revert submit_button() for wp-includes, setup-config, install, login, signup. see [16061], see #15064, fixes #15247.
git-svn-id: https://develop.svn.wordpress.org/trunk@16066 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 00:31:27 +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
scribu 1d4e508a27 s/awhile/a while. Props johnbillion, PeteMall. Fixes #14462
git-svn-id: https://develop.svn.wordpress.org/trunk@16049 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 15:30:39 +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 524c263196 Don't show plugin update counts on the non network admin menu. props PeteMall, see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@16040 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:38:02 +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
Andrew Nacin 4f2d468602 Fix comment.
git-svn-id: https://develop.svn.wordpress.org/trunk@16032 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 06:52:33 +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 5fa521edf1 More self_admin_url. props PeteMall, see #14062.
git-svn-id: https://develop.svn.wordpress.org/trunk@16026 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 22:51:06 +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 6289ec0a52 Fix variable name and re-minify list-table.js. See #15211
git-svn-id: https://develop.svn.wordpress.org/trunk@16023 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 20:19:52 +00:00
scribu b2f927ed76 Set additional fields when searching. Fixes #15211
git-svn-id: https://develop.svn.wordpress.org/trunk@16022 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 20:17:00 +00:00
Ryan Boren 5fe33fe732 Use self_admin_url(). Props PeteMall. see #14062
git-svn-id: https://develop.svn.wordpress.org/trunk@16015 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 16:52:35 +00:00
Ryan Boren eb4985a24d Action switch no longer needed. see #15174
git-svn-id: https://develop.svn.wordpress.org/trunk@16014 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 16:06:40 +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 dfa3d5561d Improve the line height on div.updated, div.error. props joelhardi, fixes #14891.
git-svn-id: https://develop.svn.wordpress.org/trunk@16010 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 11:57:55 +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
Dion Hulse 82443ce769 Use Absolute URL's & API's in header redirects in more locations. See #14062
git-svn-id: https://develop.svn.wordpress.org/trunk@16008 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:43:43 +00:00
Dion Hulse 3c4cd0b408 Use Absolute URL's in header redirects in wp-admin/plugin.php. See #14062
git-svn-id: https://develop.svn.wordpress.org/trunk@16006 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:25:13 +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 8e5ba0694f Language cleanup. props mrmist, fixes #14409.
git-svn-id: https://develop.svn.wordpress.org/trunk@16002 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:19:28 +00:00
Andrew Nacin 4dd97a09bf Language cleanup. props jane, scribu, fixes #14585.
git-svn-id: https://develop.svn.wordpress.org/trunk@16001 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:14:48 +00:00
Peter Westwood b138a1b60a Bring back a seperate js file for the password strength meter and correctly mark it as a dependancy of the user profile code. See #5919.
git-svn-id: https://develop.svn.wordpress.org/trunk@15998 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 06:39:20 +00:00
Andrew Nacin c1bbe2983f Add 'Check Again' button and timestamp to update-core. Also return the same error message for themes as we do for plugins when no checkboxes are checked. fixes #14764.
git-svn-id: https://develop.svn.wordpress.org/trunk@15996 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 02:21:49 +00:00
Andrew Nacin bb66fd85da Use 'Visit Site' in header if blog has no name. props blepoxp, fixes #13978.
git-svn-id: https://develop.svn.wordpress.org/trunk@15992 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 01:48:08 +00:00
scribu f9fa7ecc39 Round bottom-right corner of the screen options dropdown. Fixes #15226
git-svn-id: https://develop.svn.wordpress.org/trunk@15986 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 22:15:58 +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 afde42977a Fix Dashboard link in Network Admin on update-core. props PeteMall, see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@15979 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:41:43 +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
Ryan Boren bff73fa973 Cause infinite recursion caused by malformed URLs. Props mdawaffe. fixes #14655
git-svn-id: https://develop.svn.wordpress.org/trunk@15971 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 13:43:26 +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 9c39f8bcf2 Fix custom background selector for IE7. props duck_, fixes #14152.
git-svn-id: https://develop.svn.wordpress.org/trunk@15966 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:42:14 +00:00
Andrew Nacin f7345eb522 wp_htmledit_pre for salts in wp-admin/network. fixes #15092.
git-svn-id: https://develop.svn.wordpress.org/trunk@15965 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:36:23 +00:00
scribu 14d6d39a72 Remove dead 'delete-link-cat' ajax handler. See #12285
git-svn-id: https://develop.svn.wordpress.org/trunk@15963 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 01:16:08 +00:00
Ryan Boren ae76af21a9 Generalize seletion for h2 and h3 tabs. Props chrisbliss18 fixes #15154
git-svn-id: https://develop.svn.wordpress.org/trunk@15962 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:45:58 +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 d68060204a Fix inverted logic. props duck_. fixes #15205.
git-svn-id: https://develop.svn.wordpress.org/trunk@15959 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 08:27:49 +00:00