[wp-trac] [WordPress Trac] #57791: Create function to output admin notices
WordPress Trac
noreply at wordpress.org
Fri Sep 22 15:11:07 UTC 2023
#57791: Create function to output admin notices
-------------------------------------------------+-------------------------
Reporter: joedolson | Owner: joedolson
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 6.4
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests dev- | Focuses:
feedback | administration
-------------------------------------------------+-------------------------
Comment (by david.binda):
I have noticed that a success message on wp-admin/upload.php is displayed
twice after r56573 . There seems to be duplicate call to
`wp_admin_notice`. See https://core.trac.wordpress.org/browser/trunk/src
/wp-admin/upload.php?rev=56590#L222 and
https://core.trac.wordpress.org/browser/trunk/src/wp-
admin/upload.php?rev=56590#L233
I'm attaching a patch for removing the duplicate call:
https://core.trac.wordpress.org/attachment/ticket/57791/57791-wp-admin-
upload-dupe.diff
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57791#comment:88>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list