From 589e89231a53e47e57a58a35a97d9e772d8f7cf9 Mon Sep 17 00:00:00 2001 From: davidbaumwald Date: Wed, 28 Apr 2021 20:55:03 +0000 Subject: [PATCH] Coding Standards: Update `$out` in `WP_Widget_Pages` with a more meaningful name. Rename an `$out` variable to `$output` for consistency with other widget classes.. Props mukesh27. Fixes #53059. Built from https://develop.svn.wordpress.org/trunk@50797 git-svn-id: http://core.svn.wordpress.org/trunk@50406 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-includes/widgets/class-wp-widget-pages.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index b474703498..b8f40f452f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50796'; +$wp_version = '5.8-alpha-50797'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets/class-wp-widget-pages.php b/wp-includes/widgets/class-wp-widget-pages.php index 5519dae264..566d02c330 100644 --- a/wp-includes/widgets/class-wp-widget-pages.php +++ b/wp-includes/widgets/class-wp-widget-pages.php @@ -61,7 +61,7 @@ class WP_Widget_Pages extends WP_Widget { $sortby = 'menu_order, post_title'; } - $out = wp_list_pages( + $output = wp_list_pages( /** * Filters the arguments for the Pages widget. * @@ -85,7 +85,7 @@ class WP_Widget_Pages extends WP_Widget { ) ); - if ( ! empty( $out ) ) { + if ( ! empty( $output ) ) { echo $args['before_widget']; if ( $title ) { echo $args['before_title'] . $title . $args['after_title']; @@ -105,7 +105,7 @@ class WP_Widget_Pages extends WP_Widget { ?>