[wp-meta] [Making WordPress.org] #4783: Invalid hooks listed in Code Reference
Making WordPress.org
noreply at wordpress.org
Wed Oct 23 23:22:57 UTC 2019
#4783: Invalid hooks listed in Code Reference
---------------------------+--------------------
Reporter: johnbillion | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: Developer Hub | Keywords:
---------------------------+--------------------
When viewing the https://developer.wordpress.org/reference/hooks/ page,
the first three hooks listed are invalid and don't exist. Clicking through
to their source on Trac reveals that they no longer exist.
* [https://developer.wordpress.org/reference/hooks/per_page/ $per_page]
* [https://developer.wordpress.org/reference/hooks/handle_bulk_actions-
get_current_screen-id/ ‘handle_bulk_actions-‘ . get_current_screen()->id]
* [https://developer.wordpress.org/reference/hooks
/handle_network_bulk_actions-get_current_screen-id/
‘handle_network_bulk_actions-‘ . get_current_screen()->id]
I think all three of these can be deleted. The latter two at least have
been replaced by hooks with interpolated names:
* [https://developer.wordpress.org/reference/hooks/handle_bulk_actions-
screen/ handle_bulk_actions-{$screen}]
* [https://developer.wordpress.org/reference/hooks
/handle_network_bulk_actions-screen/
handle_network_bulk_actions-{$screen}]
I'm unsure about the
[https://developer.wordpress.org/reference/hooks/per_page/ $per_page]
hook.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/4783>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list