From ab6c10948fdc2b6abdb3d04438b1c65f3f181e21 Mon Sep 17 00:00:00 2001 From: davidbaumwald Date: Thu, 1 Apr 2021 15:36:08 +0000 Subject: [PATCH] Coding Standards: Removing unnecessary parentheses from `require_once` in `wp-admin/options-privacy.php`. In [47198], parentheses were removed from `include` and `require` statements, as they are language constructs, not function calls. However, [50161] introduced a new `require_once` instance in `wp-admin/options-privacy.php`. This change removes the unnecessary parentheses. See #53627. Built from https://develop.svn.wordpress.org/trunk@50631 git-svn-id: http://core.svn.wordpress.org/trunk@50243 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/options-privacy.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/options-privacy.php b/wp-admin/options-privacy.php index a183abdf3f..3e4902daf4 100644 --- a/wp-admin/options-privacy.php +++ b/wp-admin/options-privacy.php @@ -14,7 +14,7 @@ if ( ! current_user_can( 'manage_privacy_options' ) ) { } if ( isset( $_GET['tab'] ) && 'policyguide' === $_GET['tab'] ) { - require_once( dirname( __FILE__ ) . '/privacy-policy-guide.php' ); + require_once dirname( __FILE__ ) . '/privacy-policy-guide.php'; return; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 8202088019..7a0818954f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50629'; +$wp_version = '5.8-alpha-50631'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.