[wp-trac] [WordPress Trac] #39213: Audit the network pages notices.
WordPress Trac
noreply at wordpress.org
Thu Feb 23 00:28:06 UTC 2023
#39213: Audit the network pages notices.
-------------------------------------------------+-------------------------
Reporter: afercia | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.2
Component: Networks and Sites | Version: 4.7
Severity: normal | Resolution:
Keywords: has-ui-feedback good-first-bug has- | Focuses: ui,
patch commit | multisite
-------------------------------------------------+-------------------------
Comment (by joedolson):
My one hesitation is that I can't see a way that the add new user message
ends up as an array with multiple elements, so I'm feeling like it's
unnecessary to construct that array rather than just generating a string.
There's no iteration present that would add additional messages to the
array, so it's always an array with one element.
Adding an alternate version of this that simplifies this code.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39213#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list