- Timestamp:
- 08/07/2020 01:26:11 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r48731 r48745 969 969 'compatibility' => new stdClass(), 970 970 ); 971 $item = (object)array_merge( $item, array_intersect_key( $plugin, $item ) );971 $item = array_merge( $item, array_intersect_key( $plugin, $item ) ); 972 972 } 973 973 974 974 /** This action is documented in wp-admin/includes/class-wp-automatic-updater.php */ 975 $auto_update_forced = apply_filters( 'auto_update_plugin', null, $item );975 $auto_update_forced = apply_filters( 'auto_update_plugin', null, (object) $item ); 976 976 977 977 if ( ! is_null( $auto_update_forced ) ) { … … 1105 1105 $item = $transient->no_update[ $active_theme->stylesheet ]; 1106 1106 } else { 1107 $item = (object)array(1107 $item = array( 1108 1108 'theme' => $active_theme->stylesheet, 1109 1109 'new_version' => $active_theme->version, … … 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, $item );1118 $auto_update_forced = apply_filters( 'auto_update_theme', null, (object) $item ); 1119 1119 1120 1120 if ( ! is_null( $auto_update_forced ) ) { … … 1192 1192 $item = $transient->no_update[ $parent_theme->stylesheet ]; 1193 1193 } else { 1194 $item = (object)array(1194 $item = array( 1195 1195 'theme' => $parent_theme->stylesheet, 1196 1196 'new_version' => $parent_theme->version, … … 1203 1203 1204 1204 /** This action is documented in wp-admin/includes/class-wp-automatic-updater.php */ 1205 $auto_update_forced = apply_filters( 'auto_update_theme', null, $item );1205 $auto_update_forced = apply_filters( 'auto_update_theme', null, (object) $item ); 1206 1206 1207 1207 if ( ! is_null( $auto_update_forced ) ) { … … 1281 1281 $item = $transient->no_update[ $theme_slug ]; 1282 1282 } else { 1283 $item = (object)array(1283 $item = array( 1284 1284 'theme' => $theme_slug, 1285 1285 'new_version' => $theme->version, … … 1292 1292 1293 1293 /** This action is documented in wp-admin/includes/class-wp-automatic-updater.php */ 1294 $auto_update_forced = apply_filters( 'auto_update_theme', null, $item );1294 $auto_update_forced = apply_filters( 'auto_update_theme', null, (object) $item ); 1295 1295 1296 1296 if ( ! is_null( $auto_update_forced ) ) {
Note: See TracChangeset
for help on using the changeset viewer.