[wp-meta] [Making WordPress.org] #6670: Developer references for `activate_plugin` and `activate_{$plugin}` are missing

Making WordPress.org noreply at wordpress.org
Tue Jan 10 18:54:24 UTC 2023


#6670: Developer references for `activate_plugin` and `activate_{$plugin}` are
missing
---------------------------+--------------------
 Reporter:  johnbillion    |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:
Component:  Developer Hub  |   Keywords:
---------------------------+--------------------
 Two actions in core are missing from the search results in the developer
 reference.

 * `activate_plugin`: https://github.com/WordPress/wordpress-
 develop/blob/4f813e3817baec2be73fe372a278c3dca2fb97a9/src/wp-
 admin/includes/plugin.php#L676
 * `activate_{$plugin}`: https://github.com/WordPress/wordpress-
 develop/blob/4f813e3817baec2be73fe372a278c3dca2fb97a9/src/wp-
 admin/includes/plugin.php#L691

 Searching for `activate_plugin` returns no results:
 https://developer.wordpress.org/?s=activate_plugin&post_type%5B%5D=wp-
 parser-hook

 However, navigating directly to
 https://developer.wordpress.org/reference/hooks/activate_plugin/ shows
 documentation for the `activate_{$plugin}` action does actually exist.

 I suspect there may be an issue with these two hooks having the same
 resulting slug, but that's just a hunch.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6670>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list