[wp-trac] [WordPress Trac] #30093: Codestyling and optimization
WordPress Trac
noreply at wordpress.org
Sat Oct 25 16:32:54 UTC 2014
#30093: Codestyling and optimization
-------------------------+-----------------------------
Reporter: ipm-frommen | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: wontfix
Keywords: has-patch | Focuses: administration
-------------------------+-----------------------------
Comment (by SergeyBiryukov):
These checks are actually redundant, the one inside the `foreach()` loop
(line 1119) is enough.
We have a precedent for removing extra code like this in [23722].
Let's keep `isset( $wp_meta_boxes[ $page ][ $context ] )` though, to avoid
reformatting the whole block.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30093#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list