Make WordPress Core


Ignore:
Timestamp:
07/02/2019 11:41:16 PM (7 years ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes.

See #47632.

File:
1 edited

Legend:

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

    r45589 r45590  
    58525852 */
    58535853function maybe_hash_hex_color( $color ) {
    5854         if ( $unhashed = sanitize_hex_color_no_hash( $color ) ) {
     5854        $unhashed = sanitize_hex_color_no_hash( $color );
     5855        if ( $unhashed ) {
    58555856                return '#' . $unhashed;
    58565857        }
Note: See TracChangeset for help on using the changeset viewer.