[wp-trac] [WordPress Trac] #44951: Don't assign a variable inside an If statement in get_the_modified_author()

WordPress Trac noreply at wordpress.org
Tue Jan 8 05:49:55 UTC 2019


#44951: Don't assign a variable inside an If statement in get_the_modified_author()
-------------------------------+-------------------------------
 Reporter:  promz              |       Owner:  pento
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:  5.1
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  minor              |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  coding-standards
-------------------------------+-------------------------------
Changes (by pento):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44461" 44461]:
 {{{
 #!CommitTicketReference repository="" revision="44461"
 Coding Standards: Improve the readability of `get_the_modified_author()`.

 Props promz.
 Fixes #44951.
 }}}

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


More information about the wp-trac mailing list