This commit is contained in:
Chung Pham
2020-08-20 17:31:10 +07:00
parent a2415271a9
commit 8851716ddc
34 changed files with 5463 additions and 5035 deletions

View File

@@ -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>';