From c622c4baddebb621bf3b496d2c8b6de4779f00c8 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 25 May 2021 17:42:58 +0000 Subject: [PATCH] Coding Standards: Apply some minor coding standards adjustments. Follow up to [50977], [50987], and [50995]. See #41683, #53156, #53175. git-svn-id: https://develop.svn.wordpress.org/trunk@51007 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-theme-json.php | 2 +- src/wp-includes/kses.php | 2 +- src/wp-includes/widgets/class-wp-widget-rss.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-theme-json.php b/src/wp-includes/class-wp-theme-json.php index dd7b5c12e7..5aef6f1886 100644 --- a/src/wp-includes/class-wp-theme-json.php +++ b/src/wp-includes/class-wp-theme-json.php @@ -1018,7 +1018,7 @@ class WP_Theme_JSON { * @param WP_Theme_JSON $incoming Data to merge. */ public function merge( $incoming, $update_or_remove = 'remove' ) { - $incoming_data = $incoming->get_raw_data(); + $incoming_data = $incoming->get_raw_data(); $existing_data = $this->theme_json; // The array_replace_recursive algorithm merges at the leaf level. diff --git a/src/wp-includes/kses.php b/src/wp-includes/kses.php index 5310f0caf9..81610e1e9a 100644 --- a/src/wp-includes/kses.php +++ b/src/wp-includes/kses.php @@ -252,7 +252,7 @@ if ( ! CUSTOM_TAGS ) { 'align' => true, 'value' => true, ), - 'main' => array( + 'main' => array( 'align' => true, 'dir' => true, 'lang' => true, diff --git a/src/wp-includes/widgets/class-wp-widget-rss.php b/src/wp-includes/widgets/class-wp-widget-rss.php index 0b07fd8101..332ba98d88 100644 --- a/src/wp-includes/widgets/class-wp-widget-rss.php +++ b/src/wp-includes/widgets/class-wp-widget-rss.php @@ -22,7 +22,7 @@ class WP_Widget_RSS extends WP_Widget { * @since 2.8.0 */ public function __construct() { - $widget_ops = array( + $widget_ops = array( 'description' => __( 'Entries from any RSS or Atom feed.' ), 'customize_selective_refresh' => true, 'show_instance_in_rest' => true,