[wp-trac] [WordPress Trac] #41363: Needs improvements in the documentation of the function

WordPress Trac noreply at wordpress.org
Wed Jul 19 11:10:24 UTC 2017


#41363: Needs improvements in the documentation of the function
----------------------------+------------------------------
 Reporter:  ronakganatra    |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  docs
----------------------------+------------------------------
Changes (by SergeyBiryukov):

 * component:  Editor => Administration


Comment:

 Hi @ronakganatra, welcome to WordPress Trac! Thanks for the patch.

 There are more than 15 instances of `nocache_headers()` calls in core
 though, adding a comment to only one of them seems inconsistent. The
 function itself already has a description, maybe it should be made
 clearer?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41363#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list