--- a/wp/wp-includes/class-wp-site.php Mon Oct 14 18:06:33 2019 +0200
+++ b/wp/wp-includes/class-wp-site.php Mon Oct 14 18:28:13 2019 +0200
@@ -145,7 +145,6 @@
/**
* 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 @@
* @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;
}
}
@@ -316,7 +315,7 @@
if ( false === $details ) {
switch_to_blog( $this->blog_id );
- // Create a raw copy of the object for backwards compatibility with the filter below.
+ // Create a raw copy of the object for backward compatibility with the filter below.
$details = new stdClass();
foreach ( get_object_vars( $this ) as $key => $value ) {
$details->$key = $value;