Official Facebook Pixel - Version 3.0.5

Version Description

Download this release

Release Info

Developer Facebook
Plugin Icon Official Facebook Pixel
Version 3.0.5
Comparing to
See all releases

Code changes from version 3.0.4 to 3.0.5

Files changed (35) hide show
  1. changelog.txt +4 -0
  2. core/FacebookPluginConfig.php +1 -1
  3. facebook-for-wordpress.php +1 -1
  4. integration/FacebookWordpressContactForm7.php +23 -6
  5. js/fbe_allinone.js +0 -25
  6. languages/official-facebook-pixel-ar_AR.po +1 -1
  7. languages/official-facebook-pixel-cs_CZ.po +1 -1
  8. languages/official-facebook-pixel-da_DK.po +1 -1
  9. languages/official-facebook-pixel-de_DE.po +1 -1
  10. languages/official-facebook-pixel-en_GB.po +1 -1
  11. languages/official-facebook-pixel-es_ES.po +1 -1
  12. languages/official-facebook-pixel-es_LA.po +1 -1
  13. languages/official-facebook-pixel-fi_FI.po +1 -1
  14. languages/official-facebook-pixel-fr_CA.po +1 -1
  15. languages/official-facebook-pixel-fr_FR.po +1 -1
  16. languages/official-facebook-pixel-he_IL.po +1 -1
  17. languages/official-facebook-pixel-it_IT.po +1 -1
  18. languages/official-facebook-pixel-ja_JP.po +1 -1
  19. languages/official-facebook-pixel-ko_KR.po +1 -1
  20. languages/official-facebook-pixel-nb_NO.po +1 -1
  21. languages/official-facebook-pixel-nl_NL.po +1 -1
  22. languages/official-facebook-pixel-pl_PL.po +1 -1
  23. languages/official-facebook-pixel-pt_BR.po +1 -1
  24. languages/official-facebook-pixel-pt_PT.po +1 -1
  25. languages/official-facebook-pixel-ru_RU.po +1 -1
  26. languages/official-facebook-pixel-sv_SE.po +1 -1
  27. languages/official-facebook-pixel-th_TH.po +1 -1
  28. languages/official-facebook-pixel-tr_TR.po +1 -1
  29. languages/official-facebook-pixel-vi_VN.po +1 -1
  30. languages/official-facebook-pixel-zh_CN.po +1 -1
  31. languages/official-facebook-pixel-zh_TW.po +1 -1
  32. readme.txt +6 -2
  33. vendor/autoload.php +1 -1
  34. vendor/composer/autoload_real.php +4 -4
  35. vendor/composer/autoload_static.php +4 -4
changelog.txt CHANGED
@@ -1,4 +1,8 @@
1
  *** Facebook for WordPress Changelog ***
 
 
 
 
2
  2021-02-17 version 3.0.4
3
  * Update Facebook Business SDK to v9.0.4
4
  * Validating, sanitizing and escaping plugin settings
1
  *** Facebook for WordPress Changelog ***
2
+ 2021-03-10 version 3.0.5
3
+ * Support for WordPress 5.7
4
+ * Fixing pixel events for Contact Form 7 in WP >= 5.7
5
+
6
  2021-02-17 version 3.0.4
7
  * Update Facebook Business SDK to v9.0.4
8
  * Validating, sanitizing and escaping plugin settings
core/FacebookPluginConfig.php CHANGED
@@ -20,7 +20,7 @@ namespace FacebookPixelPlugin\Core;
20
  defined('ABSPATH') or die('Direct access not allowed');
21
 
