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:
@@ -98,7 +98,8 @@ function update_post_thumbnail_cache( $wp_query = null ) {
|
||||
|
||||
$thumb_ids = array();
|
||||
foreach ( $wp_query->posts as $post ) {
|
||||
if ( $id = get_post_thumbnail_id( $post->ID ) ) {
|
||||
$id = get_post_thumbnail_id( $post->ID );
|
||||
if ( $id ) {
|
||||
$thumb_ids[] = $id;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user