WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51836, comment 2


Ignore:
Timestamp:
11/20/2020 05:45:50 PM (10 months ago)
Author:
paulschreiber
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51836, comment 2

    initial v1  
    22* reach out to server for updates, and cache array of values, A1
    33* apply auto_update_plugin / auto_update_theme filters, resulting in an array, A2
    4 * if A1[n] == update available and A2[n] == no update, print "update disabled"
     4* if A1[n] == update and A2[n] == no update, print "update disabled"
    55* if A1[n] == no update and A2[n] == no update, print "no update available"
    66* if A[1n] == update and A2[n] == update, print "update available"