Commit Graph

24 Commits

Author SHA1 Message Date
Andrew Nacin b1ba2dd995 Deprecate display_theme(). see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20141 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 18:29:36 +00:00
Daryl Koopersmith 7464fa9565 Theme Customizer: Make theme installer no-js compatible. Fix JS click handler that caught clicks on the 'Activate' link. Relocate display_theme() to WP_Theme_Install_List_Table->single_row(). see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20140 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 18:24:34 +00:00
Daryl Koopersmith 6e93f773b4 Theme Customizer: Begin integration into the install process. Combine previews, details, and install into a single workflow. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20138 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 17:35:17 +00:00
Andrew Nacin b6b4d37fcb Allow WP_List_Table::_js_vars() to take an array of additional args to add. Allows us to have a single variable printing data when child classes need more data. Also, fix compact() call in [20094]. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20100 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 23:06:31 +00:00
Andrew Nacin c56b5f3f59 Use sanitize_key(). sanitize_title_with_dashes() is more than we need. see #19815. see [20096], [20097].
git-svn-id: https://develop.svn.wordpress.org/trunk@20098 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:32:29 +00:00
Andrew Nacin 9f47e027ca Revert [20096] which was an accidental partial revert of [20094]. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20097 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:31:15 +00:00
Andrew Nacin 7dd527a421 Use sanitize_key() for theme search tags/features. sanitize_title_with_dashes() is overkill. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20096 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:26:58 +00:00
Andrew Nacin 43209998c6 Output themes and theme-install infinite scrolling args in JS, rather than parsing query strings. props DH-Shredder, helenyhou. Make WP_Theme_Install_List_Table extend WP_Themes_List_Table. Doesn't help much yet, but we should be able to dry things up further. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20094 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:09:26 +00:00
Ryan Boren 1597835e12 Infinite scroll for themes.php and theme-install.php. Bump per page limit for themes.php to 999. Props helenyhou, DH-Shredder. see #19815
git-svn-id: https://develop.svn.wordpress.org/trunk@19887 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 17:20:26 +00:00
Ryan Boren 7cd04da2e6 Change feature filter from post to get so feature selections aren't lost when paging. Props SergeyBiryukov. fixes #18094
git-svn-id: https://develop.svn.wordpress.org/trunk@19857 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 21:06:52 +00:00
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Andrew Ozz aea659a859 Responsive themes screen, props helenyhou, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18673 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 04:26:26 +00:00
Andrew Nacin 2b4674a3b4 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: https://develop.svn.wordpress.org/trunk@17322 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:47:24 +00:00
Ryan Boren 5844e953a8 Improve presentation when there are no available themes. Props solarissmoke, garyc40. fixes #16196
git-svn-id: https://develop.svn.wordpress.org/trunk@17303 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 00:35:29 +00:00
Andrew Nacin 84e50d906f Leave the 'Try Again' link for the wp_die() when the themes API fails. props solarissmoke, fixes #16132.
git-svn-id: https://develop.svn.wordpress.org/trunk@17264 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 00:18:23 +00:00
Andrew Nacin 6d0af32ea7 Add nonces to instances where the list table display() method is overridden. see #16188.
git-svn-id: https://develop.svn.wordpress.org/trunk@17262 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 22:42:22 +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
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
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
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
scribu 7edd2f0090 Default to get_current_screen() in list table classes. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16182 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 15:00:55 +00:00
Peter Westwood 817aa1975c Revert [16171] and [16172] - The class names were fine as they were and the MultiSite classes stand out more with the original naming.
git-svn-id: https://develop.svn.wordpress.org/trunk@16175 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:07:03 +00:00
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
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