Make WordPress Core


Ignore:
Timestamp:
02/02/2021 06:02:36 PM (5 years ago)
Author:
desrosj
Message:

Coding Standards: Fix several minor coding standards issues.

These are made by running composer format.

Follow up to [50124], [50129], [50143].

See #49961, #52192, #34281.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/cron.php

    r50143 r50152  
    545545    if ( ! is_array( $args ) ) {
    546546        _deprecated_argument( __FUNCTION__, '3.0.0', __( 'This argument has changed to an array to match the behavior of the other cron functions.' ) );
    547         $args = array_slice( func_get_args(), 1 ); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
     547        $args     = array_slice( func_get_args(), 1 ); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
    548548        $wp_error = false;
    549549    }
     
    11831183function _set_cron_array( $cron, $wp_error = false ) {
    11841184    $cron['version'] = 2;
    1185     $result = update_option( 'cron', $cron );
     1185    $result          = update_option( 'cron', $cron );
    11861186
    11871187    if ( $wp_error && ! $result ) {
Note: See TracChangeset for help on using the changeset viewer.