Make WordPress Core


Ignore:
Timestamp:
07/02/2019 11:41:16 PM (5 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/class-wp-embed.php

    r43571 r45590  
    171171            foreach ( $handlers as $id => $handler ) {
    172172                if ( preg_match( $handler['regex'], $url, $matches ) && is_callable( $handler['callback'] ) ) {
    173                     if ( false !== $return = call_user_func( $handler['callback'], $matches, $attr, $url, $rawattr ) ) {
     173                    $return = call_user_func( $handler['callback'], $matches, $attr, $url, $rawattr );
     174                    if ( false !== $return ) {
    174175                        /**
    175176                         * Filters the returned embed handler.
Note: See TracChangeset for help on using the changeset viewer.