PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.20
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.20
1.10.20 1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 1.10.1 1.10.0 1.9.17 1.9.15 1.9.16 All 164 releases
← All changes | includes/Admin/Templates/Single_Template.php +2 -2 1.9.16 → 1.10.20 View file →
@@ -506,9 +506,9 @@
506 506
507 507 wp_enqueue_script(
508 508 'wcpos-template-editor',
509 509 PLUGIN_URL . $dir . '/js/template-editor.js',
510 - array( 'react', 'react-dom', 'wp-api-fetch' ),
510 + array( 'react', 'react-dom', 'wp-api-fetch', \WCPOS\WooCommercePOS\Admin::API_FETCH_METHOD_PARAM_HANDLE ),
511 511 PLUGIN_VERSION,
512 512 true
513 513 );
514 514
@@ -551,9 +551,9 @@
551 551
552 552 // Get sample receipt data from the preview builder.
553 553 $sample_data = self::get_sample_receipt_data();
554 554
555 - $preview_url = rest_url( 'wcpos/v1/templates/' . $post->ID . '/preview' );
555 + $preview_url = rest_url( 'wcpos/v2/templates/' . $post->ID . '/preview' );
556 556
557 557 $paper_width = get_post_meta( $post->ID, '_template_paper_width', true );
558 558
559 559 $config = array(