Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/19/2017 08:36:08 PM (9 years ago)
Author:
johnjamesjacoby
Message:

Settings: remove directory path from option text.

File:
1 edited

Legend:

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

    r6419 r6420  
    793793    // @see bbPress::register_theme_packages()
    794794    foreach ( (array) bbpress()->theme_compat->packages as $id => $theme ) {
    795         $theme_options .= '<option value="' . esc_attr( $id ) . '"' . selected( $theme->id, $current_package, false ) . '>' . sprintf( esc_html__( '%1$s - %2$s', 'bbpress' ), esc_html( $theme->name ), esc_html( str_replace( WP_CONTENT_DIR, '', $theme->dir ) ) ) . '</option>';
     795        $theme_options .= '<option value="' . esc_attr( $id ) . '"' . selected( $theme->id, $current_package, false ) . '>' . esc_html( $theme->name ) . '</option>';
    796796    }
    797797
Note: See TracChangeset for help on using the changeset viewer.