[wp-meta] [Making WordPress.org] #606: Documentation error for activate_plugin hook

Making WordPress.org noreply at wordpress.org
Fri Sep 12 13:19:16 UTC 2014


#606: Documentation error for activate_plugin hook
---------------------+-------------------------------------
  Reporter:  wedi    |      Owner:
      Type:  defect  |     Status:  new
  Priority:  normal  |  Component:  developer.wordpress.org
Resolution:          |   Keywords:
---------------------+-------------------------------------

Comment (by georgestephanis):

 All the documentation in developer.wordpress.org is built using
 WordPress's internal phpdoc documentation, so that's actually a
 documentation error in the WordPress source.

 You can see the actual spot here:

 https://core.trac.wordpress.org/browser/trunk/src/wp-
 admin/includes/plugin.php#L560

 While investigating, I also noticed a bad reference here:

 https://core.trac.wordpress.org/browser/trunk/src/wp-
 admin/plugins.php#L154

 It should refer to `wp-admin/includes/plugin.php` -- not `plugins.php` --
 no `s`.

 If you'd like to put together a core patch for this and submit it to core
 trac, I'd be delighted to help walk you through the process.  If not, let
 me know, and I'd be happy to just put it together on your behalf and tag
 you for bringing it up.

 Good find!

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


More information about the wp-meta mailing list