Version Description
May 15, 2015 =
Fixed: BEWPI_TEMPLATES_DIR not defined
Download this release
Release Info
Developer | baaaaas |
Plugin | WooCommerce PDF Invoices |
Version | 2.2.8 |
Comparing to | |
See all releases |
Code changes from version 2.2.7 to 2.2.8
- bootstrap.php +6 -3
- includes/views/templates/micro/body.php +0 -1
- readme.txt +5 -1
bootstrap.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* @version 2.2.
|
5 |
* @package WooCommerce PDF Invoices
|
6 |
* @author baaaaas
|
7 |
*
|
@@ -9,7 +9,7 @@
|
|
9 |
* Plugin Name: WooCommerce PDF Invoices
|
10 |
* Plugin URI:
|
11 |
* Description: Automatically or manually create and send PDF Invoices for WooCommerce orders and connect with Dropbox, Google Drive, OneDrive or Egnyte.
|
12 |
-
* Version: 2.2.
|
13 |
* Author: baaaaas
|
14 |
* Author URI:
|
15 |
* License: GPL-2.0+
|
@@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) )
|
|
22 |
die( 'Access denied.' );
|
23 |
|
24 |
if ( ! defined( 'BEWPI_VERSION' ) )
|
25 |
-
define( 'BEWPI_VERSION', '2.2.
|
26 |
|
27 |
if ( ! defined( 'BEWPI_URL' ) )
|
28 |
define( 'BEWPI_URL', plugins_url( '', __FILE__ ) . '/' );
|
@@ -33,6 +33,9 @@ if ( ! defined( 'BEWPI_DIR' ) )
|
|
33 |
if ( ! defined( 'BEWPI_LANG_DIR' ) )
|
34 |
define( 'BEWPI_LANG_DIR', basename( dirname( __FILE__ ) ) . '/lang' );
|
35 |
|
|
|
|
|
|
|
36 |
if ( ! defined( 'BEWPI_INVOICES_DIR' ) ) :
|
37 |
$wp_upload_dir = wp_upload_dir();
|
38 |
define( 'BEWPI_INVOICES_DIR', $wp_upload_dir['basedir'] . '/bewpi-invoices/' );
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* @version 2.2.8
|
5 |
* @package WooCommerce PDF Invoices
|
6 |
* @author baaaaas
|
7 |
*
|
9 |
* Plugin Name: WooCommerce PDF Invoices
|
10 |
* Plugin URI:
|
11 |
* Description: Automatically or manually create and send PDF Invoices for WooCommerce orders and connect with Dropbox, Google Drive, OneDrive or Egnyte.
|
12 |
+
* Version: 2.2.8
|
13 |
* Author: baaaaas
|
14 |
* Author URI:
|
15 |
* License: GPL-2.0+
|
22 |
die( 'Access denied.' );
|
23 |
|
24 |
if ( ! defined( 'BEWPI_VERSION' ) )
|
25 |
+
define( 'BEWPI_VERSION', '2.2.8' );
|
26 |
|
27 |
if ( ! defined( 'BEWPI_URL' ) )
|
28 |
define( 'BEWPI_URL', plugins_url( '', __FILE__ ) . '/' );
|
33 |
if ( ! defined( 'BEWPI_LANG_DIR' ) )
|
34 |
define( 'BEWPI_LANG_DIR', basename( dirname( __FILE__ ) ) . '/lang' );
|
35 |
|
36 |
+
if ( ! defined( 'BEWPI_TEMPLATES_DIR' ) )
|
37 |
+
define( 'BEWPI_TEMPLATES_DIR', plugin_dir_path( __FILE__ ) . '/includes/views/templates/' );
|
38 |
+
|
39 |
if ( ! defined( 'BEWPI_INVOICES_DIR' ) ) :
|
40 |
$wp_upload_dir = wp_upload_dir();
|
41 |
define( 'BEWPI_INVOICES_DIR', $wp_upload_dir['basedir'] . '/bewpi-invoices/' );
|
includes/views/templates/micro/body.php
CHANGED
@@ -198,7 +198,6 @@
|
|
198 |
<!-- Fees -->
|
199 |
<?php
|
200 |
$line_items_fee = $this->order->get_items( 'fee' );
|
201 |
-
//if ( count( $line_items_fee ) > 0 ) :
|
202 |
foreach ( $line_items_fee as $item_id => $item ) :
|
203 |
?>
|
204 |
<tr class="after-products">
|
198 |
<!-- Fees -->
|
199 |
<?php
|
200 |
$line_items_fee = $this->order->get_items( 'fee' );
|
|
|
201 |
foreach ( $line_items_fee as $item_id => $item ) :
|
202 |
?>
|
203 |
<tr class="after-products">
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: woocommerce pdf invoices, invoice, generate, pdf, woocommerce, attachment, email, completed order, customer invoice, processing order, attach, automatic, vat, rate, sequential, number
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -66,6 +66,10 @@ The manual installation method involves downloading our plugin and uploading it
|
|
66 |
|
67 |
== Changelog ==
|
68 |
|
|
|
|
|
|
|
|
|
69 |
= 2.2.7 - May 15, 2015 =
|
70 |
|
71 |
- Added: Filter to change path to textdomain
|
4 |
Tags: woocommerce pdf invoices, invoice, generate, pdf, woocommerce, attachment, email, completed order, customer invoice, processing order, attach, automatic, vat, rate, sequential, number
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 2.2.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 2.2.8 - May 15, 2015 =
|
70 |
+
|
71 |
+
- Fixed: BEWPI_TEMPLATES_DIR not defined
|
72 |
+
|
73 |
= 2.2.7 - May 15, 2015 =
|
74 |
|
75 |
- Added: Filter to change path to textdomain
|