PluginProbe
WPGet API – Connect to any external REST API / 1.1.0
WPGet API – Connect to any external REST API v1.1.0
1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.1.0 2.1.1 2.1.3 2.1.4 2.1.5 2.2.0 2.2.1 2.2.10 2.2.2 2.2.3 All 97 releases
← All changes | lib/cmb2/includes/CMB2.php +1 -5 2.2.01.1.0 View file →
@@ -605,10 +605,8 @@
605 605 $field_group->peform_param_callback( 'before_group_row' );
606 606 $closed_class = $field_group->options( 'closed' ) ? ' closed' : '';
607 607 $confirm_deletion = $field_group->options( 'remove_confirm' );
608 608 $confirm_deletion = ! empty( $confirm_deletion ) ? $confirm_deletion : '';
609 -
610 - $group_title = isset( $field_group->value[$field_group->index]['id'] ) ? $field_group->value[$field_group->index]['id'] : $field_group->replace_hash( $field_group->options( 'group_title' ) );
611 609
612 610 echo '
613 611 <div id="cmb-group-', $field_group->id(), '-', $field_group->index, '" class="postbox cmb-row cmb-repeatable-grouping', $closed_class, '" data-iterator="', $field_group->index, '">';
614 612
@@ -615,13 +613,11 @@
615 613 if ( $field_group->args( 'repeatable' ) ) {
616 614 echo '<button type="button" data-selector="', $field_group->id(), '_repeat" data-confirm="', esc_attr( $confirm_deletion ), '" class="dashicons-before dashicons-no-alt cmb-remove-group-row" title="', esc_attr( $field_group->options( 'remove_button' ) ), '"></button>';
617 615 }
618 616
619 - $button = isset( $_GET['page'] ) && $_GET['page'] == 'wpgetapi_setup' ? '' : '<button class="test-endpoint-button button-primary">' . esc_html__( 'Test Endpoint', 'wpgetapi' ) . '</button>';
620 -
621 617 echo '
622 618 <div class="cmbhandle" title="' , esc_attr__( 'Click to toggle', 'cmb2' ), '"><br></div>
623 - <h3 class="cmb-group-title cmbhandle-title"><span>', $group_title, '</span>' . $button . '</h3>
619 + <h3 class="cmb-group-title cmbhandle-title"><span>', $field_group->replace_hash( $field_group->options( 'group_title' ) ), '</span></h3>
624 620
625 621 <div class="inside cmb-td cmb-nested cmb-field-list">';
626 622 // Loop and render repeatable group fields.
627 623 foreach ( array_values( $field_group->args( 'fields' ) ) as $field_args ) {