[wp-trac] [WordPress Trac] #56292: Auto-update option gets enabled for plugins not hosted on WordPress.org

WordPress Trac noreply at wordpress.org
Wed Oct 5 23:01:13 UTC 2022


#56292: Auto-update option gets enabled for plugins not hosted on WordPress.org
-------------------------------+------------------------------
 Reporter:  patilvikasj        |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Plugins            |     Version:  5.5
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by peterwilsoncc):

 For Distributor, 10up needed to include the `no_update` property to enable
 to toggle when no updates are available. I am not sure if it's a bug or a
 feature but it's possible for non-wordpress.org hosted plugins to display
 the option at all times.

 [https://github.com/10up/distributor/blob/74ba9c5110de1dfa3415e76eab7d7ffc87b19e49/includes/bootstrap.php#L226-L230
 Ref: Distributor source code]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56292#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list