Making WordPress.org


Ignore:
Timestamp:
09/15/2021 05:42:42 AM (5 years ago)
Author:
dd32
Message:

Theme Directory: Remove a non-used variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php

    r11230 r11235  
    635635                // Pass it through Theme Check and see how great this theme really is.
    636636                if ( $args['run_themecheck'] ) {
    637                         $result = $this->check_theme( $theme_files );
     637                        $result = $this->check_theme();
    638638
    639639                        if ( ! $result && $args['block_on_themecheck'] ) {
     
    995995         * Sends a theme through Theme Check.
    996996         *
    997          * @param array $files All theme files to check.
    998997         * @return bool Whether the theme passed the checks.
    999998         */
    1000         public function check_theme( $files ) {
     999        public function check_theme() {
    10011000                // Load the theme checking code.
    10021001                if ( ! function_exists( 'run_themechecks_against_theme' ) ) {
Note: See TracChangeset for help on using the changeset viewer.