Make WordPress Core


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

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

See #32522.

File:
1 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    }
Note: See TracChangeset for help on using the changeset viewer.