Make WordPress Core


Ignore:
Timestamp:
09/12/2023 03:21:02 PM (17 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Include one space after function keyword for closures.

Note: This is enforced by WPCS 3.0.0.

Reference: WPCS: PR #2328 Core: properly check formatting of function declaration statements.

Props jrf.
See #59161, #58831.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-customize.php

    r55633 r56559  
    9393                    'capability'        => 'edit_theme_options',
    9494                    'default'           => 'excerpt',
    95                     'sanitize_callback' => static function( $value ) {
     95                    'sanitize_callback' => static function ( $value ) {
    9696                        return 'excerpt' === $value || 'full' === $value ? $value : 'excerpt';
    9797                    },
Note: See TracChangeset for help on using the changeset viewer.