Changeset 5462 for trunk/src/includes/topics/template.php
- Timestamp:
- 09/04/2014 10:25:54 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/topics/template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/topics/template.php
r5443 r5462 2658 2658 } 2659 2659 2660 if ( bbp_is_topic_trash( $topic->ID ) || ! empty_TRASH_DAYS ) {2660 if ( bbp_is_topic_trash( $topic->ID ) || ! EMPTY_TRASH_DAYS ) { 2661 2661 $actions['delete'] = '<a title="' . esc_attr__( 'Delete this item permanently', 'bbpress' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'bbp_toggle_topic_trash', 'sub_action' => 'delete', 'topic_id' => $topic->ID ) ), 'delete-' . $topic->post_type . '_' . $topic->ID ) ) . '" onclick="return confirm(\'' . esc_js( __( 'Are you sure you want to delete that permanently?', 'bbpress' ) ) . '\' );" class="bbp-topic-delete-link">' . $r['delete_text'] . '</a>'; 2662 2662 }
Note: See TracChangeset
for help on using the changeset viewer.