Coding Standards: Always use parentheses when instantiating an object.
Note: This will be enforced by WPCS 3.0.0. Props jrf. See #56791. Built from https://develop.svn.wordpress.org/trunk@54891 git-svn-id: http://core.svn.wordpress.org/trunk@54443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1306,7 +1306,7 @@ function get_translations_for_domain( $domain ) {
|
||||
|
||||
static $noop_translations = null;
|
||||
if ( null === $noop_translations ) {
|
||||
$noop_translations = new NOOP_Translations;
|
||||
$noop_translations = new NOOP_Translations();
|
||||
}
|
||||
|
||||
return $noop_translations;
|
||||
|
||||
Reference in New Issue
Block a user