diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php
index 7e21785cce..5d145fab52 100644
a
|
b
|
class WP_Debug_Data { |
979 | 979 | |
980 | 980 | $type = 'plugin'; |
981 | 981 | /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */ |
982 | | $auto_update_forced = apply_filters( "auto_update_{$type}", null, (object) $item ); |
| 982 | $auto_update_forced = apply_filters( "auto_update_{$type}", false, (object) $item ); |
983 | 983 | |
984 | | if ( ! is_null( $auto_update_forced ) ) { |
| 984 | if ( false !== $auto_update_forced ) { |
985 | 985 | $enabled = $auto_update_forced; |
986 | 986 | } else { |
987 | 987 | $enabled = in_array( $plugin_path, $auto_updates, true ); |
… |
… |
class WP_Debug_Data { |
1123 | 1123 | |
1124 | 1124 | $type = 'theme'; |
1125 | 1125 | /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */ |
1126 | | $auto_update_forced = apply_filters( "auto_update_{$type}", null, (object) $item ); |
| 1126 | $auto_update_forced = apply_filters( "auto_update_{$type}", false, (object) $item ); |
1127 | 1127 | |
1128 | | if ( ! is_null( $auto_update_forced ) ) { |
| 1128 | if ( false !== $auto_update_forced ) ) { |
1129 | 1129 | $enabled = $auto_update_forced; |
1130 | 1130 | } else { |
1131 | 1131 | $enabled = in_array( $active_theme->stylesheet, $auto_updates, true ); |
… |
… |
class WP_Debug_Data { |
1211 | 1211 | |
1212 | 1212 | $type = 'theme'; |
1213 | 1213 | /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */ |
1214 | | $auto_update_forced = apply_filters( "auto_update_{$type}", null, (object) $item ); |
| 1214 | $auto_update_forced = apply_filters( "auto_update_{$type}", false, (object) $item ); |
1215 | 1215 | |
1216 | | if ( ! is_null( $auto_update_forced ) ) { |
| 1216 | if ( false !== $auto_update_forced ) { |
1217 | 1217 | $enabled = $auto_update_forced; |
1218 | 1218 | } else { |
1219 | 1219 | $enabled = in_array( $parent_theme->stylesheet, $auto_updates, true ); |
… |
… |
class WP_Debug_Data { |
1301 | 1301 | |
1302 | 1302 | $type = 'theme'; |
1303 | 1303 | /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */ |
1304 | | $auto_update_forced = apply_filters( "auto_update_{$type}", null, (object) $item ); |
| 1304 | $auto_update_forced = apply_filters( "auto_update_{$type}", false, (object) $item ); |
1305 | 1305 | |
1306 | | if ( ! is_null( $auto_update_forced ) ) { |
| 1306 | if ( false !== $auto_update_forced ) { |
1307 | 1307 | $enabled = $auto_update_forced; |
1308 | 1308 | } else { |
1309 | 1309 | $enabled = in_array( $theme_slug, $auto_updates, true ); |
diff --git a/src/wp-admin/includes/class-wp-plugins-list-table.php b/src/wp-admin/includes/class-wp-plugins-list-table.php
index e487e32cfb..eeb065ecc7 100644
a
|
b
|
class WP_Plugins_List_Table extends WP_List_Table { |
233 | 233 | |
234 | 234 | $type = 'plugin'; |
235 | 235 | /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */ |
236 | | $auto_update_forced = apply_filters( "auto_update_{$type}", null, $filter_payload ); |
| 236 | $auto_update_forced = apply_filters( "auto_update_{$type}", false, $filter_payload ); |
237 | 237 | |
238 | | if ( ! is_null( $auto_update_forced ) ) { |
| 238 | if ( false !== $auto_update_forced ) { |
239 | 239 | $plugin_data['auto-update-forced'] = $auto_update_forced; |
240 | 240 | } |
241 | 241 | |
diff --git a/src/wp-admin/includes/theme.php b/src/wp-admin/includes/theme.php
index 21730339cd..38bf3c9dfb 100644
a
|
b
|
function wp_prepare_themes_for_js( $themes = null ) { |
718 | 718 | |
719 | 719 | $type = 'theme'; |
720 | 720 | /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */ |
721 | | $auto_update_forced = apply_filters( "auto_update_{$type}", null, $auto_update_filter_payload ); |
| 721 | $auto_update_forced = apply_filters( "auto_update_{$type}", false, $auto_update_filter_payload ); |
722 | 722 | |
723 | 723 | $prepared_themes[ $slug ] = array( |
724 | 724 | 'id' => $slug, |