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
This commit is contained in:
parent
3697386083
commit
ab6c10948f
|
@ -14,7 +14,7 @@ if ( ! current_user_can( 'manage_privacy_options' ) ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( isset( $_GET['tab'] ) && 'policyguide' === $_GET['tab'] ) {
|
if ( isset( $_GET['tab'] ) && 'policyguide' === $_GET['tab'] ) {
|
||||||
require_once( dirname( __FILE__ ) . '/privacy-policy-guide.php' );
|
require_once dirname( __FILE__ ) . '/privacy-policy-guide.php';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue