Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/04/2014 10:25:54 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Use the correct EMPTY_TRASH_DAYS const.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/topics/template.php

    r5443 r5462  
    26582658        }
    26592659
    2660         if ( bbp_is_topic_trash( $topic->ID ) || ! empty_TRASH_DAYS ) {
     2660        if ( bbp_is_topic_trash( $topic->ID ) || ! EMPTY_TRASH_DAYS ) {
    26612661            $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>';
    26622662        }
Note: See TracChangeset for help on using the changeset viewer.