Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/26/2017 08:46:41 PM (7 years ago)
Author:
johnjamesjacoby
Message:

Admin: in list-tables, if no parent forum/topic, show — instead.

Also make sure a few strings are escaped, and dropdowns are using correct parent text.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/metaboxes.php

    r6334 r6424  
    357357            'select_id'          => 'parent_id',
    358358            'options_only'       => false,
    359             'show_none'          => __( '— No forum —', 'bbpress' ),
     359            'show_none'          => esc_html__( '— No parent —', 'bbpress' ),
    360360            'disable_categories' => false,
    361361            'disabled'           => ''
     
    436436            'select_id'          => 'parent_id',
    437437            'options_only'       => false,
    438             'show_none'          => __( '— No parent —', 'bbpress' ),
     438            'show_none'          => esc_html__( '— No forum —', 'bbpress' ),
    439439            'disable_categories' => current_user_can( 'edit_forums' ),
    440440            'disabled'           => ''
     
    503503                'select_id'          => 'bbp_forum_id',
    504504                'options_only'       => false,
    505                 'show_none'          => __( '— No reply —', 'bbpress' ),
     505                'show_none'          => esc_html__( '— No reply —', 'bbpress' ),
    506506                'disable_categories' => current_user_can( 'edit_forums' ),
    507507                'disabled'           => ''
Note: See TracChangeset for help on using the changeset viewer.