diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index ae5a242afa..b066a27c96 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/wp-includes/ms-functions.php @@ -561,12 +561,12 @@ function wpmu_validate_blog_signup( $blogname, $blog_title, $user = '' ) { * Filter reserved site names on a sub-directory Multisite install. * * @since 3.0.0 - * @since 4.4.0 'wp-admin', 'wp-content', 'wp-includes', and 'wp-json' were added + * @since 4.4.0 'wp-admin', 'wp-content', 'wp-includes', 'wp-json', and 'embed' were added * to the reserved names list. * * @param array $subdirectory_reserved_names Array of reserved names. */ - apply_filters( 'subdirectory_reserved_names', array( 'page', 'comments', 'blog', 'files', 'feed', 'wp-admin', 'wp-content', 'wp-includes', 'wp-json' ) ) + apply_filters( 'subdirectory_reserved_names', array( 'page', 'comments', 'blog', 'files', 'feed', 'wp-admin', 'wp-content', 'wp-includes', 'wp-json', 'embed' ) ) ); } diff --git a/src/wp-settings.php b/src/wp-settings.php index 9a3afd840f..d2c8b0173a 100644 --- a/src/wp-settings.php +++ b/src/wp-settings.php @@ -146,6 +146,7 @@ require( ABSPATH . WPINC . '/update.php' ); require( ABSPATH . WPINC . '/canonical.php' ); require( ABSPATH . WPINC . '/shortcodes.php' ); require( ABSPATH . WPINC . '/class-wp-embed.php' ); +require( ABSPATH . WPINC . '/embed-functions.php' ); require( ABSPATH . WPINC . '/media.php' ); require( ABSPATH . WPINC . '/http.php' ); require( ABSPATH . WPINC . '/widgets.php' );