Changeset 12569 for trunk/src/bp-core/bp-core-functions.php
- Timestamp:
- 03/15/2020 05:30:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r12545 r12569 904 904 $page_ids = array_merge( $new_page_ids, bp_core_get_directory_page_ids( 'all' ) ); 905 905 bp_core_update_directory_page_ids( $page_ids ); 906 }907 908 /**909 * Add illegal blog names to WP so that root components will not conflict with blog names on a subdirectory installation.910 *911 * For example, it would stop someone creating a blog with the slug "groups".912 *913 * @since 1.0.0914 *915 * @todo Deprecate?916 */917 function bp_core_add_illegal_names() {918 update_site_option( 'illegal_names', get_site_option( 'illegal_names' ), array() );919 906 } 920 907
Note: See TracChangeset
for help on using the changeset viewer.