[wp-trac] [WordPress Trac] #42952: Add comments about JS removal of message query_arg

WordPress Trac noreply at wordpress.org
Thu Dec 21 01:20:26 UTC 2017


#42952: Add comments about JS removal of message query_arg
----------------------------------+-----------------------------
 Reporter:  davidsword            |      Owner:
     Type:  enhancement           |     Status:  new
 Priority:  normal                |  Milestone:  Awaiting Review
Component:  Comments              |    Version:  4.9.1
 Severity:  normal                |   Keywords:
  Focuses:  docs, administration  |
----------------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42952>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list