mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Coding Standards: Always use parentheses when instantiating an object.
Note: This will be enforced by WPCS 3.0.0. Props jrf. See #56791. git-svn-id: https://develop.svn.wordpress.org/trunk@54891 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1121,7 +1121,7 @@ class WP_REST_Users_Controller extends WP_REST_Controller {
|
||||
* @return object User object.
|
||||
*/
|
||||
protected function prepare_item_for_database( $request ) {
|
||||
$prepared_user = new stdClass;
|
||||
$prepared_user = new stdClass();
|
||||
|
||||
$schema = $this->get_item_schema();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user