Changeset 7006 for trunk/src/includes/admin/settings.php
- Timestamp:
- 11/24/2019 01:38:37 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/settings.php
r6967 r7006 969 969 if ( ! empty( $theme_options ) ) : ?> 970 970 971 <select name="_bbp_theme_package_id" id="_bbp_theme_package_id" <?php bbp_maybe_admin_setting_disabled( '_bbp_theme_package_id' ); ?>><?php echo $theme_options ?></select>971 <select name="_bbp_theme_package_id" id="_bbp_theme_package_id" <?php bbp_maybe_admin_setting_disabled( '_bbp_theme_package_id' ); ?>><?php echo $theme_options; ?></select> 972 972 <label for="_bbp_theme_package_id"><?php esc_html_e( 'will serve all bbPress templates', 'bbpress' ); ?></label> 973 973 … … 1465 1465 // Button & text 1466 1466 $button = '<a href="' . esc_url( $new_url ) . '">' . esc_html__( 'create a new one', 'bbpress' ) . '</a>'; 1467 $text = esc_html__( 'Use %s to contain your group forums, or %s', 'bbpress' ); 1467 $text = esc_html__( 'Use %s to contain your group forums, or %s', 'bbpress' ); //phpcs:ignore 1468 1468 } else { 1469 1469 $text = esc_html__( 'Use %s to contain your group forums', 'bbpress' ); … … 1518 1518 1519 1519 <div class="wrap"> 1520 <h1 class="wp-heading-inline"><?php esc_html_e( 'Forums Settings', 'bbpress' ) ?></h1>1520 <h1 class="wp-heading-inline"><?php esc_html_e( 'Forums Settings', 'bbpress' ); ?></h1> 1521 1521 <hr class="wp-header-end"> 1522 1522 … … 1568 1568 } ?> 1569 1569 1570 <select name="_bbp_converter_platform" id="_bbp_converter_platform"><?php echo $options ?></select>1570 <select name="_bbp_converter_platform" id="_bbp_converter_platform"><?php echo $options; ?></select> 1571 1571 <p class="description"><?php esc_html_e( 'The previous forum software', 'bbpress' ); ?></p> 1572 1572 … … 1793 1793 // Starting or continuing? 1794 1794 $progress_text = ! empty( $step ) 1795 ? sprintf( esc_html__( 'Previously stopped at step % d of %d', 'bbpress' ), $step, $max )1795 ? sprintf( esc_html__( 'Previously stopped at step %1$d of %2$d', 'bbpress' ), $step, $max ) 1796 1796 : esc_html__( 'Ready to go.', 'bbpress' ); ?> 1797 1797 … … 1958 1958 * @param bool $slug 1959 1959 */ 1960 function bbp_form_option( $option, $default = '' 1960 function bbp_form_option( $option, $default = '', $slug = false ) { 1961 1961 echo bbp_get_form_option( $option, $default, $slug ); 1962 1962 }
Note: See TracChangeset
for help on using the changeset viewer.