Make WordPress Core


Ignore:
Timestamp:
09/12/2023 03:21:02 PM (12 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-includes/block-supports/layout.php

    r56382 r56559  
    790790    $updated_content = preg_replace_callback(
    791791        $replace_regex,
    792         static function( $matches ) {
     792        static function ( $matches ) {
    793793            return $matches[1] . '<div class="wp-block-group__inner-container">' . $matches[2] . '</div>' . $matches[3];
    794794        },
Note: See TracChangeset for help on using the changeset viewer.