[wp-trac] [WordPress Trac] #38296: Remove $sep variable duplication from Ternary Operator

WordPress Trac noreply at wordpress.org
Sun Sep 26 15:16:56 UTC 2021


#38296: Remove $sep variable duplication from Ternary Operator
----------------------------+-----------------------------
 Reporter:  joelcj91        |       Owner:  (none)
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  administration
----------------------------+-----------------------------
Changes (by audrasjb):

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


Comment:

 Closing this ticket as fixed since it looks like it was previously fixed
 in another one.
 Now the related code is:
 `$sep = ( $i < $action_count ) ? ' | ' : '';`

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


More information about the wp-trac mailing list