Make WordPress Core


Ignore:
Timestamp:
06/20/2020 12:12:39 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Miscellaneous DocBlock corrections for plugin and theme installation and updates.

See #49572.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php

    r48092 r48105  
    640640        public function column_description( $theme ) {
    641641                global $status, $totals;
     642
    642643                if ( $theme->errors() ) {
    643644                        $pre = 'broken' === $status ? __( 'Broken Theme:' ) . ' ' : '';
     
    681682                        );
    682683                }
     684
    683685                /**
    684686                 * Filters the array of row meta for each theme in the Multisite themes
     
    687689                 * @since 3.1.0
    688690                 *
    689                  * @param string[] $theme_meta An array of the theme's metadata,
    690                  *                             including the version, author, and
    691                  *                             theme URI.
     691                 * @param string[] $theme_meta An array of the theme's metadata, including
     692                 *                             the version, author, and theme URI.
    692693                 * @param string   $stylesheet Directory name of the theme.
    693694                 * @param WP_Theme $theme      WP_Theme object.
     
    695696                 */
    696697                $theme_meta = apply_filters( 'theme_row_meta', $theme_meta, $stylesheet, $theme, $status );
     698
    697699                echo implode( ' | ', $theme_meta );
    698700
     
    769771                 * @since 5.5.0
    770772                 *
    771                  * @param string   $html       The HTML for theme’s auto-update setting including toggle auto-update action link
    772                  *                             and time to next update.
     773                 * @param string   $html       The HTML for theme's auto-update setting, including
     774                 *                             toggle auto-update action link and time to next update.
    773775                 * @param string   $stylesheet Directory name of the theme.
    774776                 * @param WP_Theme $theme      WP_Theme object.
Note: See TracChangeset for help on using the changeset viewer.