[wp-trac] [WordPress Trac] #60700: Coding Standards fixes for WP 6.6

WordPress Trac noreply at wordpress.org
Wed Mar 20 15:51:37 UTC 2024


#60700: Coding Standards fixes for WP 6.6
--------------------------------------+-------------------------------
 Reporter:  mukesh27                  |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.6
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  coding-standards
--------------------------------------+-------------------------------

Comment (by knutsp):

 Just wondering. The expression in line 127
 {{{#!php
 $bookmark->link_image && $parsed_args['show_images']
 }}}
 seems to be a boolean, because it contains a boolean operator. How can it
 ever be identical to an empty string?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60700#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list