- Timestamp:
- 08/07/2020 07:23:04 PM (5 years ago)
- Location:
- branches/5.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5
-
branches/5.5/src/wp-admin/includes/class-wp-debug-data.php
r48747 r48756 972 972 } 973 973 974 /** This action is documented in wp-admin/includes/class-wp-automatic-updater.php */ 975 $auto_update_forced = apply_filters( 'auto_update_plugin', null, (object) $item ); 974 $type = 'plugin'; 975 /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */ 976 $auto_update_forced = apply_filters( "auto_update_{$type}", null, (object) $item ); 976 977 977 978 if ( ! is_null( $auto_update_forced ) ) { … … 1115 1116 } 1116 1117 1117 /** This action is documented in wp-admin/includes/class-wp-automatic-updater.php */ 1118 $auto_update_forced = apply_filters( 'auto_update_theme', null, (object) $item ); 1118 $type = 'theme'; 1119 /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */ 1120 $auto_update_forced = apply_filters( "auto_update_{$type}", null, (object) $item ); 1119 1121 1120 1122 if ( ! is_null( $auto_update_forced ) ) { … … 1202 1204 } 1203 1205 1204 /** This action is documented in wp-admin/includes/class-wp-automatic-updater.php */ 1205 $auto_update_forced = apply_filters( 'auto_update_theme', null, (object) $item ); 1206 $type = 'theme'; 1207 /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */ 1208 $auto_update_forced = apply_filters( "auto_update_{$type}", null, (object) $item ); 1206 1209 1207 1210 if ( ! is_null( $auto_update_forced ) ) { … … 1291 1294 } 1292 1295 1293 /** This action is documented in wp-admin/includes/class-wp-automatic-updater.php */ 1294 $auto_update_forced = apply_filters( 'auto_update_theme', null, (object) $item ); 1296 $type = 'theme'; 1297 /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */ 1298 $auto_update_forced = apply_filters( "auto_update_{$type}", null, (object) $item ); 1295 1299 1296 1300 if ( ! is_null( $auto_update_forced ) ) {
Note: See TracChangeset
for help on using the changeset viewer.