From eb11c3422347dd087dee65878f748eb96bd7a378 Mon Sep 17 00:00:00 2001
From: Paul Biron <paul@sparrowhawkcomputing.com>
Date: Thu, 6 Aug 2020 14:25:08 -0600
Subject: [PATCH] no message
---
src/wp-admin/includes/class-wp-debug-data.php | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php
index 2f438fb363..854509f34f 100644
|
a
|
b
|
class WP_Debug_Data { |
| 1104 | 1104 | } elseif ( isset( $transient->no_update[ $active_theme->stylesheet ] ) ) { |
| 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, |
| 1110 | 1110 | 'url' => '', |
| … |
… |
class WP_Debug_Data { |
| 1115 | 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, $item ); |
| | 1118 | $auto_update_forced = apply_filters( 'auto_update_theme', null, (object) $item ); |
| 1119 | 1119 | |
| 1120 | 1120 | if ( ! is_null( $auto_update_forced ) ) { |
| 1121 | 1121 | $enabled = $auto_update_forced; |
| … |
… |
class WP_Debug_Data { |
| 1191 | 1191 | } elseif ( isset( $transient->no_update[ $parent_theme->stylesheet ] ) ) { |
| 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, |
| 1197 | 1197 | 'url' => '', |
| … |
… |
class WP_Debug_Data { |
| 1202 | 1202 | } |
| 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 ) ) { |
| 1208 | 1208 | $enabled = $auto_update_forced; |
| … |
… |
class WP_Debug_Data { |
| 1280 | 1280 | } elseif ( isset( $transient->no_update[ $theme_slug ] ) ) { |
| 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, |
| 1286 | 1286 | 'url' => '', |
| … |
… |
class WP_Debug_Data { |
| 1291 | 1291 | } |
| 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 ) ) { |
| 1297 | 1297 | $enabled = $auto_update_forced; |