Skip to:
Content

BuddyPress.org

Changeset 9172


Ignore:
Timestamp:
11/25/2014 08:45:22 AM (11 years ago)
Author:
djpaul
Message:

Core: render the permalink nag an error message

Previously, it’s been rendering with a green border which I think helps
make people blind to the fact that we’re asking for action to be taken
(based on real-life user testing).

See #6041

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/bp-core-functions.php

    r9171 r9172  
    241241    // Add notice if no rewrite rules are enabled
    242242    if ( empty( $wp_rewrite->permalink_structure ) ) {
    243         bp_core_add_admin_notice( sprintf( __( '<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' ), admin_url( 'options-permalink.php' ) ) );
     243        bp_core_add_admin_notice( sprintf( __( '<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' ), admin_url( 'options-permalink.php' ) ), 'error' );
    244244    }
    245245
Note: See TracChangeset for help on using the changeset viewer.