Changeset 7352 for trunk/src/includes/admin/forums.php
- Timestamp:
- 11/14/2025 04:17:43 PM (4 months ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/forums.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/forums.php
r7190 r7352 448 448 switch ( $notice ) { 449 449 case 'opened' : 450 $message = ( $is_failure === true )450 $message = ( true === $is_failure ) 451 451 ? sprintf( esc_html__( 'There was a problem opening the forum "%1$s".', 'bbpress' ), $forum_title ) 452 452 : sprintf( esc_html__( 'Forum "%1$s" successfully opened.', 'bbpress' ), $forum_title ); … … 454 454 455 455 case 'closed' : 456 $message = ( $is_failure === true )456 $message = ( true === $is_failure ) 457 457 ? sprintf( esc_html__( 'There was a problem closing the forum "%1$s".', 'bbpress' ), $forum_title ) 458 458 : sprintf( esc_html__( 'Forum "%1$s" successfully closed.', 'bbpress' ), $forum_title ); … … 462 462 // Do additional forum toggle notice filters (admin side) 463 463 $message = apply_filters( 'bbp_toggle_forum_notice_admin', $message, $forum_id, $notice, $is_failure ); 464 $class = ( $is_failure === true )464 $class = ( true === $is_failure ) 465 465 ? 'error' 466 466 : 'updated';
Note: See TracChangeset
for help on using the changeset viewer.