update
This commit is contained in:
@@ -179,11 +179,11 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
||||
|
||||
public function term_hooks() {
|
||||
if ( ! function_exists( 'get_term_meta' ) ) {
|
||||
wp_die( esc_html__( 'Term Metadata is a WordPress 4.4+ feature. Please upgrade your WordPress install.', 'cmb2' ) );
|
||||
wp_die( esc_html__( 'Term Metadata is a WordPress 4.4+ feature. Please upgrade your WordPress install.', 'opalestate-pro' ) );
|
||||
}
|
||||
|
||||
if ( ! $this->cmb->prop( 'taxonomies' ) ) {
|
||||
wp_die( esc_html__( 'Term metaboxes configuration requires a "taxonomies" parameter.', 'cmb2' ) );
|
||||
wp_die( esc_html__( 'Term metaboxes configuration requires a "taxonomies" parameter.', 'opalestate-pro' ) );
|
||||
}
|
||||
|
||||
$this->taxonomies = (array) $this->cmb->prop( 'taxonomies' );
|
||||
@@ -463,7 +463,7 @@ class CMB2_hookup extends CMB2_Hookup_Base {
|
||||
if ( $add_handle ) {
|
||||
|
||||
echo '<button type="button" class="handlediv button-link" aria-expanded="true">';
|
||||
echo '<span class="screen-reader-text">' . sprintf( esc_html__( 'Toggle panel: %s' ), $title ) . '</span>';
|
||||
echo '<span class="screen-reader-text">' . sprintf( esc_html__( 'Toggle panel: %s', 'opalestate-pro' ), $title ) . '</span>';
|
||||
echo '<span class="toggle-indicator" aria-hidden="true"></span>';
|
||||
echo '</button>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user