Update WP and plugins
This commit is contained in:
parent
10a4713229
commit
1fb77fc4ff
864 changed files with 101724 additions and 78262 deletions
|
@ -145,7 +145,6 @@ final class WP_Site {
|
|||
/**
|
||||
* Retrieves a site from the database by its ID.
|
||||
*
|
||||
* @static
|
||||
* @since 4.5.0
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
|
@ -187,7 +186,7 @@ final class WP_Site {
|
|||
* @param WP_Site|object $site A site object.
|
||||
*/
|
||||
public function __construct( $site ) {
|
||||
foreach( get_object_vars( $site ) as $key => $value ) {
|
||||
foreach ( get_object_vars( $site ) as $key => $value ) {
|
||||
$this->$key = $value;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue