[wp-trac] [WordPress Trac] #38296: Remove $sep variable duplication from Ternary Operator
WordPress Trac
noreply at wordpress.org
Mon Sep 27 00:35:52 UTC 2021
#38296: Remove $sep variable duplication from Ternary Operator
---------------------------+-----------------------------------------------
Reporter: joelcj91 | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.9
Component: | Version: 3.1
Administration |
Severity: minor | Resolution: fixed
Keywords: has-patch | Focuses: administration, coding-standards
---------------------------+-----------------------------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"51873" 51873]:
{{{
#!CommitTicketReference repository="" revision="51873"
Coding Standards: Remove duplicate assignment from a ternary operator in
`WP_MS_Sites_List_Table::site_states()`.
Adjust similar code in `_post_states()` and `_media_states()` for
consistency.
Follow-up to:
* [12897], [15491], [32755], [46153], [48424] for
`WP_MS_Sites_List_Table::site_states()`.
* [17793], [47775], [49223] for `_media_states()`.
* [9153], [46309] for `_post_states()`.
Props joelcj91, audrasjb, desrosj.
Fixes #38296.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38296#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list