Skip to:
Content

bbPress.org

Changeset 6396


Ignore:
Timestamp:
04/10/2017 08:07:04 PM (3 years ago)
Author:
johnjamesjacoby
Message:

Replies: Invert the $show_none comparison, to fix the default drop-down text.

Props SergeyBiryukov. Fixes #2617.

File:
1 edited

Legend:

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

    r6388 r6396  
    27012701
    27022702        // Default "None" text
    2703         $show_none = ( 0 !== $reply_id )
     2703        $show_none = ( 0 === $reply_id )
    27042704            ? esc_attr_x( 'None', 'Default reply to dropdown text', 'bbpress' )
    27052705            : sprintf( esc_attr__( '%1$s - %2$s', 'bbpress' ), $topic_id, bbp_get_topic_title( $topic_id ) );
Note: See TracChangeset for help on using the changeset viewer.