Version Description
Download this release
Release Info
Developer | PixelYourSite |
Plugin | PixelYourSite – Facebook Pixel (Events, WooCommerce & Easy Digital Downloads) |
Version | 4.0.1 |
Comparing to | |
See all releases |
Code changes from version 4.0.0 to 4.0.1
- facebook-pixel-master.php +2 -2
- inc/common.php +5 -3
- readme.txt +5 -1
facebook-pixel-master.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
Plugin URI: http://www.pixelyoursite.com/facebook-pixel-plugin-help
|
6 |
Author: PixelYourSite
|
7 |
Author URI: http://www.pixelyoursite.com
|
8 |
-
Version: 4.0.
|
9 |
License: GPLv3
|
10 |
*/
|
11 |
|
@@ -16,7 +16,7 @@ if( defined( 'WP_DEBUG' ) && WP_DEBUG == true ) {
|
|
16 |
error_reporting( E_ALL );
|
17 |
}
|
18 |
|
19 |
-
define( 'PYS_FREE_VERSION_REAL', '4.0.
|
20 |
define( 'PYS_FREE_VERSION', '4.0.0'); // for plugin notices capability
|
21 |
|
22 |
require_once( 'inc/common.php' );
|
5 |
Plugin URI: http://www.pixelyoursite.com/facebook-pixel-plugin-help
|
6 |
Author: PixelYourSite
|
7 |
Author URI: http://www.pixelyoursite.com
|
8 |
+
Version: 4.0.1
|
9 |
License: GPLv3
|
10 |
*/
|
11 |
|
16 |
error_reporting( E_ALL );
|
17 |
}
|
18 |
|
19 |
+
define( 'PYS_FREE_VERSION_REAL', '4.0.1' );
|
20 |
define( 'PYS_FREE_VERSION', '4.0.0'); // for plugin notices capability
|
21 |
|
22 |
require_once( 'inc/common.php' );
|
inc/common.php
CHANGED
@@ -430,10 +430,11 @@ if( !function_exists( 'pys_insert_attribute' ) ) {
|
|
430 |
$attribute = $node->getAttribute( $attr_name );
|
431 |
|
432 |
// add attribute or override old one
|
433 |
-
if( empty( $attribute ) || $overwrite ) {
|
434 |
|
435 |
$node->setAttribute( $attr_name, $attr_value );
|
436 |
-
|
|
|
437 |
|
438 |
}
|
439 |
|
@@ -442,7 +443,8 @@ if( !function_exists( 'pys_insert_attribute' ) ) {
|
|
442 |
|
443 |
$value = $attribute . ' ' . $attr_value;
|
444 |
$node->setAttribute( $attr_name, $value );
|
445 |
-
|
|
|
446 |
|
447 |
}
|
448 |
|
430 |
$attribute = $node->getAttribute( $attr_name );
|
431 |
|
432 |
// add attribute or override old one
|
433 |
+
if ( empty( $attribute ) || $overwrite ) {
|
434 |
|
435 |
$node->setAttribute( $attr_name, $attr_value );
|
436 |
+
|
437 |
+
return str_replace( array( '<?xml encoding="UTF-8">', '<html>', '</html>', '<body>', '</body>' ), null, $doc->saveHTML() );
|
438 |
|
439 |
}
|
440 |
|
443 |
|
444 |
$value = $attribute . ' ' . $attr_value;
|
445 |
$node->setAttribute( $attr_name, $value );
|
446 |
+
|
447 |
+
return str_replace( array( '<?xml encoding="UTF-8">', '<html>', '</html>', '<body>', '</body>' ), null, $doc->saveHTML() );
|
448 |
|
449 |
}
|
450 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: PixelYourSite, c0d3fev3r, themister
|
|
3 |
Tags: Facebook Pixel, New Facebook Pixel, Facebook Conversion Pixel, Facebook Pixel Events, Facebook, New Facebook Pixel Events, Dynamic Events, Standard Events, Facebook Events, Facebook Standard Events, Facebook Dynamic Product Ads, WooCommerce, WooCommerce Facebook Pixel, Facebook Custom Events, Facebook Conversion Value, WooCommerce Affiliate Products, Facebook Pixel PayPal
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 4.6.1
|
6 |
-
Stable tag: 4.0.
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -203,6 +203,10 @@ We have an article about how to optimize Facebook Ads Reports:
|
|
203 |
|
204 |
== Changelog ==
|
205 |
|
|
|
|
|
|
|
|
|
206 |
= PixelYourSite 4.0.0 =
|
207 |
|
208 |
* From version 4.0 the plugin uses JS to trigger the code. This allows us to add new useful features.
|
3 |
Tags: Facebook Pixel, New Facebook Pixel, Facebook Conversion Pixel, Facebook Pixel Events, Facebook, New Facebook Pixel Events, Dynamic Events, Standard Events, Facebook Events, Facebook Standard Events, Facebook Dynamic Product Ads, WooCommerce, WooCommerce Facebook Pixel, Facebook Custom Events, Facebook Conversion Value, WooCommerce Affiliate Products, Facebook Pixel PayPal
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 4.6.1
|
6 |
+
Stable tag: 4.0.1
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
203 |
|
204 |
== Changelog ==
|
205 |
|
206 |
+
= PixelYourSite 4.0.1 =
|
207 |
+
|
208 |
+
* fixing minor bugs
|
209 |
+
|
210 |
= PixelYourSite 4.0.0 =
|
211 |
|
212 |
* From version 4.0 the plugin uses JS to trigger the code. This allows us to add new useful features.
|