Make WordPress Core


Ignore:
Timestamp:
03/03/2020 11:38:00 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct formatting of some DocBlocks in Plugin_Upgrader and Theme_Upgrader per the documentation standards.

See #49400.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-theme-upgrader.php

    r47409 r47414  
    530530         *
    531531         * @param bool|WP_Error $return Upgrade offer return.
    532          * @param array         $theme Theme arguments.
     532         * @param array         $theme  Theme arguments.
    533533         * @return bool|WP_Error The passed in $return param or WP_Error.
    534534         */
     
    562562         *
    563563         * @param bool|WP_Error $return Upgrade offer return.
    564          * @param array         $theme Theme arguments.
     564         * @param array         $theme  Theme arguments.
    565565         * @return bool|WP_Error The passed in $return param or WP_Error.
    566566         */
     
    572572                $theme = isset( $theme['theme'] ) ? $theme['theme'] : '';
    573573
    574                 // Only run if current theme
     574                // Only run if current theme.
    575575                if ( get_stylesheet() !== $theme ) {
    576576                        return $return;
Note: See TracChangeset for help on using the changeset viewer.