WordPress.org

Make WordPress Core

Ticket #28749: 28749.2.diff

File 28749.2.diff, 904 bytes (added by michalzuber, 6 years ago)

Replace inline doc

  • src/wp-admin/includes/ajax-actions.php

     
    25772577
    25782578        $old_filter = isset( $args['browse'] ) ? $args['browse'] : 'search';
    25792579
    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         */
    25812591        $args = apply_filters( 'install_themes_table_api_args_' . $old_filter, $args );
    25822592
    25832593        $api = themes_api( 'query_themes', $args );