Commit Graph

2701 Commits

Author SHA1 Message Date
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