[wp-trac] [WordPress Trac] #52796: Disable auto updates flag logic is reversed

WordPress Trac noreply at wordpress.org
Sun Jun 2 21:34:12 UTC 2024


#52796: Disable auto updates flag logic is reversed
-------------------------------+--------------------------------
 Reporter:  TimothyBlynJacobs  |       Owner:  TimothyBlynJacobs
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  6.6
Component:  Upgrade/Install    |     Version:  5.5
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:
-------------------------------+--------------------------------
Changes (by TimothyBlynJacobs):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58285" 58285]:
 {{{
 #!CommitTicketReference repository="" revision="58285"
 Upgrade: Fix the disable_autoupdate flag logic.

 In #50824 support was added for a package to include a disable_autoupdate
 flag to indicate that the plugin/theme should not be auto-updated even if
 a user had opted-in via the WP-Admin UI. However, the logic implementing
 the flag was inverted.

 This commit repairs the logic. If a package has disable_autoupdate set,
 then it should not be auto-updated.

 Props amisiewicz.
 Fixes #52796.
 }}}

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


More information about the wp-trac mailing list