22
  class FacebookPluginConfig {
23
- const PLUGIN_VERSION = '3.0.4';
24
  const SOURCE = 'wordpress';
25
  const TEXT_DOMAIN = 'official-facebook-pixel';
26
  const PLUGIN_NAME = 'Facebook for WordPress';
20
  defined('ABSPATH') or die('Direct access not allowed');
21
 
22
  class FacebookPluginConfig {
23
+ const PLUGIN_VERSION = '3.0.5';
24
  const SOURCE = 'wordpress';
25
  const TEXT_DOMAIN = 'official-facebook-pixel';
26
  const PLUGIN_NAME = 'Facebook for WordPress';
facebook-for-wordpress.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: <strong><em>***ATTENTION: After upgrade the plugin may be deactivated due to a known issue, to workaround please refresh this page and activate plugin.***</em></strong> The Facebook pixel is an analytics tool that helps you measure the effectiveness of your advertising. You can use the Facebook pixel to understand the actions people are taking on your website and reach audiences you care about.
6
  * Author: Facebook
7
  * Author URI: https://www.facebook.com/
8
- * Version: 3.0.4
9
  * Text Domain: official-facebook-pixel
10
  */
11
 
5
  * Description: <strong><em>***ATTENTION: After upgrade the plugin may be deactivated due to a known issue, to workaround please refresh this page and activate plugin.***</em></strong> The Facebook pixel is an analytics tool that helps you measure the effectiveness of your advertising. You can use the Facebook pixel to understand the actions people are taking on your website and reach audiences you care about.
6
  * Author: Facebook
7
  * Author URI: https://www.facebook.com/
8
+ * Version: 3.0.5
9
  * Text Domain: official-facebook-pixel
10
  */
11
 
integration/FacebookWordpressContactForm7.php CHANGED
@@ -36,6 +36,27 @@ class FacebookWordpressContactForm7 extends FacebookWordpressIntegrationBase {
36
  'wpcf7_submit',
37
  array(__CLASS__, 'trackServerEvent'),
38
  10, 2);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  }
40
 
41
  public static function trackServerEvent($form, $result) {
@@ -55,7 +76,7 @@ class FacebookWordpressContactForm7 extends FacebookWordpressIntegrationBase {
55
  FacebookServerSideEvent::getInstance()->track($server_event);
56
 
57
  add_action(
58
- 'wpcf7_ajax_json_echo',
59
  array(__CLASS__, 'injectLeadEvent'),
60
  20, 2);
61
 
@@ -74,21 +95,17 @@ class FacebookWordpressContactForm7 extends FacebookWordpressIntegrationBase {
74
  $event_id = $events[0]->getEventId();
75
  $fbq_calls = PixelRenderer::render($events, self::TRACKING_NAME, false);
76
  $code = sprintf("
77
- <!-- Facebook Pixel Event Code -->
78
- <script type='text/javascript'>
79
  if( typeof window.pixelLastGeneratedLeadEvent === 'undefined'
80
  || window.pixelLastGeneratedLeadEvent != '%s' ){
81
  window.pixelLastGeneratedLeadEvent = '%s';
82
  %s
83
  }
84
- </script>
85
- <!-- End Facebook Pixel Event Code -->
86
  ",
87
  $event_id ,
88
  $event_id ,
89
  $fbq_calls);
90
 
91
- $response['message'] .= $code;
92
  return $response;
93
  }
94
 
36
  'wpcf7_submit',
37
  array(__CLASS__, 'trackServerEvent'),
38
  10, 2);
39
+ add_action(
40
+ 'wp_footer',
41
+ array(__CLASS__, 'injectMailSentListener'),
42
+ 10, 2);
43
+ }
44
+
45
+ public static function injectMailSentListener(){
46
+ ob_start();
47
+ ?>
48
+ <!-- Facebook Pixel Event Code -->
49
+ <script type='text/javascript'>
50
+ document.addEventListener( 'wpcf7mailsent', function( event ) {
51
+ if( "fb_pxl_code" in event.detail.apiResponse){
52
+ eval(event.detail.apiResponse.fb_pxl_code);
53
+ }
54
+ }, false );
55
+ </script>
56
+ <!-- End Facebook Pixel Event Code -->
57
+ <?php
58
+ $listenerCode = ob_get_clean();
59
+ echo $listenerCode;
60
  }
61
 
62
  public static function trackServerEvent($form, $result) {
76
  FacebookServerSideEvent::getInstance()->track($server_event);
77
 
78
  add_action(
79
+ 'wpcf7_feedback_response',
80
  array(__CLASS__, 'injectLeadEvent'),
81
  20, 2);
82
 
95
  $event_id = $events[0]->getEventId();
96
  $fbq_calls = PixelRenderer::render($events, self::TRACKING_NAME, false);
97
  $code = sprintf("
 
 
98
  if( typeof window.pixelLastGeneratedLeadEvent === 'undefined'
99
  || window.pixelLastGeneratedLeadEvent != '%s' ){
100
  window.pixelLastGeneratedLeadEvent = '%s';
101
  %s
102
  }
 
 
103
  ",
104
  $event_id ,
105
  $event_id ,
106
  $fbq_calls);
107
 
108
+ $response['fb_pxl_code'] = $code;
109
  return $response;
110
  }
111
 
js/fbe_allinone.js CHANGED
@@ -332,31 +332,6 @@ var displayFBModal = function displayFBModal() {
332
  if (FBUtils.isIE()) {
333
  IEOverlay().render();
334
  }
335
- var QueryString = function () {
336
- // This function is anonymous, is executed immediately and
337
- // the return value is assigned to QueryString!
338
- var query_string = {};
339
- var query = window.location.search.substring(1);
340
- var vars = query.split("&");
341
- for (var i = 0; i < vars.length; i++) {
342
- var pair = vars[i].split("=");
343
- // If first entry with this name
344
- if (typeof query_string[pair[0]] === "undefined") {
345
- query_string[pair[0]] = decodeURIComponent(pair[1]);
346
- // If second entry with this name
347
- } else if (typeof query_string[pair[0]] === "string") {
348
- var arr = [query_string[pair[0]], decodeURIComponent(pair[1])];
349
- query_string[pair[0]] = arr;
350
- // If third or later entry with this name
351
- } else {
352
- query_string[pair[0]].push(decodeURIComponent(pair[1]));
353
- }
354
- }
355
- return query_string;
356
- }();
357
- if (QueryString.p) {
358
- window.facebookBusinessExtensionConfig.popupOrigin = QueryString.p;
359
- }
360
  };
361
 
362
  (function main() {
332
  if (FBUtils.isIE()) {
333
  IEOverlay().render();
334
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
335
  };
336
 
337
  (function main() {
languages/official-facebook-pixel-ar_AR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-cs_CZ.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-da_DK.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-de_DE.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-en_GB.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-es_ES.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-es_LA.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-fi_FI.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-fr_CA.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-fr_FR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-he_IL.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-it_IT.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-ja_JP.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-ko_KR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-nb_NO.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-nl_NL.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-pl_PL.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-pt_BR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-pt_PT.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-ru_RU.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-sv_SE.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-th_TH.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-pixel\n"
7
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
8
  "PO-Revision-Date: 2018-11-28 17:37-0800\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-pixel\n"
7
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
8
  "PO-Revision-Date: 2018-11-28 17:37-0800\n"
languages/official-facebook-pixel-tr_TR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-vi_VN.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-zh_CN.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-zh_TW.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: facebook
3
  Tags: Facebook, Facebook Conversion Pixel, Facebook Pixel, Facebook Pixel Events, Conversions API, facebook retargeting, facebook standard events
4
  Requires at least: 4.4
5
- Tested up to: 5.6
6
  Requires PHP: 5.6
7
- Stable tag: 3.0.3
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -58,6 +58,10 @@ Of course! This plugin is open sourced on the Facebook Incubator GitHub. You can
58
 
59
  == Changelog ==
60
 
 
 
 
 
61
  = 2021-02-17 version 3.0.4 =
62
  * Update Facebook Business SDK to v9.0.4
63
  * Validating, sanitizing and escaping plugin settings
2
  Contributors: facebook
3
  Tags: Facebook, Facebook Conversion Pixel, Facebook Pixel, Facebook Pixel Events, Conversions API, facebook retargeting, facebook standard events
4
  Requires at least: 4.4
5
+ Tested up to: 5.7
6
  Requires PHP: 5.6
7
+ Stable tag: 3.0.4
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
58
 
59
  == Changelog ==
60
 
61
+ = 2021-03-10 version 3.0.5 =
62
+ * Support for WordPress 5.7
63
+ * Fixing pixel events for Contact Form 7 in WP >= 5.7
64
+
65
  = 2021-02-17 version 3.0.4 =
66
  * Update Facebook Business SDK to v9.0.4
67
  * Validating, sanitizing and escaping plugin settings
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit6f169657b09dc277914a13b6755ec055::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit9a310f169499fda079de70209c747d31::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit6f169657b09dc277914a13b6755ec055
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit6f169657b09dc277914a13b6755ec055
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit6f169657b09dc277914a13b6755ec055', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit6f169657b09dc277914a13b6755ec055', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInit6f169657b09dc277914a13b6755ec055::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit9a310f169499fda079de70209c747d31
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit9a310f169499fda079de70209c747d31', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit9a310f169499fda079de70209c747d31', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInit9a310f169499fda079de70209c747d31::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit6f169657b09dc277914a13b6755ec055
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'F' =>
@@ -42,9 +42,9 @@ class ComposerStaticInit6f169657b09dc277914a13b6755ec055
42
  public static function getInitializer(ClassLoader $loader)
43
  {
44
  return \Closure::bind(function () use ($loader) {
45
- $loader->prefixLengthsPsr4 = ComposerStaticInit6f169657b09dc277914a13b6755ec055::$prefixLengthsPsr4;
46
- $loader->prefixDirsPsr4 = ComposerStaticInit6f169657b09dc277914a13b6755ec055::$prefixDirsPsr4;
47
- $loader->classMap = ComposerStaticInit6f169657b09dc277914a13b6755ec055::$classMap;
48
 
49
  }, null, ClassLoader::class);
50
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit9a310f169499fda079de70209c747d31
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'F' =>
42
  public static function getInitializer(ClassLoader $loader)
43
  {
44
  return \Closure::bind(function () use ($loader) {
45
+ $loader->prefixLengthsPsr4 = ComposerStaticInit9a310f169499fda079de70209c747d31::$prefixLengthsPsr4;
46
+ $loader->prefixDirsPsr4 = ComposerStaticInit9a310f169499fda079de70209c747d31::$prefixDirsPsr4;
47
+ $loader->classMap = ComposerStaticInit9a310f169499fda079de70209c747d31::$classMap;
48
 
49
  }, null, ClassLoader::class);
50
  }