Changeset 13455 for trunk/src/bp-core/admin/bp-core-admin-functions.php
- Timestamp:
- 04/20/2023 02:30:11 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-functions.php
r13450 r13455 205 205 * 206 206 * On every Dashboard page, this function checks the following: 207 * - that pretty permalinks are enabled.208 207 * - that every BP component that needs a WP page for a directory has one. 209 208 * - that no WP page has multiple BP components associated with it. … … 250 249 bp_blogs_record_existing_blogs(); 251 250 } 252 }253 254 // Add notice if no rewrite rules are enabled.255 if ( empty( $wp_rewrite->permalink_structure ) ) {256 bp_core_add_admin_notice(257 sprintf(258 // Translators: %s is the url to the permalink settings.259 __( '<strong>BuddyPress is almost ready</strong>. You must <a href="%s">update your permalink structure</a> to something other than the default for it to work.', 'buddypress' ),260 admin_url( 'options-permalink.php' )261 ),262 'error'263 );264 251 } 265 252
Note: See TracChangeset
for help on using the changeset viewer.