4429638da6
When no `$meta` arguments are passed to `wpmu_create_blog()`, `public` is set to `0` in the database for new sites. This is fine, but also does not match the default implied when most sites are created via `site-new.php`. The only current use of the `$meta` argument in the tests is to (re)mark `public` as `0`. All existing tests pass with this change. Tests for `WP_Site_Query` can now rely on better default expectations. See #36566. git-svn-id: https://develop.svn.wordpress.org/trunk@37418 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
.. | ||
class-wp-unittest-factory-callback-after-create.php | ||
class-wp-unittest-factory-for-attachment.php | ||
class-wp-unittest-factory-for-blog.php | ||
class-wp-unittest-factory-for-comment.php | ||
class-wp-unittest-factory-for-network.php | ||
class-wp-unittest-factory-for-post.php | ||
class-wp-unittest-factory-for-term.php | ||
class-wp-unittest-factory-for-thing.php | ||
class-wp-unittest-factory-for-user.php | ||
class-wp-unittest-factory.php | ||
class-wp-unittest-generator-sequence.php |