Changeset 7379 for trunk/src/includes/replies/template.php
- Timestamp:
- 11/24/2025 07:23:06 PM (6 months ago)
- File:
-
- 1 edited
-
trunk/src/includes/replies/template.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/template.php
r7378 r7379 497 497 498 498 // Include pagination 499 // phpcs:ignore Universal.ControlStructures.DisallowLonelyIf.Found 499 500 } else { 500 501 … … 2546 2547 2547 2548 // We are including the lead topic 2549 // phpcs:ignore Universal.ControlStructures.DisallowLonelyIf.Found 2548 2550 } else { 2549 2551 … … 2866 2868 $r['selected'] = sanitize_key( $_POST[ $r['select_id'] ] ); 2867 2869 2868 // No Post value was passed 2870 // Edit reply 2871 } elseif ( bbp_is_reply_edit() ) { 2872 $r['reply_id'] = bbp_get_reply_id( $r['reply_id'] ); 2873 $r['selected'] = bbp_get_reply_status( $r['reply_id'] ); 2874 2875 // New reply 2869 2876 } else { 2870 2871 // Edit reply 2872 if ( bbp_is_reply_edit() ) { 2873 $r['reply_id'] = bbp_get_reply_id( $r['reply_id'] ); 2874 $r['selected'] = bbp_get_reply_status( $r['reply_id'] ); 2875 2876 // New reply 2877 } else { 2878 $r['selected'] = bbp_get_public_status_id(); 2879 } 2877 $r['selected'] = bbp_get_public_status_id(); 2880 2878 } 2881 2879 }
Note: See TracChangeset
for help on using the changeset viewer.