Ticket #28749: 28749.2.diff
File 28749.2.diff, 904 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/includes/ajax-actions.php
2577 2577 2578 2578 $old_filter = isset( $args['browse'] ) ? $args['browse'] : 'search'; 2579 2579 2580 /** This filter is documented in wp-admin/includes/class-wp-theme-install-list-table.php */ 2580 /** 2581 * Filter API request arguments for each Install Themes screen tab. 2582 * 2583 * The dynamic portion of the hook name, $tab, refers to the theme install 2584 * tabs. Default tabs are 'dashboard', 'search', 'upload', 'featured', 2585 * 'new', and 'updated'. 2586 * 2587 * @since 3.7.0 2588 * 2589 * @param array $args An array of themes API arguments. 2590 */ 2581 2591 $args = apply_filters( 'install_themes_table_api_args_' . $old_filter, $args ); 2582 2592 2583 2593 $api = themes_api( 'query_themes', $args );