[wp-meta] [Making WordPress.org] #4783: Invalid hooks listed in Code Reference

Making WordPress.org noreply at wordpress.org
Wed Oct 23 23:52:48 UTC 2019


#4783: Invalid hooks listed in Code Reference
---------------------------+---------------------
 Reporter:  johnbillion    |       Owner:  (none)
     Type:  defect         |      Status:  new
 Priority:  normal         |   Milestone:
Component:  Developer Hub  |  Resolution:
 Keywords:                 |
---------------------------+---------------------

Comment (by pbiron):

 I think `$per_page` is an old remnant cleared up by
 [https://core.trac.wordpress.org/changeset/28347 [28347]].

 The correct hook is now
 [https://developer.wordpress.org/reference/hooks/edit_post_type_per_page/
 edit_{$post_type}_per_page].

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4783#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list