mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@50631 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user