Changeset 49241 for trunk/src/wp-admin/includes/class-wp-debug-data.php
- Timestamp:
- 10/20/2020 05:37:16 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r48802 r49241 978 978 } 979 979 980 $type = 'plugin'; 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 ); 980 $auto_update_forced = wp_is_auto_update_forced_for_item( 'plugin', null, (object) $item ); 983 981 984 982 if ( ! is_null( $auto_update_forced ) ) { … … 1122 1120 } 1123 1121 1124 $type = 'theme'; 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 ); 1122 $auto_update_forced = wp_is_auto_update_forced_for_item( 'theme', null, (object) $item ); 1127 1123 1128 1124 if ( ! is_null( $auto_update_forced ) ) { … … 1210 1206 } 1211 1207 1212 $type = 'theme'; 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 ); 1208 $auto_update_forced = wp_is_auto_update_forced_for_item( 'theme', null, (object) $item ); 1215 1209 1216 1210 if ( ! is_null( $auto_update_forced ) ) { … … 1300 1294 } 1301 1295 1302 $type = 'theme'; 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 ); 1296 $auto_update_forced = wp_is_auto_update_forced_for_item( 'theme', null, (object) $item ); 1305 1297 1306 1298 if ( ! is_null( $auto_update_forced ) ) { … … 1328 1320 1329 1321 $theme_version_string .= ' | ' . $auto_updates_string; 1330 $theme_version_string_debug .= ', ' . $auto_updates_string;1322 $theme_version_string_debug .= ', ' . $auto_updates_string; 1331 1323 } 1332 1324
Note: See TracChangeset
for help on using the changeset viewer.