Skip to content

Commit 94dfeed

Browse files
fix: remove old textarea input for categories
1 parent 8bb600f commit 94dfeed

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

inc/admin.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,6 @@ function( $pm ) {
312312
$aviary_api_key = isset( $_REQUEST['aviary_api_key'] ) ? sanitize_text_field( $_REQUEST['aviary_api_key'] ) : '';
313313
$productmeta_style = isset( $_REQUEST['productmeta_style'] ) ? sanitize_text_field( $_REQUEST['productmeta_style'] ) : '';
314314
$productmeta_js = isset( $_REQUEST['productmeta_js'] ) ? sanitize_text_field( $_REQUEST['productmeta_js'] ) : '';
315-
$productmeta_categories = isset( $_REQUEST['productmeta_categories'] ) ? sanitize_textarea_field( $_REQUEST['productmeta_categories'] ) : '';
316-
317315

318316
if ( strlen( $productmeta_name ) > 50 ) {
319317
$resp = array(
@@ -330,7 +328,6 @@ function( $pm ) {
330328
'send_file_attachment' => $send_file_attachment,
331329
'show_cart_thumb' => $show_cart_thumb,
332330
'aviary_api_key' => trim( $aviary_api_key ),
333-
'productmeta_categories' => $productmeta_categories,
334331
'the_meta' => $product_meta,
335332
'productmeta_created' => current_time( 'mysql' ),
336333
);
@@ -474,7 +471,6 @@ function( $pm ) {
474471
$aviary_api_key = isset( $_REQUEST['aviary_api_key'] ) ? sanitize_text_field( $_REQUEST['aviary_api_key'] ) : '';
475472
$productmeta_style = isset( $_REQUEST['productmeta_style'] ) ? sanitize_text_field( $_REQUEST['productmeta_style'] ) : '';
476473
$productmeta_js = isset( $_REQUEST['productmeta_js'] ) ? sanitize_text_field( $_REQUEST['productmeta_js'] ) : '';
477-
$productmeta_categories = isset( $_REQUEST['productmeta_categories'] ) ? sanitize_textarea_field( $_REQUEST['productmeta_categories'] ) : '';
478474

479475
if ( strlen( $productmeta_name ) > 50 ) {
480476
$resp = array(
@@ -491,7 +487,6 @@ function( $pm ) {
491487
'send_file_attachment' => $send_file_attachment,
492488
'show_cart_thumb' => $show_cart_thumb,
493489
'aviary_api_key' => trim( $aviary_api_key ),
494-
'productmeta_categories' => $productmeta_categories,
495490
'the_meta' => $product_meta,
496491
);
497492
if ( ! ppom_is_legacy_user() ) {

0 commit comments

Comments
 (0)