Make WordPress Core


Ignore:
Timestamp:
02/09/2020 04:52:28 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use Yoda conditions where appropriate.

See #49222.

File:
1 edited

Legend:

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

    r47122 r47219  
    114114                $output .= $parsed_args['link_before'];
    115115
    116                 if ( $bookmark->link_image != null && $parsed_args['show_images'] ) {
     116                if ( null != $bookmark->link_image && $parsed_args['show_images'] ) {
    117117                        if ( strpos( $bookmark->link_image, 'http' ) === 0 ) {
    118118                                $output .= "<img src=\"$bookmark->link_image\" $alt $title />";
Note: See TracChangeset for help on using the changeset viewer.