Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions classes/models/fields/FrmFieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2083,15 +2083,4 @@ public function should_unserialize_value() {
public function filter_value_for_table_html( $value ) {
return wp_kses_post( $value );
}

/**
* @since 4.04
* @deprecated 6.24
*
* @return string
*/
protected function get_add_option_string() {
_deprecated_function( __METHOD__, '6.24' );
return __( 'Add Option', 'formidable' );
}
}
17 changes: 0 additions & 17 deletions classes/views/frm-fields/back-end/field-options.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,3 @@
$this->show_single_option( $args );
?>
</ul>

<?php
// Backwards compatibility "@since 6.24".
if ( FrmAppHelper::pro_is_connected() && ! is_callable( array( 'FrmProHtmlHelper', 'echo_radio_group' ) ) && 'product' === $args['field']['type'] ) {
?>
<div class="frm6 frm_form_field frm_add_opt_container">
<a href="javascript:void(0);" data-opttype="single" class="frm-h-stack frm_cb_button frm_add_opt frm6 frm_form_field frm-add-option-legacy" id="frm_add_opt_<?php echo esc_attr( $args['field']['id'] ); ?>">
<span><?php FrmAppHelper::icon_by_class( 'frmfont frm_plus1_icon frm_add_tag frm_svg13' ); ?></span>
<span>
<?php
// skipcq: PHP-E1002
echo esc_html( $this->get_add_option_string() );
?>
</span>
</a>
</div>
<?php } ?>
Loading