[wp-trac] [WordPress Trac] #60369: Shortcut for Select Button in Media Library

WordPress Trac noreply at wordpress.org
Tue Sep 17 22:24:59 UTC 2024


#60369: Shortcut for Select Button in Media Library
-----------------------------------+----------------------------
 Reporter:  hirschferkel           |       Owner:  antpb
     Type:  enhancement            |      Status:  closed
 Priority:  normal                 |   Milestone:  6.7
Component:  Media                  |     Version:
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |     Focuses:  accessibility
-----------------------------------+----------------------------

Comment (by antpb):

 In [changeset:"59037" 59037]:
 {{{
 #!CommitTicketReference repository="" revision="59037"
 Coding Standards: Avoid using confusing `!` condition in Media Library
 selection check.

 Checks that value is now equal or less than or equal to 0 which has the
 same result as the previous confusing `!` usage.

 Props kadamwhite, drjosh07.
 See #60369.
 }}}

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


More information about the wp-trac mailing list