Commit Graph

2924 Commits

Author SHA1 Message Date
Andrew Nacin 70c1166ad1 Use correct variables. props garyc40, see #15503.
git-svn-id: https://develop.svn.wordpress.org/trunk@17206 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-02 10:55:10 +00:00
Andrew Nacin 4f947ac5b9 Disabled states for first/prev and next/last pagination buttons when they should noop. see #15503.
git-svn-id: https://develop.svn.wordpress.org/trunk@17202 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-01 23:19:26 +00:00
Andrew Nacin e1ffe72def Allow us to return from whence we came. Specify wp_http_referer for user-edit in the network admin, as we may come from network/users or site-users. props PeteMall, SergeyBiryukov, fixes #16053.
git-svn-id: https://develop.svn.wordpress.org/trunk@17201 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-01 22:30:46 +00:00
Andrew Nacin bce405d0f2 Don't esc_html the default error string. props SergeyBiryukov, fixes #16058.
git-svn-id: https://develop.svn.wordpress.org/trunk@17200 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-01 22:14:42 +00:00
Ryan Boren 7fe3731637 Introduce include_selected arg for wp_dropdown_users(). Add current author to dropdown in post_author_meta_box(). fixes #16045
git-svn-id: https://develop.svn.wordpress.org/trunk@17198 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-01 01:52:03 +00:00
Andrew Nacin 92fe9ad043 Remove a random nacin typo introduced in 3.0. see [12976], #16055.
git-svn-id: https://develop.svn.wordpress.org/trunk@17196 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-31 23:58:02 +00:00
Andrew Nacin 8ace5bbf91 div.alignleft.actions needs to wrap the 'Empty Trash' button too, otherwise they're not aligned. see #15580.
git-svn-id: https://develop.svn.wordpress.org/trunk@17195 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-31 23:56:38 +00:00
Andrew Nacin 714124263f Restore original argument order for the taxonomy quick_edit_custom_box hook. fixes #15285.
git-svn-id: https://develop.svn.wordpress.org/trunk@17193 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-31 16:34:08 +00:00
Andrew Nacin 31285457f2 Small visual improvements to post formats on edit.php. see #16047.
git-svn-id: https://develop.svn.wordpress.org/trunk@17191 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-31 04:49:27 +00:00
Ryan Boren a0a77f0380 Default to leading and trailing wildcards for site user searches. Require explicit trailing wildcard asterisk request for network user searches. Disallow leading wildcards for network user searches. Move wildcard policy up the stake, allowing more flexibility in WP_User_Query. Props SergeyBiryukov. fixes #16014
git-svn-id: https://develop.svn.wordpress.org/trunk@17189 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 23:38:21 +00:00
Andrew Nacin 2d0e34b310 Typo fix. props Kawauso.
git-svn-id: https://develop.svn.wordpress.org/trunk@17188 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 21:58:44 +00:00
Ryan Boren 1ac9d9092d Fix registered and path column sorting. Props garyc40. fixes #16034
git-svn-id: https://develop.svn.wordpress.org/trunk@17180 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 18:06:33 +00:00
Mark Jaquith 04c38b28f7 urlencode() theme name when creating theme edit link. props tomthewebmaster. fixes #16028
git-svn-id: https://develop.svn.wordpress.org/trunk@17177 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 16:09:01 +00:00
Ryan Boren d554c850ac Hard limit to 10 comments on edit post screen. Props greuben. fixes #15998
git-svn-id: https://develop.svn.wordpress.org/trunk@17168 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-29 15:58:46 +00:00
Ryan Boren bf86ab0a2d Issue manage_pages_custom_column for hierarchical post types. Props mrwok, duck_. fixes #16000
git-svn-id: https://develop.svn.wordpress.org/trunk@17160 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-28 19:34:31 +00:00
Ryan Boren b6ff912589 Link Links columns to link manager. Props nacin. fixes #15994
git-svn-id: https://develop.svn.wordpress.org/trunk@17159 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-27 16:57:19 +00:00
Ryan Boren 3edaa30bed Always output pagination controls. Hide them when they are not needed. Show them upon AJAX result that requires pagination. Props nacin. fixes #15983
git-svn-id: https://develop.svn.wordpress.org/trunk@17156 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 22:06:15 +00:00
Ryan Boren 2b54d5a3b6 RTL pagination fixes. Props yoavf. fixes #15974
git-svn-id: https://develop.svn.wordpress.org/trunk@17153 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 21:54:52 +00:00
Ryan Boren 1430acde73 Give search submit buttons a unique ID. Props dd32. fixes #15979
git-svn-id: https://develop.svn.wordpress.org/trunk@17151 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 21:49:51 +00:00
Andrew Nacin 00eaa56f22 RTL for theme installer. props yoavf, fixes #15984.
git-svn-id: https://develop.svn.wordpress.org/trunk@17149 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-26 06:31:46 +00:00
Andrew Nacin 50820cb116 Revert to esc_html when escaping the textarea for nav menu item description. see #15454.
git-svn-id: https://develop.svn.wordpress.org/trunk@17143 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 18:42:59 +00:00
Andrew Nacin ae22a6d462 Tag textareas escaped earlier with textarea_escaped. see #15454.
git-svn-id: https://develop.svn.wordpress.org/trunk@17141 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 17:58:01 +00:00
Andrew Nacin b98ffad893 RTL for the new style pagination links. fixes #15974.
git-svn-id: https://develop.svn.wordpress.org/trunk@17139 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-25 13:48:13 +00:00
Ryan Boren b58a795627 MS themes fixes. Fix bulk actions when no items selected. Props SergeyBiryukov, nacin. fixes #15920
git-svn-id: https://develop.svn.wordpress.org/trunk@17130 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 17:41:36 +00:00
Andrew Nacin de8fda19e3 Validation fixes. props ocean90, fixes #15287.
git-svn-id: https://develop.svn.wordpress.org/trunk@17129 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-24 14:19:41 +00:00
Ryan Boren ee09d38544 Fix comment reply colspan. Props garyc40. fixes #15876
git-svn-id: https://develop.svn.wordpress.org/trunk@17124 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 17:21:29 +00:00
Peter Westwood 64e7465e1c Ensure that images added using Press This get the correct source url set. Fixes #15841 props duck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@17120 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 15:41:05 +00:00
Ryan Boren b6b6693135 Expand/collapse arrows for internal linking. Props ocean90. fixes #15739
git-svn-id: https://develop.svn.wordpress.org/trunk@17117 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 14:44:51 +00:00
Ryan Boren fea14d8ba6 Set the correct plural. Use plugins class on the table. Props scribu. fixes #15922
git-svn-id: https://develop.svn.wordpress.org/trunk@17115 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-23 14:34:14 +00:00
Ryan Boren 9f9f401c42 Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
git-svn-id: https://develop.svn.wordpress.org/trunk@17113 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 19:03:43 +00:00
Ryan Boren ef34db239b Use term_taxonomy_id instead of term_id. Props duck_, nootron. fixes #15941
git-svn-id: https://develop.svn.wordpress.org/trunk@17108 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 17:38:22 +00:00
Mark Jaquith 63ff32198f Display placeholder when no comments found. props garyc40. fixes #15937
git-svn-id: https://develop.svn.wordpress.org/trunk@17103 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:34:29 +00:00
Ryan Boren 34ef8c8df9 Translations in title attributes require esc_attr().
git-svn-id: https://develop.svn.wordpress.org/trunk@17102 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:17:58 +00:00
Ryan Boren 280f384b72 Add delete support to network themes. Props PeteMall. fixes #15707
git-svn-id: https://develop.svn.wordpress.org/trunk@17101 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 16:50:16 +00:00
Andrew Nacin d3729a2484 New help strings in internal linking. props jane, see #15739.
git-svn-id: https://develop.svn.wordpress.org/trunk@17099 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 15:04:59 +00:00
Andrew Nacin 408eb985c8 Add missing translation for 'Page Template' in the theme editor. props SergeyBiryukov, fixes #15933.
git-svn-id: https://develop.svn.wordpress.org/trunk@17098 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 14:58:54 +00:00
Andrew Nacin fbc4c6980e Don't include trash posts in the sticky posts count. props garyc40, fixes #15934.
git-svn-id: https://develop.svn.wordpress.org/trunk@17097 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 14:58:17 +00:00
Ryan Boren 1f3ea01d78 List table spinner. Props scribu. see #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@17090 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 18:45:05 +00:00
Ryan Boren aca2b86eaf Add 'who' arg to wp_dropdown_users() and get_users(). Add' hide_if_only_one_author' argument to get_users(). Query only authors (user level greater than 0) when who => author is passed. Query only authors for author meta box and quick edit dropdowns. Props scribu. fixes #15871
git-svn-id: https://develop.svn.wordpress.org/trunk@17088 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 17:25:39 +00:00
Andrew Nacin f5ab190c44 Don't check the upload space site option if the option is disabled. props greuben, fixes #13601.
git-svn-id: https://develop.svn.wordpress.org/trunk@17085 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:44:33 +00:00
Ryan Boren 76e77b1790 Revert get_users_of_blog() to 3.0 behavior and deprecate. Use get_users() in core. Props scribu. fixes #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17084 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:25:35 +00:00
Ryan Boren b69af5ae31 Consistently use edit_posts_per_page. Props sorich87. fixes #14135
git-svn-id: https://develop.svn.wordpress.org/trunk@17082 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 16:18:13 +00:00
Andrew Nacin ed9ce46089 Fix placeholder issues when removing comments. props garyc40, fixes #15879.
git-svn-id: https://develop.svn.wordpress.org/trunk@17081 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 15:26:44 +00:00
Ryan Boren b677baf564 Restrict meta update/delete to the current post. Props kawauso. fixes #15276
git-svn-id: https://develop.svn.wordpress.org/trunk@17078 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 12:38:21 +00:00
Andrew Nacin 18edc09e6a More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: https://develop.svn.wordpress.org/trunk@17071 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:25:21 +00:00
Andrew Nacin 19c95bfae2 Don't double-slash list table include. props wpmuguru, fixes #15904.
git-svn-id: https://develop.svn.wordpress.org/trunk@17070 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:14:15 +00:00
Mark Jaquith acd961d4f8 Only set default post format on new posts – not old ones. props nacin. fixes #15882
git-svn-id: https://develop.svn.wordpress.org/trunk@17062 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 19:22:31 +00:00
Andrew Nacin f660585656 Allow dfault post format selections. fixes #15882.
git-svn-id: https://develop.svn.wordpress.org/trunk@17056 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 05:36:11 +00:00
Ryan Boren b209dadc63 Remove 'Search Results filter from ms themes. fixes #15872
git-svn-id: https://develop.svn.wordpress.org/trunk@17050 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 01:11:38 +00:00
Ryan Boren b0b270dc34 Search query string tweaks for net plugins. Props PeteMall. see #15872
git-svn-id: https://develop.svn.wordpress.org/trunk@17038 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 23:47:40 +00:00
Ryan Boren 8ec123bd34 Remove the delete action link from the network admin if the plugin is active on the main site. Remove the plugin(s) from the deletion list for the bulk actions and shows an error if no other plugin was selected for bulk-deletion. Props PeteMall. see #15709
git-svn-id: https://develop.svn.wordpress.org/trunk@17033 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 21:53:47 +00:00
Ryan Boren bf811456b4 Admin bar visibility prefs. Props duck_. see #15829
git-svn-id: https://develop.svn.wordpress.org/trunk@17032 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 21:48:30 +00:00
scribu 4259d00a2f Fix notices in quick-edit. See #15285
git-svn-id: https://develop.svn.wordpress.org/trunk@17027 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 13:20:17 +00:00
scribu ac11ac7bc8 Always show term search box. See #15857
git-svn-id: https://develop.svn.wordpress.org/trunk@17026 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 11:41:59 +00:00
scribu a2d38faed6 Display categories again. Props garyc40. Fixes #15857
git-svn-id: https://develop.svn.wordpress.org/trunk@17025 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 11:17:41 +00:00
scribu e58993fe2e Disable sorting by post count for now. See #15861
git-svn-id: https://develop.svn.wordpress.org/trunk@17024 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 10:25:27 +00:00
Peter Westwood e7e3b8fde9 Make note that this is a preview_iframe. See #15856
git-svn-id: https://develop.svn.wordpress.org/trunk@17018 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:30:33 +00:00
scribu e452616f40 Make WP_User_Query return regular objects by default. Fixes #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17013 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 00:38:15 +00:00
scribu 48141dcc84 Get only required fields in populate_network(). See #15854
git-svn-id: https://develop.svn.wordpress.org/trunk@17012 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 00:11:21 +00:00
Ryan Boren 748f5f0154 phpdoc notation fixes. Props demetris. fixes #15852
git-svn-id: https://develop.svn.wordpress.org/trunk@17009 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 22:46:13 +00:00
Peter Westwood 96129e7e4b Give the button an id so it validates.
git-svn-id: https://develop.svn.wordpress.org/trunk@17008 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 21:35:39 +00:00
Peter Westwood f3490db600 Give the screen options Apply button an id so it validates.
git-svn-id: https://develop.svn.wordpress.org/trunk@17007 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 21:08:37 +00:00
scribu 0f40bb19cd Introduce WP_List_Table::search_box(). See #15353
git-svn-id: https://develop.svn.wordpress.org/trunk@17006 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 20:45:10 +00:00
Pete Mall ad14a8f5f4 New filter for network admin plugins action link. Fixes #15850.
git-svn-id: https://develop.svn.wordpress.org/trunk@17004 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:22:46 +00:00
scribu 96e692baed Always display the table, with a placeholder row when there are no items. Fixes #15849
git-svn-id: https://develop.svn.wordpress.org/trunk@17002 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 19:05:14 +00:00
Ryan Boren de072fe02a Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@17001 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 17:48:20 +00:00
Andrew Nacin 541c45ba0e Make network_admin_url() return admin_url() when not multisite like its home and site counterparts. Kill the now redundant maybe_network_admin_url() function. fixes #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16994 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:31:42 +00:00
Andrew Nacin 266cd3f5df Replace check_permissions() with ajax_user_can(). New method returns true/false to current_user_can(), which we then handle in admin ajax. see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16992 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:18:28 +00:00
Andrew Nacin 8661cbc56e Move check_permissions() out of ajax_response(). see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16991 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:48:16 +00:00
Andrew Nacin afecafe7ab Remove check_permissions() calls outside of AJAX context. Also only check for switch_themes in check_permissions() for the themes table. see #15326.
git-svn-id: https://develop.svn.wordpress.org/trunk@16990 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:43:22 +00:00
Andrew Nacin e06249b885 We don't apply markup here. see #15742.
git-svn-id: https://develop.svn.wordpress.org/trunk@16988 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 08:04:54 +00:00
Andrew Nacin 3653bb7926 Use maybe_network_admin_url. see #15840.
git-svn-id: https://develop.svn.wordpress.org/trunk@16978 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:12:55 +00:00
Pete Mall c500dc3d90 s/<? /<?php / in [16963].
git-svn-id: https://develop.svn.wordpress.org/trunk@16973 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 23:21:07 +00:00
Andrew Nacin dd73d5d9d3 Post formats help text. fixes #15376.
git-svn-id: https://develop.svn.wordpress.org/trunk@16969 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:24:34 +00:00
Pete Mall 8b2dc546cf This is only for use in the Network admin when it is always multisite.
git-svn-id: https://develop.svn.wordpress.org/trunk@16968 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:11:55 +00:00
Peter Westwood ca8fa5e2bd This is only for use in the Network admin when it is always multisite.
git-svn-id: https://develop.svn.wordpress.org/trunk@16967 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:09:50 +00:00
Peter Westwood d48ff05f70 Re-instate this code so AJAX still works
git-svn-id: https://develop.svn.wordpress.org/trunk@16966 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 19:04:31 +00:00
Peter Westwood 424a82f2ef Move post_type var setup back into edit.php and reinstate the cap check. See #15326
git-svn-id: https://develop.svn.wordpress.org/trunk@16965 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:58:05 +00:00
Andrew Nacin 31a1806d2e Revert [16645]. see #15625.
git-svn-id: https://develop.svn.wordpress.org/trunk@16964 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:50:39 +00:00
Andrew Nacin 98aac89317 Plugin install and thickbox for the network admin. props ocean90, fixes #15510, fixes #15750.
git-svn-id: https://develop.svn.wordpress.org/trunk@16963 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:48:40 +00:00
Peter Westwood f03dece666 Fix HTML validation errors. Fixes #15716.
git-svn-id: https://develop.svn.wordpress.org/trunk@16962 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:34:59 +00:00
Andrew Nacin 951bc1b23b s/example-about-page/sample-page/. see #14973.
git-svn-id: https://develop.svn.wordpress.org/trunk@16959 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 17:55:49 +00:00
Andrew Nacin 4904a251a5 Don't show extra .0 in _deprecated_argument calls. They should appear in @since docs though.
git-svn-id: https://develop.svn.wordpress.org/trunk@16938 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:27:38 +00:00
scribu 510942bbfb Limit height only to iframe body. Fixes #15679
git-svn-id: https://develop.svn.wordpress.org/trunk@16937 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 10:39:50 +00:00
Ryan Boren 5df71d4669 Expand/collapse in internal linking. Props koopersmith, nacin. see #15739
git-svn-id: https://develop.svn.wordpress.org/trunk@16931 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 02:36:24 +00:00
Andrew Nacin fc524daa7f Remove unneeded stripslashes. see #14543.
git-svn-id: https://develop.svn.wordpress.org/trunk@16923 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 18:56:15 +00:00
Andrew Nacin dc821cedbf Remove ceilings on recent comments and posts widgets and dashboard widgets. fixes #14543.
git-svn-id: https://develop.svn.wordpress.org/trunk@16922 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 17:58:47 +00:00
scribu 1d3a1c1460 Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
git-svn-id: https://develop.svn.wordpress.org/trunk@16911 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 11:53:31 +00:00
scribu a8ad040d3c Run parent title through 'the_title'. Props garyc40. Fixes #13968
git-svn-id: https://develop.svn.wordpress.org/trunk@16908 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 10:22:06 +00:00
Dion Hulse c6f239ae68 Fix fatal error on IIS after r16797. props peaceablewhale. Limit variable string searching when possible. See #10187
git-svn-id: https://develop.svn.wordpress.org/trunk@16904 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 08:31:33 +00:00
Ryan Boren 7f21740324 Use https for preview links if is_ssl(). Props nacin, filosofo. fixes #13328
git-svn-id: https://develop.svn.wordpress.org/trunk@16903 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 22:38:27 +00:00
Ryan Boren 04e1d8553a Add user id to lock. Props duck_. see #15130
git-svn-id: https://develop.svn.wordpress.org/trunk@16901 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:23:46 +00:00
Ryan Boren 6dc2d07bc4 Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
Ryan Boren c5e9c0ce99 Bump ver.
git-svn-id: https://develop.svn.wordpress.org/trunk@16895 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 15:33:39 +00:00
Dion Hulse 3fcf08fe17 Add missing global for r16881 See #15781
git-svn-id: https://develop.svn.wordpress.org/trunk@16882 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 06:40:52 +00:00
Dion Hulse 81e923a291 Include Javascript Global variables in iframe_header(); Add extra style/script actions which are missing from iframe_header() to bring it inline with admin-header.php. Fixes #15781
git-svn-id: https://develop.svn.wordpress.org/trunk@16881 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-12 05:43:35 +00:00
Peter Westwood 721f2b01cf Fix row hilighting when user is spam. See #15558 props beaulebens.
git-svn-id: https://develop.svn.wordpress.org/trunk@16879 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-11 09:40:49 +00:00
Andrew Nacin 3ebb27ae3e Always exit after wp_redirect. props filosofo, fixes #15518.
git-svn-id: https://develop.svn.wordpress.org/trunk@16847 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 18:02:54 +00:00
Ryan Boren c120fd98ee Don't show the WP plugins widget in multisite in the site admin. Props ocean90. fixes #15748
git-svn-id: https://develop.svn.wordpress.org/trunk@16841 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:37:16 +00:00
Andrew Nacin 63d7b51d01 Adjust branching and errors in WP_Themes_List_Table::no_items(). fixes #15751.
git-svn-id: https://develop.svn.wordpress.org/trunk@16838 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:12:04 +00:00
scribu a3c3dc3273 Fix strange JS error when trashing a comment. Props greuben. Fixes #15746
git-svn-id: https://develop.svn.wordpress.org/trunk@16836 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 14:16:35 +00:00
Andrew Nacin bac58b8e62 Example About Page. props jane, studionashvegas. fixes #14973.
git-svn-id: https://develop.svn.wordpress.org/trunk@16835 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 13:20:40 +00:00
Andrew Nacin f11e53166e s/can_edit_site/can_edit_network/g. see #15720.
git-svn-id: https://develop.svn.wordpress.org/trunk@16833 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 12:36:39 +00:00
scribu 9835b5ff25 Add @return to add_*menu_page() docs. Fixes #15747
git-svn-id: https://develop.svn.wordpress.org/trunk@16831 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 06:54:48 +00:00
Andrew Nacin 684d85ff2f Fix menu_page_url() for submenu pages attached to custom menu pages. props duck_, see #14159.
git-svn-id: https://develop.svn.wordpress.org/trunk@16829 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 04:02:37 +00:00
Andrew Nacin fc9815537d Add the for atteibute to internal linking labels. props batmoo, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16827 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 01:46:31 +00:00
Mark Jaquith 596471065a Keep Dashboard RSS widgets in same place when configuring. props duck_. fixes #14785
git-svn-id: https://develop.svn.wordpress.org/trunk@16814 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:53:26 +00:00
Dion Hulse d81779a74d Remove visit site button gradient images from pre-3.0. see [16417]. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16796 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 10:01:18 +00:00
Andrew Nacin 19677466aa Fix logic inversion. see #15699.
git-svn-id: https://develop.svn.wordpress.org/trunk@16794 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 09:28:20 +00:00
Andrew Nacin 668956d2ff Handle posts without titles better in internal linking. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16784 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 00:22:43 +00:00
Andrew Nacin 137601189d Don't show plugin edit link in the site admin. fixes #15722. fixes logic in [16777].
git-svn-id: https://develop.svn.wordpress.org/trunk@16778 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 21:14:44 +00:00
Andrew Nacin 35d7a02cba Don't show plugin edit link in the site admin. fixes #15722.
git-svn-id: https://develop.svn.wordpress.org/trunk@16777 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 21:06:44 +00:00
Andrew Nacin aa29bef29a Don't check post counts in the network admin. props scribu, fixes #15699.
git-svn-id: https://develop.svn.wordpress.org/trunk@16775 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 20:54:04 +00:00
Andrew Nacin b8569cefb7 Fix the background colors for the Select Files upload buttons. props TECannon. fixes #8545.
git-svn-id: https://develop.svn.wordpress.org/trunk@16773 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 19:42:57 +00:00
Ryan Boren 5eb199f6f3 Fix return the themes links. Props duck_. fixes #15718
git-svn-id: https://develop.svn.wordpress.org/trunk@16766 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:01:58 +00:00
Peter Westwood f6b9beb519 Use a span so we mark up the all the info about the site. See #15716 - allows for css targetting based on site.
git-svn-id: https://develop.svn.wordpress.org/trunk@16765 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 15:00:30 +00:00
Peter Westwood 9c2a7dc314 Introduce can_edit_site to replace inline checks on whether or not the site_id is for the current Network. See #15716.
git-svn-id: https://develop.svn.wordpress.org/trunk@16764 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 14:28:40 +00:00
Peter Westwood 0485062f5d Allow for the callee of download_url() to specify a different timeout if they want to - maybe they don't want to wait that long.
git-svn-id: https://develop.svn.wordpress.org/trunk@16763 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 12:45:24 +00:00
Andrew Nacin a63bf413ad Move [14551] to after the is_wp_error check. see #13133, fixes #15511, props alexdunae.
git-svn-id: https://develop.svn.wordpress.org/trunk@16761 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 07:12:55 +00:00
Andrew Nacin 689a65c8e6 Don't reference nonexistent tabs. see #15707.
git-svn-id: https://develop.svn.wordpress.org/trunk@16759 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 21:37:35 +00:00
Andrew Nacin efa71cfe2c Set AuthorName even when no translation or markup is processed. see #15662.
git-svn-id: https://develop.svn.wordpress.org/trunk@16758 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 21:18:18 +00:00
Andrew Nacin efbe42fc1c Add AuthorName to get_plugins() and use it when deleting a plugin. fixes #15662.
git-svn-id: https://develop.svn.wordpress.org/trunk@16757 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 20:49:54 +00:00
Andrew Nacin 975fb7af21 Don't show theme deletion link in multisite in the site admin. Also, link to proper theme-install when using multisite if there are no themes. see #15707.
git-svn-id: https://develop.svn.wordpress.org/trunk@16756 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 20:48:41 +00:00
Andrew Nacin e6dbe89d7d Fix handling of no titles and long titles in internal linking. see #11240.
git-svn-id: https://develop.svn.wordpress.org/trunk@16750 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 16:28:06 +00:00
Andrew Nacin cad9b99f1e Use correct variable. props ocean90, fixes #15693.
git-svn-id: https://develop.svn.wordpress.org/trunk@16748 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:44:30 +00:00
Andrew Nacin 8abcb8e5ce Link to network/update-core when running multisite. Remove theme/plugin editors from blog menu when running multisite. Redirect to network/* when accessing theme/plugin-install/editor. props ocean90, see #15525.
git-svn-id: https://develop.svn.wordpress.org/trunk@16747 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:41:19 +00:00
Andrew Nacin 2c44ffcc57 Restore bottom padding in plugin rows. fixes #15547.
git-svn-id: https://develop.svn.wordpress.org/trunk@16745 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:15:09 +00:00
Andrew Nacin 4bc60bd62a String fixes. props demetris. fixes #15688.
git-svn-id: https://develop.svn.wordpress.org/trunk@16734 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 14:31:18 +00:00
Andrew Nacin e16287f1fa Export filtering JS and minor tweaks. props duck_, see #15197.
git-svn-id: https://develop.svn.wordpress.org/trunk@16733 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 11:21:08 +00:00
Andrew Nacin d6ae552b4e Fix notice. props vericgar, fixes #11976.
git-svn-id: https://develop.svn.wordpress.org/trunk@16729 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 03:01:42 +00:00
Andrew Nacin 7cf388085a Add 'Visual Editor RTL Stylesheet' to the list of theme file descriptions. see #15672.
git-svn-id: https://develop.svn.wordpress.org/trunk@16717 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 04:22:48 +00:00
scribu a01db8b692 Check correct cap in WP_Terms_List_Table::check_permissions. Props duck_. Fixes #15673
git-svn-id: https://develop.svn.wordpress.org/trunk@16713 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 23:18:02 +00:00
scribu 9efb88a3ac Use more specific view classes in plugin & theme install screens. Props batmoo. Fixes #15658
git-svn-id: https://develop.svn.wordpress.org/trunk@16710 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 18:51:24 +00:00
Pete Mall 2cda8d6dd2 Show network only plugins for !is_multisite. Fixes #15666
git-svn-id: https://develop.svn.wordpress.org/trunk@16709 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 18:05:37 +00:00
Peter Westwood 4e3458f227 Actions and Filters for the Network Admin sites panel to make it easier to add custom actions.
git-svn-id: https://develop.svn.wordpress.org/trunk@16707 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 12:12:44 +00:00
Mark Jaquith 2158fc7445 Backwards compat for plugin use of updated=1. fixes #15660
git-svn-id: https://develop.svn.wordpress.org/trunk@16706 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 10:59:20 +00:00
scribu 8d2cf2d793 More s/upgrade/update. Props michaelh. See #15656
git-svn-id: https://develop.svn.wordpress.org/trunk@16701 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 09:16:28 +00:00
Pete Mall 9ad4ce2511 s/Enable/Network Enable for net admin themes. Fixes #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16700 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 23:49:18 +00:00
Andrew Nacin 872372d68c s/occured/occurred/. props aldenta, fixes #15653.
git-svn-id: https://develop.svn.wordpress.org/trunk@16699 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 23:30:21 +00:00
Mark Jaquith 13ed00f2d4 Standardize around "Update" instead of "Upgrade." props RanYanivHartstein. props latz. fixes #14107
git-svn-id: https://develop.svn.wordpress.org/trunk@16696 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 21:45:47 +00:00
scribu 6708e2ea42 Fix compression test 404. Props duck_. Fixes #15496
git-svn-id: https://develop.svn.wordpress.org/trunk@16689 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 14:15:25 +00:00
Andrew Nacin 4a8c7f3dfa add_editor_style should include the parent theme CSS before the child theme CSS for override reasons. props JohnPBloch. fixes #14430.
git-svn-id: https://develop.svn.wordpress.org/trunk@16688 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 13:54:56 +00:00
Andrew Nacin 45051d8206 define isRtl in the media upload iframe. props filosofo, fixes #15639.
git-svn-id: https://develop.svn.wordpress.org/trunk@16687 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 12:44:48 +00:00
Mark Jaquith a2a3977b3c PHPDoc. see #15638
git-svn-id: https://develop.svn.wordpress.org/trunk@16684 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 05:47:17 +00:00
Andrew Nacin e86dc10b71 Revert [15742]. Custom post types and sticky posts don't mix. fixes #12702.
git-svn-id: https://develop.svn.wordpress.org/trunk@16680 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 03:39:26 +00:00
Mark Jaquith c821bc7ca2 The name of the standard post format is now Standard (might offer ability to change Default). fixes #15582
git-svn-id: https://develop.svn.wordpress.org/trunk@16679 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 03:19:14 +00:00
Mark Jaquith 86ab422fcc Move Post Format UI out of Publish meta box and into its own box. see #15638
git-svn-id: https://develop.svn.wordpress.org/trunk@16678 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 02:42:38 +00:00
Ryan Boren 14a1be89f6 Deprecate and ignore the refresh arg. fixes #15605
git-svn-id: https://develop.svn.wordpress.org/trunk@16673 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 22:12:09 +00:00
Mark Jaquith c9b4b18cf9 Prevent media upload links from being clicked before lightbox is ready to handle them. fixes #15621
git-svn-id: https://develop.svn.wordpress.org/trunk@16669 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:41:47 +00:00
Ryan Boren 36a4508140 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: https://develop.svn.wordpress.org/trunk@16660 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:24:38 +00:00
Ryan Boren b9b0e7215c Save meta id before performing actions since the insert_id can change. Props cyberhobo. fixes #15465
git-svn-id: https://develop.svn.wordpress.org/trunk@16659 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:11:47 +00:00
Ryan Boren 51879abf56 Export filtering. Props duck_. fixes #15197
git-svn-id: https://develop.svn.wordpress.org/trunk@16652 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 17:21:58 +00:00
Ryan Boren ca60ed1d07 Don’t nag to Change Permalinks if permalink structure is defined. Props demetris. fixes #13918
git-svn-id: https://develop.svn.wordpress.org/trunk@16651 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 17:16:22 +00:00
Peter Westwood 80c79e5607 Don't show the Post Format if the current theme doesn't support them. Fixes #15625.
git-svn-id: https://develop.svn.wordpress.org/trunk@16645 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 12:31:27 +00:00
Nikolay Bachiyski 508084aba6 Add another pair of parentheses, so that the right-hand win_is_writable() isn't always called. Fixes #15616
git-svn-id: https://develop.svn.wordpress.org/trunk@16635 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 21:41:57 +00:00
Nikolay Bachiyski d79653915b Run the iis7_supports_permalinks() check first
* It's cheapest, most of the others involve disk operations
 * Doesn't go through win_is_writable(), which can't avoid relying on the @ operator


git-svn-id: https://develop.svn.wordpress.org/trunk@16634 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 20:50:59 +00:00
Pete Mall 4331aa9663 Remove update notifications from site-themes. See #14897
git-svn-id: https://develop.svn.wordpress.org/trunk@16629 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 20:31:49 +00:00
Nikolay Bachiyski 757aeb2121 Rename the $rm variable so that the logic in win_is_writable() makes more sense
git-svn-id: https://develop.svn.wordpress.org/trunk@16623 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 19:57:39 +00:00
Nikolay Bachiyski 8a45977efc Proper spacing in win_is_writable(), according to the coding standards
git-svn-id: https://develop.svn.wordpress.org/trunk@16622 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 19:13:27 +00:00
Nikolay Bachiyski 17ad180ca0 COonvert spaces to tabs
git-svn-id: https://develop.svn.wordpress.org/trunk@16621 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 19:11:09 +00:00
Pete Mall 04b78e6ab2 Remove theme udpate notification from site admin for multisite installs.
git-svn-id: https://develop.svn.wordpress.org/trunk@16620 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 03:03:40 +00:00
scribu 907353550e Get rid of in favor of . Fixes #15607. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16617 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 20:15:04 +00:00
Ryan Boren b15476c5fd Remove unnecessary addslashes. Props duck_. fixes #15325
git-svn-id: https://develop.svn.wordpress.org/trunk@16608 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 14:40:43 +00:00
Peter Westwood d36b682a59 Make the list of actions that can be performed on a site in the User List in Network admin filterable.
Add classes for all core site status types to the view url.
Move the CSS to a css file rather than including it inline.
See #15558

git-svn-id: https://develop.svn.wordpress.org/trunk@16607 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 13:31:42 +00:00
scribu 90109c1aea Set get_users() as a replacement to get_editable_user_ids() and friends. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@16605 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 05:39:39 +00:00
scribu 5c78a0ff01 Make bottom admin pagination scroll to the top after rows are updated. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16602 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-28 19:05:12 +00:00
scribu 22f5bc004f Fix problems with hidden columns on network users screen. Props ocean90. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16601 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-28 17:39:44 +00:00
scribu 5e2c697088 Update get_*_columns() method docs. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16594 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 09:12:38 +00:00
scribu 507547af83 Make date columns first sort in descending order. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16593 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 02:03:02 +00:00
scribu 2116903ae6 Make comment content column unsortable. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16588 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 18:45:28 +00:00
scribu 9de282e670 Check public flag instead of query_var to decide if counts should be linked. See #15573
git-svn-id: https://develop.svn.wordpress.org/trunk@16579 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 01:39:34 +00:00
scribu 853d2537c7 Don't link post counts if taxonomy isn't queryable. Fixes #15573
git-svn-id: https://develop.svn.wordpress.org/trunk@16578 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 23:29:13 +00:00
Mark Jaquith 012da48a0a Improve the wording of the file upload security message. props janeforshort. fixes #13550
git-svn-id: https://develop.svn.wordpress.org/trunk@16577 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 20:45:21 +00:00
Pete Mall 21955a7e8c Use get_user_count() in network admin users. Fixes #15567
git-svn-id: https://develop.svn.wordpress.org/trunk@16574 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 20:03:28 +00:00
Pete Mall 7f3b087f38 Hide posts column for site-users. Props ocean90, see #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16573 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 19:51:36 +00:00
Pete Mall 0b83b57a70 Add screen option in site-users. Props duck_, see #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16570 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 16:54:53 +00:00
Mark Jaquith 5f5d514b4b Do not double up on id attribute for submit_button() if id is provided in other attributes param. props duck_. see #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16568 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 16:30:40 +00:00
Peter Westwood b1417100ce Error suppression is lame!
git-svn-id: https://develop.svn.wordpress.org/trunk@16565 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 11:19:23 +00:00
Mark Jaquith 2cc12c224e Make Linking and Internal Linking keyboard-friendly and URL-paste-friendly. props koopersmith. fixes #15544
git-svn-id: https://develop.svn.wordpress.org/trunk@16561 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 06:44:46 +00:00
Pete Mall ac67c65fe4 Adapt user-list-table for network admin site-users. See #15558
git-svn-id: https://develop.svn.wordpress.org/trunk@16560 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 05:31:25 +00:00
Pete Mall 842d059bd1 Site Themes cleanup. See #14897.
git-svn-id: https://develop.svn.wordpress.org/trunk@16559 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 00:27:54 +00:00
Ryan Boren 0f2e7ef602 Set blog id for site-themes.php AJAX requests.
git-svn-id: https://develop.svn.wordpress.org/trunk@16556 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 22:27:05 +00:00
Peter Westwood 33e3c14b11 And proper context too!
git-svn-id: https://develop.svn.wordpress.org/trunk@16550 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 13:50:23 +00:00
Peter Westwood 2be428108c Correct incorrect action name.
git-svn-id: https://develop.svn.wordpress.org/trunk@16549 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 13:41:57 +00:00
Peter Westwood ecdda2ce86 Require nonces for all the confirm links so we know they actually came from us.
Add a nonce check on the confirm links in the Network Admin stage two.


git-svn-id: https://develop.svn.wordpress.org/trunk@16548 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 12:14:03 +00:00
Peter Westwood 66a5b13074 Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table column added for the wpmublogsaction hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@16546 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 11:46:10 +00:00
Peter Westwood 40115d566d Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table.
git-svn-id: https://develop.svn.wordpress.org/trunk@16545 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 11:39:50 +00:00
scribu ef9b5fb1ec Document url_shorten() and use in more places. Props latz for initial patch. Fixes #15540
git-svn-id: https://develop.svn.wordpress.org/trunk@16536 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 17:17:31 +00:00
Andrew Nacin e8dd42ce2a Revert [15688], [15689], [15691]. Try again in 3.2. see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@16535 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 17:17:26 +00:00
Pete Mall 250c2d591e Use first and last name in network admin users. Fixes #15528.
git-svn-id: https://develop.svn.wordpress.org/trunk@16530 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 04:31:31 +00:00
Andrew Nacin 3cf1723947 Use 'Update' and 'Save Link' for internal linking submit button. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16510 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 19:27:12 +00:00
Andrew Nacin bc868ac452 Indent a foreach.
git-svn-id: https://develop.svn.wordpress.org/trunk@16509 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 19:20:32 +00:00
scribu 306874cbb6 Don't need WP_MS_Users_List_Table constructor anymore. See [16501]
git-svn-id: https://develop.svn.wordpress.org/trunk@16507 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 14:03:49 +00:00
Ryan Boren 0786857c32 Don't esc_textarea() in meta boxes since the post object is already escaped. Props Viper007Bond. see #15505
git-svn-id: https://develop.svn.wordpress.org/trunk@16502 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 06:10:07 +00:00
Ryan Boren bc9642a3f5 Could not bulk edit users in Network Admin due to reversed logic on capability check, and incorrect action included for comparing to nonce. Props beaulebens
git-svn-id: https://develop.svn.wordpress.org/trunk@16501 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 05:48:35 +00:00
Andrew Nacin c32cd17908 self_admin_url in plugin-install. props ocean90, fixes #14062.
git-svn-id: https://develop.svn.wordpress.org/trunk@16499 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 01:38:21 +00:00
Andrew Nacin 10f92b7e87 Don't include Network Only plugins in the site admin plugin counts. props PeteMall, fixes #15502.
git-svn-id: https://develop.svn.wordpress.org/trunk@16498 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 01:23:44 +00:00
Ryan Boren c245d5f44b Site search performance tweaks. Use subquery for registration log queries to allow cross DB queries. Lose order by id by default. Search only by blog_id for numeric search strings. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16489 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 18:16:03 +00:00
Andrew Nacin f86af64e5f Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16479 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:31:07 +00:00
Ryan Boren 6d3ae66a3b get_media_item_args, swfupload_post_params, and swfupload_success_handler filters. Props simonwheatley. fixes #13817
git-svn-id: https://develop.svn.wordpress.org/trunk@16476 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 00:04:04 +00:00
scribu 62b4cd2ec7 Make entire sortable header clickable. Props batmoo. Fixes #15352
git-svn-id: https://develop.svn.wordpress.org/trunk@16472 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 21:39:22 +00:00
Ryan Boren 14d7d29453 Fix undefined offset warnings on pages the current user does not have perms for. Props wpdavis. fixes #15469
git-svn-id: https://develop.svn.wordpress.org/trunk@16471 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:55:05 +00:00
Andrew Nacin ccea27cbe7 More param fixes, props duck_. see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@16469 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:12:48 +00:00
scribu 396da01570 Always use 'paged' in list tables. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16465 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 17:00:24 +00:00
Andrew Nacin 7cccd5715f Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16459 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 07:59:05 +00:00
Andrew Nacin 655df3af90 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16457 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 06:22:13 +00:00
Andrew Nacin 957b0789c2 Fix width of nav menu search boxes. props batmoo, fixes #15464.
git-svn-id: https://develop.svn.wordpress.org/trunk@16452 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:16:43 +00:00
Andrew Nacin 1c1f8d45d4 Include a single-column option in gallery settings. props husobj, fixes #14836.
git-svn-id: https://develop.svn.wordpress.org/trunk@16449 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 03:30:55 +00:00
Andrew Nacin 8f2924ad13 What you don't know can hurt you. Don't show 'You cannot modify this taxonomy.' props johnjamesjacoby, fixes #14197.
git-svn-id: https://develop.svn.wordpress.org/trunk@16445 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 02:22:01 +00:00
Andrew Nacin 1612e23e86 We don't want a populated WP_User object here. see #14642.
git-svn-id: https://develop.svn.wordpress.org/trunk@16443 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 00:26:29 +00:00
Andrew Nacin 17345a6cfa Kill unnecessary br.clear after div.tablenav. fixes #15354.
git-svn-id: https://develop.svn.wordpress.org/trunk@16442 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 20:10:12 +00:00
Ryan Boren 4b33a0e9c4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
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