[wp-trac] [WordPress Trac] #36319: Post meta authorization filter docs are incorrect

WordPress Trac noreply at wordpress.org
Wed Feb 8 15:18:07 UTC 2017


#36319: Post meta authorization filter docs are incorrect
------------------------------------+-----------------------------
 Reporter:  ericlewis               |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Options, Meta APIs      |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  docs
------------------------------------+-----------------------------

Comment (by adamsilverstein):

 @johneckman thanks for your patch here!

 I had a little trouble getting the patch to apply because things have
 moved around quite a bit. The original inline documentation for both hooks
 was removed and replaced with `This filter is documented in wp-
 includes/meta.php` - when I looked there I did not find similar hooks or
 inline documentation.

 [attachment:36319.2.patch] is an update against trunk and also helps
 clarify the functionality I think. Can you please review and let me know
 what you think?

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


More information about the wp-trac mailing list