WordPress.org

Make WordPress Core

Changeset 34853


Ignore:
Timestamp:
10/06/2015 04:04:24 AM (4 years ago)
Author:
wonderboymusic
Message:

Multisite: in wpmu_validate_blog_signup(), pass embed to the array passed to subdirectory_reserved_names.

See #32522.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-functions.php

    r34828 r34853  
    562562             *
    563563             * @since 3.0.0
    564              * @since 4.4.0 'wp-admin', 'wp-content', 'wp-includes', and 'wp-json' were added
     564             * @since 4.4.0 'wp-admin', 'wp-content', 'wp-includes', 'wp-json', and 'embed' were added
    565565             *              to the reserved names list.
    566566             *
    567567             * @param array $subdirectory_reserved_names Array of reserved names.
    568568             */
    569             apply_filters( 'subdirectory_reserved_names', array( 'page', 'comments', 'blog', 'files', 'feed', 'wp-admin', 'wp-content', 'wp-includes', 'wp-json' ) )
     569            apply_filters( 'subdirectory_reserved_names', array( 'page', 'comments', 'blog', 'files', 'feed', 'wp-admin', 'wp-content', 'wp-includes', 'wp-json', 'embed' ) )
    570570        );
    571571    }
  • trunk/src/wp-settings.php

    r34828 r34853  
    147147require( ABSPATH . WPINC . '/shortcodes.php' );
    148148require( ABSPATH . WPINC . '/class-wp-embed.php' );
     149require( ABSPATH . WPINC . '/embed-functions.php' );
    149150require( ABSPATH . WPINC . '/media.php' );
    150151require( ABSPATH . WPINC . '/http.php' );
Note: See TracChangeset for help on using the changeset viewer.