Skip to content

Commit

Permalink
New: PDFJS v3.11.174 upgrade (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmigf authored May 1, 2024
1 parent 435a836 commit 2652825
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion assets/js/pdf_js/pdf.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/pdf_js/pdf.worker.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions includes/class-wcpdf-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function backend_scripts_styles ( $hook ) {
array(
'ajaxurl' => admin_url( 'admin-ajax.php' ),
'template_paths' => WPO_WCPDF()->settings->get_installed_templates(),
'pdfjs_worker' => WPO_WCPDF()->plugin_url() . '/assets/js/pdf_js/pdf.worker.min.js', // taken from https://cdnjs.com/libraries/pdf.js
'pdfjs_worker' => WPO_WCPDF()->plugin_url() . '/assets/js/pdf_js/pdf.worker.min.js?ver=' . WPO_WCPDF_VERSION, // taken from https://cdnjs.com/libraries/pdf.js
'preview_excluded_settings' => apply_filters( 'wpo_wcpdf_preview_excluded_settings', array(
// general
'download_display',
Expand Down Expand Up @@ -195,7 +195,7 @@ public function backend_scripts_styles ( $hook ) {
'wpo-wcpdf-pdfjs',
WPO_WCPDF()->plugin_url() . '/assets/js/pdf_js/pdf.min.js', // taken from https://cdnjs.com/libraries/pdf.js
array(),
'3.7.107'
'3.11.174'
);
}

Expand Down
4 changes: 2 additions & 2 deletions woocommerce-pdf-invoices-packingslips.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Requires Plugins: woocommerce
* Plugin URI: https://wpovernight.com/downloads/woocommerce-pdf-invoices-packing-slips-bundle/
* Description: Create, print & email PDF or UBL Invoices & PDF Packing Slips for WooCommerce orders.
* Version: 3.8.2
* Version: 3.8.3-beta-1
* Author: WP Overnight
* Author URI: https://www.wpovernight.com
* License: GPLv2 or later
Expand All @@ -22,7 +22,7 @@

class WPO_WCPDF {

public $version = '3.8.2';
public $version = '3.8.3-beta-1';
public $version_php = '7.2';
public $version_woo = '3.3';
public $version_wp = '4.4';
Expand Down

0 comments on commit 2652825

Please sign in to comment.