WordPress.org

Make WordPress Core

Opened 21 months ago

#42952 new enhancement

Add comments about JS removal of message query_arg

Reported by: davidsword Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.1
Component: Comments Keywords:
Focuses: docs, administration Cc:

Description

This is a follow-up to #23367.

Can someone please add some inline doc about how Javascript actually removes &message=x from the URL - Specifically in /wp-admin/edit-form-advanced.php:186 (in WP 4.9.1).

As a plugin developer who looks up source code for solutions, I was wracking my brain around seeing $_GET['message'] as the main argument for showing admin notices, but never seeing it in backend. Took unnecessarily long time to figure out it actually exists and is just hidden.

Change History (0)

Note: See TracTickets for help on using tickets.