Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes.
See #47632. Built from https://develop.svn.wordpress.org/trunk@45590 git-svn-id: http://core.svn.wordpress.org/trunk@45401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -170,7 +170,8 @@ class WP_Embed {
|
||||
foreach ( $this->handlers as $priority => $handlers ) {
|
||||
foreach ( $handlers as $id => $handler ) {
|
||||
if ( preg_match( $handler['regex'], $url, $matches ) && is_callable( $handler['callback'] ) ) {
|
||||
if ( false !== $return = call_user_func( $handler['callback'], $matches, $attr, $url, $rawattr ) ) {
|
||||
$return = call_user_func( $handler['callback'], $matches, $attr, $url, $rawattr );
|
||||
if ( false !== $return ) {
|
||||
/**
|
||||
* Filters the returned embed handler.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user