Skip to content

Commit

Permalink
Do not output hash on row
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed May 25, 2018
1 parent e86b296 commit 6a09e3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
7 changes: 1 addition & 6 deletions includes/CMB2_Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -883,12 +883,7 @@ public function render_field_callback() {

$this->peform_param_callback( 'before_row' );

printf(
"<div class=\"cmb-row %s\" data-fieldtype=\"%s\" data-hash=\"%s\">\n",
$this->row_classes(),
$this->type(),
$this->hash_id()
);
printf( "<div class=\"cmb-row %s\" data-fieldtype=\"%s\">\n", $this->row_classes(), $this->type() );

if ( ! $this->args( 'show_names' ) ) {
echo "\n\t<div class=\"cmb-td\">\n";
Expand Down
12 changes: 6 additions & 6 deletions languages/cmb2.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ msgid ""
msgstr ""
"Project-Id-Version: CMB2 2.3.0\n"
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/cmb2\n"
"POT-Creation-Date: 2018-05-25 02:22:54+00:00\n"
"POT-Creation-Date: 2018-05-25 03:19:53+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2018-5-24 2:22+240\n"
"PO-Revision-Date: 2018-5-24 3:19+240\n"
"Last-Translator: CMB2 Team [email protected]\n"
"Language-Team: CMB2 Team [email protected]\n"
"X-Generator: grunt-wp-i18n 0.4.9\n"
Expand Down Expand Up @@ -393,20 +393,20 @@ msgstr ""
msgid "Invalid %1$s method: %2$s"
msgstr ""

#: includes/CMB2_Field.php:1301
#: includes/CMB2_Field.php:1296
msgid "Add Group"
msgstr ""

#: includes/CMB2_Field.php:1302
#: includes/CMB2_Field.php:1297
msgid "Remove Group"
msgstr ""

#: includes/CMB2_Field.php:1333 includes/CMB2_Field.php:1337
#: includes/CMB2_Field.php:1328 includes/CMB2_Field.php:1332
#: tests/test-cmb-field.php:237
msgid "None"
msgstr ""

#: includes/CMB2_Field.php:1448
#: includes/CMB2_Field.php:1443
msgid "Sorry, this field does not have a cmb_id specified."
msgstr ""

Expand Down

0 comments on commit 6a09e3d

Please sign in to comment.