[wp-trac] [WordPress Trac] #47730: Function plugins_api is not triggered for non wp-marketplace plugins

WordPress Trac noreply at wordpress.org
Thu Jul 18 07:32:17 UTC 2019


#47730: Function plugins_api is not triggered for non wp-marketplace plugins
--------------------------------------+-----------------------------
 Reporter:  marthm                    |      Owner:  (none)
     Type:  defect (bug)              |     Status:  new
 Priority:  normal                    |  Milestone:  Awaiting Review
Component:  Plugins                   |    Version:  5.2.2
 Severity:  normal                    |   Keywords:
  Focuses:  ui, docs, administration  |
--------------------------------------+-----------------------------
 I currently try to setup a private-hosted repository for my own plugins /
 themes and tried to do that with the filter hooks in the plugin-
 install.php file - the documentation of it indicates that this should be
 possible, even on the latest version (5.2.2).

 I activated my own plugin on my bedrock (https://roots.io/bedrock/) setup
 and following the tutorial https://rudrastyh.com/wordpress/self-hosted-
 plugin-update.html#comments i tried to implement the update mechanism.

 I think while doing that i stumbled upon a bug that causes wordpress to
 not trigger the plugins_api method at all - i can hook into the
 "site_transient_update_plugins" filter to display the update-badge next to
 the plugins navbar item but the update text / button and show-details
 button for my plugins wont show up.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47730>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list