Changeset 3918 for branches/plugin/bbp-includes/bbp-user-template.php
- Timestamp:
- 05/22/2012 09:52:50 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-user-template.php
r3911 r3918 864 864 * @uses is_super_admin() To check if the user is super admin 865 865 * @uses bbp_is_user_home() To check if it's the user home 866 * @uses bbp_is_user_home_edit() To check if it's the user home edit 866 867 */ 867 868 function bbp_notice_edit_user_is_super_admin() { … … 869 870 870 871 <div class="bbp-template-notice important"> 871 <p><?php bbp_is_user_home() ? _e( 'You have super admin privileges.', 'bbpress' ) : _e( 'This user has super admin privileges.', 'bbpress' ); ?></p>872 <p><?php bbp_is_user_home() || bbp_is_user_home_edit() ? _e( 'You have super admin privileges.', 'bbpress' ) : _e( 'This user has super admin privileges.', 'bbpress' ); ?></p> 872 873 </div> 873 874
Note: See TracChangeset
for help on using the changeset viewer.