Version Description
Release Date: August 5th, 2015
-
Security:
- Fixes a small stored XSS issue (only exploitable by admins), thanks Duncan Stuart from DXW security for responsibly disclosing the issue.
-
Enhancements:
- Only allows showing and saving the custom code field for users with the
unfiltered_htmlcapability. - Improves JavaScript output escaping on the frontend.
- Only allows showing and saving the custom code field for users with the
Download this release
Release Info
| Developer | omarreiss |
| Plugin | |
| Version | 5.4.5 |
| Comparing to | |
| See all releases | |
Code changes from version 5.4.4 to 5.4.5
- admin/class-admin-form.php +1 -1
- admin/class-admin.php +8 -2
- admin/pages/settings.php +3 -1
- frontend/class-universal.php +1 -1
- googleanalytics.php +2 -2
- languages/google-analytics-for-wordpress-ca.mo +0 -0
- languages/google-analytics-for-wordpress-nb_NO.mo +0 -0
- languages/google-analytics-for-wordpress-pt_PT.mo +0 -0
- languages/google-analytics-for-wordpress-ru_RU.mo +0 -0
- languages/google-analytics-for-wordpress-sv_SE.mo +0 -0
- languages/google-analytics-for-wordpress.pot +27 -27
- readme.txt +12 -1
- vendor/autoload.php +1 -1
- vendor/autoload_52.php +1 -1
- vendor/composer/ClassLoader.php +4 -4
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_real_52.php +3 -3
admin/class-admin-form.php
CHANGED
|
@@ -97,7 +97,7 @@ class Yoast_GA_Admin_Form {
|
|
| 97 |
}
|
| 98 |
}
|
| 99 |
else {
|
| 100 |
-
$attributes['value'] = stripslashes( $input_value );
|
| 101 |
}
|
| 102 |
|
| 103 |
$input .= '<input ' . self::parse_attributes( $attributes ) . ' />';
|
| 97 |
}
|
| 98 |
}
|
| 99 |
else {
|
| 100 |
+
$attributes['value'] = esc_attr( stripslashes( $input_value ) );
|
| 101 |
}
|
| 102 |
|
| 103 |
$input .= '<input ' . self::parse_attributes( $attributes ) . ' />';
|
admin/class-admin.php
CHANGED
|
@@ -102,9 +102,15 @@ class Yoast_GA_Admin extends Yoast_GA_Options {
|
|
| 102 |
|
| 103 |
foreach ( $data as $key => $value ) {
|
| 104 |
if ( $key != 'return_tab' ) {
|
| 105 |
-
if (
|
| 106 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
}
|
|
|
|
| 108 |
$this->options[ $key ] = $value;
|
| 109 |
}
|
| 110 |
}
|
| 102 |
|
| 103 |
foreach ( $data as $key => $value ) {
|
| 104 |
if ( $key != 'return_tab' ) {
|
| 105 |
+
if ( is_string( $value ) ) {
|
| 106 |
+
if ( $key === 'custom_code' && ! current_user_can( 'unfiltered_html' ) ) {
|
| 107 |
+
continue;
|
| 108 |
+
}
|
| 109 |
+
else {
|
| 110 |
+
$value = strip_tags( $value );
|
| 111 |
+
}
|
| 112 |
}
|
| 113 |
+
|
| 114 |
$this->options[ $key ] = $value;
|
| 115 |
}
|
| 116 |
}
|
admin/pages/settings.php
CHANGED
|
@@ -143,7 +143,9 @@ echo Yoast_GA_Admin_Form::create_form( 'settings' );
|
|
| 143 |
echo Yoast_GA_Admin_Form::input( 'checkbox', __( 'Tag links in RSS feed with campaign variables', 'google-analytics-for-wordpress' ), 'tag_links_in_rss', null, __( 'Do not use this feature if you use FeedBurner, as FeedBurner can do this automatically and better than this plugin can. Check <a href="https://support.google.com/feedburner/answer/165769?hl=en&ref_topic=13075" target="_blank">this help page</a> for info on how to enable this feature in FeedBurner.', 'google-analytics-for-wordpress' ) );
|
| 144 |
echo Yoast_GA_Admin_Form::input( 'checkbox', __( 'Allow anchor', 'google-analytics-for-wordpress' ), 'allow_anchor', null, sprintf( __( 'This adds a %1$s call to your tracking code, and makes RSS link tagging use a %2$s as well.', 'google-analytics-for-wordpress' ), '<a href="https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiCampaignTracking?csw=1#_gat.GA_Tracker_._setAllowAnchor" target="_blank"><code>_setAllowAnchor</code></a>', '<code>#</code>' ) );
|
| 145 |
echo Yoast_GA_Admin_Form::input( 'checkbox', __( 'Add <code>_setAllowLinker</code>', 'google-analytics-for-wordpress' ), 'add_allow_linker', null, sprintf( __( 'This adds a %1$s call to your tracking code, allowing you to use %2$s and related functions.', 'google-analytics-for-wordpress' ), '<a href="https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiDomainDirectory?csw=1#_gat.GA_Tracker_._setAllowLinker" target="_blank"><code>_setAllowLinker</code></a>', ' <code>_link</code>' ) );
|
| 146 |
-
|
|
|
|
|
|
|
| 147 |
|
| 148 |
/**
|
| 149 |
* Action: 'yst_ga_advanced-tab' - Allow adding to the advanced tab of the settings
|
| 143 |
echo Yoast_GA_Admin_Form::input( 'checkbox', __( 'Tag links in RSS feed with campaign variables', 'google-analytics-for-wordpress' ), 'tag_links_in_rss', null, __( 'Do not use this feature if you use FeedBurner, as FeedBurner can do this automatically and better than this plugin can. Check <a href="https://support.google.com/feedburner/answer/165769?hl=en&ref_topic=13075" target="_blank">this help page</a> for info on how to enable this feature in FeedBurner.', 'google-analytics-for-wordpress' ) );
|
| 144 |
echo Yoast_GA_Admin_Form::input( 'checkbox', __( 'Allow anchor', 'google-analytics-for-wordpress' ), 'allow_anchor', null, sprintf( __( 'This adds a %1$s call to your tracking code, and makes RSS link tagging use a %2$s as well.', 'google-analytics-for-wordpress' ), '<a href="https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiCampaignTracking?csw=1#_gat.GA_Tracker_._setAllowAnchor" target="_blank"><code>_setAllowAnchor</code></a>', '<code>#</code>' ) );
|
| 145 |
echo Yoast_GA_Admin_Form::input( 'checkbox', __( 'Add <code>_setAllowLinker</code>', 'google-analytics-for-wordpress' ), 'add_allow_linker', null, sprintf( __( 'This adds a %1$s call to your tracking code, allowing you to use %2$s and related functions.', 'google-analytics-for-wordpress' ), '<a href="https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiDomainDirectory?csw=1#_gat.GA_Tracker_._setAllowLinker" target="_blank"><code>_setAllowLinker</code></a>', ' <code>_link</code>' ) );
|
| 146 |
+
if ( current_user_can( 'unfiltered_html' ) ) {
|
| 147 |
+
echo Yoast_GA_Admin_Form::textarea( __( 'Custom code', 'google-analytics-for-wordpress' ), 'custom_code', sprintf( __( 'Not for the average user: this allows you to add a line of code, to be added before the %1$s call.', 'google-analytics-for-wordpress' ), '<a href="https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiBasicConfiguration#_gat.GA_Tracker_._trackPageview" target="_blank"><code>_trackPageview</code></a>' ) );
|
| 148 |
+
}
|
| 149 |
|
| 150 |
/**
|
| 151 |
* Action: 'yst_ga_advanced-tab' - Allow adding to the advanced tab of the settings
|
frontend/class-universal.php
CHANGED
|
@@ -188,7 +188,7 @@ class Yoast_GA_Universal extends Yoast_GA_Tracking {
|
|
| 188 |
case 'internal-as-outbound':
|
| 189 |
$label = $this->sanitize_internal_label();
|
| 190 |
|
| 191 |
-
$onclick = "__gaTracker('send', '" . $this->options['track_download_as'] . "', '" . esc_js( $link['category'] ) . '-' . esc_js( $label ) . "', '" . esc_js( $full_url ) . "', '" . esc_js( strip_tags( $link['link_text'] ) ) . "');";
|
| 192 |
|
| 193 |
break;
|
| 194 |
case 'outbound':
|
| 188 |
case 'internal-as-outbound':
|
| 189 |
$label = $this->sanitize_internal_label();
|
| 190 |
|
| 191 |
+
$onclick = "__gaTracker('send', '" . esc_js( $this->options['track_download_as'] ) . "', '" . esc_js( $link['category'] ) . '-' . esc_js( $label ) . "', '" . esc_js( $full_url ) . "', '" . esc_js( strip_tags( $link['link_text'] ) ) . "');";
|
| 192 |
|
| 193 |
break;
|
| 194 |
case 'outbound':
|
googleanalytics.php
CHANGED
|
@@ -9,7 +9,7 @@
|
|
| 9 |
* Plugin URI: https://yoast.com/wordpress/plugins/google-analytics/#utm_source=wordpress&utm_medium=plugin&utm_campaign=wpgaplugin&utm_content=v504
|
| 10 |
* Description: This plugin makes it simple to add Google Analytics to your WordPress site, adding lots of features, e.g. error page, search result and automatic outgoing links and download tracking.
|
| 11 |
* Author: Team Yoast
|
| 12 |
-
* Version: 5.4.
|
| 13 |
* Requires at least: 3.8
|
| 14 |
* Author URI: https://yoast.com/
|
| 15 |
* License: GPL v3
|
|
@@ -35,7 +35,7 @@
|
|
| 35 |
|
| 36 |
// This plugin was originally based on Rich Boakes' Analytics plugin: http://boakes.org/analytics, but has since been rewritten and refactored multiple times.
|
| 37 |
|
| 38 |
-
define( 'GAWP_VERSION', '5.4.
|
| 39 |
|
| 40 |
define( 'GAWP_FILE', __FILE__ );
|
| 41 |
|
| 9 |
* Plugin URI: https://yoast.com/wordpress/plugins/google-analytics/#utm_source=wordpress&utm_medium=plugin&utm_campaign=wpgaplugin&utm_content=v504
|
| 10 |
* Description: This plugin makes it simple to add Google Analytics to your WordPress site, adding lots of features, e.g. error page, search result and automatic outgoing links and download tracking.
|
| 11 |
* Author: Team Yoast
|
| 12 |
+
* Version: 5.4.5
|
| 13 |
* Requires at least: 3.8
|
| 14 |
* Author URI: https://yoast.com/
|
| 15 |
* License: GPL v3
|
| 35 |
|
| 36 |
// This plugin was originally based on Rich Boakes' Analytics plugin: http://boakes.org/analytics, but has since been rewritten and refactored multiple times.
|
| 37 |
|
| 38 |
+
define( 'GAWP_VERSION', '5.4.5' );
|
| 39 |
|
| 40 |
define( 'GAWP_FILE', __FILE__ );
|
| 41 |
|
languages/google-analytics-for-wordpress-ca.mo
CHANGED
|
Binary file
|
languages/google-analytics-for-wordpress-nb_NO.mo
CHANGED
|
Binary file
|
languages/google-analytics-for-wordpress-pt_PT.mo
CHANGED
|
Binary file
|
languages/google-analytics-for-wordpress-ru_RU.mo
CHANGED
|
Binary file
|
languages/google-analytics-for-wordpress-sv_SE.mo
CHANGED
|
Binary file
|
languages/google-analytics-for-wordpress.pot
CHANGED
|
@@ -2,10 +2,10 @@
|
|
| 2 |
# This file is distributed under the GPL v3.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: Google Analytics by Yoast 5.4.
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"https://github.com/yoast/google-analytics-for-wordpress/issues\n"
|
| 8 |
-
"POT-Creation-Date: 2015-
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
|
@@ -25,7 +25,7 @@ msgstr ""
|
|
| 25 |
"X-Poedit-Bookmarks: \n"
|
| 26 |
"X-Textdomain-Support: yes\n"
|
| 27 |
|
| 28 |
-
#: admin/class-admin-form.php:46 admin/pages/settings.php:
|
| 29 |
msgid "Save changes"
|
| 30 |
msgstr ""
|
| 31 |
|
|
@@ -45,7 +45,7 @@ msgstr ""
|
|
| 45 |
msgid "Dashboard"
|
| 46 |
msgstr ""
|
| 47 |
|
| 48 |
-
#: admin/class-admin-menu.php:242 admin/class-admin.php:
|
| 49 |
#: admin/pages/settings.php:10
|
| 50 |
msgid "Settings"
|
| 51 |
msgstr ""
|
|
@@ -63,60 +63,60 @@ msgid ""
|
|
| 63 |
"date yet."
|
| 64 |
msgstr ""
|
| 65 |
|
| 66 |
-
#: admin/class-admin.php:
|
| 67 |
msgid "Settings saved."
|
| 68 |
msgstr ""
|
| 69 |
|
| 70 |
-
#: admin/class-admin.php:
|
| 71 |
msgid "There were no changes to save, please try again."
|
| 72 |
msgstr ""
|
| 73 |
|
| 74 |
-
#: admin/class-admin.php:
|
| 75 |
msgid "The UA code needs to follow UA-XXXXXXXX-X format."
|
| 76 |
msgstr ""
|
| 77 |
|
| 78 |
-
#: admin/class-admin.php:
|
| 79 |
msgid "FAQ"
|
| 80 |
msgstr ""
|
| 81 |
|
| 82 |
-
#: admin/class-admin.php:
|
| 83 |
msgid ""
|
| 84 |
"If you want to track custom dimensions like page views per author or post "
|
| 85 |
"type, you should upgrade to the %1$spremium version of Google Analytics by "
|
| 86 |
"Yoast%2$s."
|
| 87 |
msgstr ""
|
| 88 |
|
| 89 |
-
#: admin/class-admin.php:
|
| 90 |
msgid ""
|
| 91 |
"This will also give you email access to the support team at Yoast, who will "
|
| 92 |
"provide support on the plugin 24/7."
|
| 93 |
msgstr ""
|
| 94 |
|
| 95 |
-
#: admin/class-admin.php:
|
| 96 |
msgid "Event"
|
| 97 |
msgstr ""
|
| 98 |
|
| 99 |
-
#: admin/class-admin.php:
|
| 100 |
msgid "Pageview"
|
| 101 |
msgstr ""
|
| 102 |
|
| 103 |
-
#: admin/class-admin.php:
|
| 104 |
msgid "Just the domain"
|
| 105 |
msgstr ""
|
| 106 |
|
| 107 |
-
#: admin/class-admin.php:
|
| 108 |
msgid "Full links"
|
| 109 |
msgstr ""
|
| 110 |
|
| 111 |
-
#: admin/class-admin.php:
|
| 112 |
msgid "Debug information"
|
| 113 |
msgstr ""
|
| 114 |
|
| 115 |
-
#: admin/class-admin.php:
|
| 116 |
msgid "Google Analytics by Yoast Premium"
|
| 117 |
msgstr ""
|
| 118 |
|
| 119 |
-
#: admin/class-admin.php:
|
| 120 |
msgid ""
|
| 121 |
"The premium version of Google Analytics by Yoast with more features and "
|
| 122 |
"support."
|
|
@@ -126,11 +126,11 @@ msgstr ""
|
|
| 126 |
msgid "Google Analytics by Yoast"
|
| 127 |
msgstr ""
|
| 128 |
|
| 129 |
-
#: admin/class-admin.php:
|
| 130 |
msgid "eCommerce tracking"
|
| 131 |
msgstr ""
|
| 132 |
|
| 133 |
-
#: admin/class-admin.php:
|
| 134 |
msgid ""
|
| 135 |
"Track your eCommerce data and transactions with this eCommerce extension "
|
| 136 |
"for Google Analytics."
|
|
@@ -592,40 +592,40 @@ msgid ""
|
|
| 592 |
"related functions."
|
| 593 |
msgstr ""
|
| 594 |
|
| 595 |
-
#: admin/pages/settings.php:
|
| 596 |
msgid "Custom code"
|
| 597 |
msgstr ""
|
| 598 |
|
| 599 |
-
#: admin/pages/settings.php:
|
| 600 |
msgid ""
|
| 601 |
"Not for the average user: this allows you to add a line of code, to be "
|
| 602 |
"added before the %1$s call."
|
| 603 |
msgstr ""
|
| 604 |
|
| 605 |
-
#: admin/pages/settings.php:
|
| 606 |
msgid "Custom dimensions"
|
| 607 |
msgstr ""
|
| 608 |
|
| 609 |
-
#: admin/pages/settings.php:
|
| 610 |
msgid "Debug"
|
| 611 |
msgstr ""
|
| 612 |
|
| 613 |
-
#: admin/pages/settings.php:
|
| 614 |
msgid ""
|
| 615 |
"If you want to confirm that tracking on your blog is working as it should, "
|
| 616 |
"enable this option and check the console of your browser. Be absolutely "
|
| 617 |
"sure to disable debugging afterwards, as it is slower than normal tracking."
|
| 618 |
msgstr ""
|
| 619 |
|
| 620 |
-
#: admin/pages/settings.php:
|
| 621 |
msgid "<strong>Note</strong> the debugging is only loaded for administrators."
|
| 622 |
msgstr ""
|
| 623 |
|
| 624 |
-
#: admin/pages/settings.php:
|
| 625 |
msgid "Enable debug mode"
|
| 626 |
msgstr ""
|
| 627 |
|
| 628 |
-
#: admin/pages/settings.php:
|
| 629 |
msgid "Select the users to ignore"
|
| 630 |
msgstr ""
|
| 631 |
|
| 2 |
# This file is distributed under the GPL v3.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: Google Analytics by Yoast 5.4.5\n"
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"https://github.com/yoast/google-analytics-for-wordpress/issues\n"
|
| 8 |
+
"POT-Creation-Date: 2015-08-05 11:08:55+00:00\n"
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 25 |
"X-Poedit-Bookmarks: \n"
|
| 26 |
"X-Textdomain-Support: yes\n"
|
| 27 |
|
| 28 |
+
#: admin/class-admin-form.php:46 admin/pages/settings.php:176
|
| 29 |
msgid "Save changes"
|
| 30 |
msgstr ""
|
| 31 |
|
| 45 |
msgid "Dashboard"
|
| 46 |
msgstr ""
|
| 47 |
|
| 48 |
+
#: admin/class-admin-menu.php:242 admin/class-admin.php:326
|
| 49 |
#: admin/pages/settings.php:10
|
| 50 |
msgid "Settings"
|
| 51 |
msgstr ""
|
| 63 |
"date yet."
|
| 64 |
msgstr ""
|
| 65 |
|
| 66 |
+
#: admin/class-admin.php:134
|
| 67 |
msgid "Settings saved."
|
| 68 |
msgstr ""
|
| 69 |
|
| 70 |
+
#: admin/class-admin.php:141
|
| 71 |
msgid "There were no changes to save, please try again."
|
| 72 |
msgstr ""
|
| 73 |
|
| 74 |
+
#: admin/class-admin.php:185
|
| 75 |
msgid "The UA code needs to follow UA-XXXXXXXX-X format."
|
| 76 |
msgstr ""
|
| 77 |
|
| 78 |
+
#: admin/class-admin.php:323
|
| 79 |
msgid "FAQ"
|
| 80 |
msgstr ""
|
| 81 |
|
| 82 |
+
#: admin/class-admin.php:338
|
| 83 |
msgid ""
|
| 84 |
"If you want to track custom dimensions like page views per author or post "
|
| 85 |
"type, you should upgrade to the %1$spremium version of Google Analytics by "
|
| 86 |
"Yoast%2$s."
|
| 87 |
msgstr ""
|
| 88 |
|
| 89 |
+
#: admin/class-admin.php:340
|
| 90 |
msgid ""
|
| 91 |
"This will also give you email access to the support team at Yoast, who will "
|
| 92 |
"provide support on the plugin 24/7."
|
| 93 |
msgstr ""
|
| 94 |
|
| 95 |
+
#: admin/class-admin.php:478
|
| 96 |
msgid "Event"
|
| 97 |
msgstr ""
|
| 98 |
|
| 99 |
+
#: admin/class-admin.php:479
|
| 100 |
msgid "Pageview"
|
| 101 |
msgstr ""
|
| 102 |
|
| 103 |
+
#: admin/class-admin.php:490
|
| 104 |
msgid "Just the domain"
|
| 105 |
msgstr ""
|
| 106 |
|
| 107 |
+
#: admin/class-admin.php:491
|
| 108 |
msgid "Full links"
|
| 109 |
msgstr ""
|
| 110 |
|
| 111 |
+
#: admin/class-admin.php:511
|
| 112 |
msgid "Debug information"
|
| 113 |
msgstr ""
|
| 114 |
|
| 115 |
+
#: admin/class-admin.php:560
|
| 116 |
msgid "Google Analytics by Yoast Premium"
|
| 117 |
msgstr ""
|
| 118 |
|
| 119 |
+
#: admin/class-admin.php:561
|
| 120 |
msgid ""
|
| 121 |
"The premium version of Google Analytics by Yoast with more features and "
|
| 122 |
"support."
|
| 126 |
msgid "Google Analytics by Yoast"
|
| 127 |
msgstr ""
|
| 128 |
|
| 129 |
+
#: admin/class-admin.php:566
|
| 130 |
msgid "eCommerce tracking"
|
| 131 |
msgstr ""
|
| 132 |
|
| 133 |
+
#: admin/class-admin.php:567
|
| 134 |
msgid ""
|
| 135 |
"Track your eCommerce data and transactions with this eCommerce extension "
|
| 136 |
"for Google Analytics."
|
| 592 |
"related functions."
|
| 593 |
msgstr ""
|
| 594 |
|
| 595 |
+
#: admin/pages/settings.php:147
|
| 596 |
msgid "Custom code"
|
| 597 |
msgstr ""
|
| 598 |
|
| 599 |
+
#: admin/pages/settings.php:147
|
| 600 |
msgid ""
|
| 601 |
"Not for the average user: this allows you to add a line of code, to be "
|
| 602 |
"added before the %1$s call."
|
| 603 |
msgstr ""
|
| 604 |
|
| 605 |
+
#: admin/pages/settings.php:158
|
| 606 |
msgid "Custom dimensions"
|
| 607 |
msgstr ""
|
| 608 |
|
| 609 |
+
#: admin/pages/settings.php:165
|
| 610 |
msgid "Debug"
|
| 611 |
msgstr ""
|
| 612 |
|
| 613 |
+
#: admin/pages/settings.php:168
|
| 614 |
msgid ""
|
| 615 |
"If you want to confirm that tracking on your blog is working as it should, "
|
| 616 |
"enable this option and check the console of your browser. Be absolutely "
|
| 617 |
"sure to disable debugging afterwards, as it is slower than normal tracking."
|
| 618 |
msgstr ""
|
| 619 |
|
| 620 |
+
#: admin/pages/settings.php:169
|
| 621 |
msgid "<strong>Note</strong> the debugging is only loaded for administrators."
|
| 622 |
msgstr ""
|
| 623 |
|
| 624 |
+
#: admin/pages/settings.php:171
|
| 625 |
msgid "Enable debug mode"
|
| 626 |
msgstr ""
|
| 627 |
|
| 628 |
+
#: admin/pages/settings.php:185
|
| 629 |
msgid "Select the users to ignore"
|
| 630 |
msgstr ""
|
| 631 |
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: https://yoast.com/donate/
|
|
| 4 |
Tags: analytics, google analytics, statistics, tracking, stats, google, yoast
|
| 5 |
Requires at least: 3.8
|
| 6 |
Tested up to: 4.2
|
| 7 |
-
Stable tag: 5.4.
|
| 8 |
License: GPL v3
|
| 9 |
|
| 10 |
Track your WordPress site easily with the latest tracking codes and lots added data for search result pages and error pages.
|
|
@@ -51,6 +51,17 @@ This section describes how to install the plugin and get it working.
|
|
| 51 |
|
| 52 |
== Changelog ==
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
= 5.4.4 =
|
| 55 |
|
| 56 |
Release Date: July 21st, 2015
|
| 4 |
Tags: analytics, google analytics, statistics, tracking, stats, google, yoast
|
| 5 |
Requires at least: 3.8
|
| 6 |
Tested up to: 4.2
|
| 7 |
+
Stable tag: 5.4.5
|
| 8 |
License: GPL v3
|
| 9 |
|
| 10 |
Track your WordPress site easily with the latest tracking codes and lots added data for search result pages and error pages.
|
| 51 |
|
| 52 |
== Changelog ==
|
| 53 |
|
| 54 |
+
= 5.4.5 =
|
| 55 |
+
|
| 56 |
+
Release Date: August 5th, 2015
|
| 57 |
+
|
| 58 |
+
* Security:
|
| 59 |
+
* Fixes a small stored XSS issue (only exploitable by admins), thanks [Duncan Stuart](https://twitter.com/DGMStuart) from [DXW security](https://security.dxw.com/) for responsibly disclosing the issue.
|
| 60 |
+
|
| 61 |
+
* Enhancements:
|
| 62 |
+
* Only allows showing and saving the custom code field for users with the `unfiltered_html` capability.
|
| 63 |
+
* Improves JavaScript output escaping on the frontend.
|
| 64 |
+
|
| 65 |
= 5.4.4 =
|
| 66 |
|
| 67 |
Release Date: July 21st, 2015
|
vendor/autoload.php
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
| 6 |
|
| 7 |
-
return
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
| 6 |
|
| 7 |
+
return ComposerAutoloaderInit07e08207a7d196b9c94dfa7fedb0c086::getLoader();
|
vendor/autoload_52.php
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
|
| 5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
| 6 |
|
| 7 |
-
return
|
| 4 |
|
| 5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
| 6 |
|
| 7 |
+
return ComposerAutoloaderInit8dc05da1f58e0d8ca53cd6f350960591::getLoader();
|
vendor/composer/ClassLoader.php
CHANGED
|
@@ -351,7 +351,7 @@ class ClassLoader
|
|
| 351 |
foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
|
| 352 |
if (0 === strpos($class, $prefix)) {
|
| 353 |
foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
|
| 354 |
-
if (
|
| 355 |
return $file;
|
| 356 |
}
|
| 357 |
}
|
|
@@ -361,7 +361,7 @@ class ClassLoader
|
|
| 361 |
|
| 362 |
// PSR-4 fallback dirs
|
| 363 |
foreach ($this->fallbackDirsPsr4 as $dir) {
|
| 364 |
-
if (
|
| 365 |
return $file;
|
| 366 |
}
|
| 367 |
}
|
|
@@ -380,7 +380,7 @@ class ClassLoader
|
|
| 380 |
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
|
| 381 |
if (0 === strpos($class, $prefix)) {
|
| 382 |
foreach ($dirs as $dir) {
|
| 383 |
-
if (
|
| 384 |
return $file;
|
| 385 |
}
|
| 386 |
}
|
|
@@ -390,7 +390,7 @@ class ClassLoader
|
|
| 390 |
|
| 391 |
// PSR-0 fallback dirs
|
| 392 |
foreach ($this->fallbackDirsPsr0 as $dir) {
|
| 393 |
-
if (
|
| 394 |
return $file;
|
| 395 |
}
|
| 396 |
}
|
| 351 |
foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
|
| 352 |
if (0 === strpos($class, $prefix)) {
|
| 353 |
foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
|
| 354 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
|
| 355 |
return $file;
|
| 356 |
}
|
| 357 |
}
|
| 361 |
|
| 362 |
// PSR-4 fallback dirs
|
| 363 |
foreach ($this->fallbackDirsPsr4 as $dir) {
|
| 364 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
|
| 365 |
return $file;
|
| 366 |
}
|
| 367 |
}
|
| 380 |
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
|
| 381 |
if (0 === strpos($class, $prefix)) {
|
| 382 |
foreach ($dirs as $dir) {
|
| 383 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
| 384 |
return $file;
|
| 385 |
}
|
| 386 |
}
|
| 390 |
|
| 391 |
// PSR-0 fallback dirs
|
| 392 |
foreach ($this->fallbackDirsPsr0 as $dir) {
|
| 393 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
| 394 |
return $file;
|
| 395 |
}
|
| 396 |
}
|
vendor/composer/autoload_real.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
-
class
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit9ae6431b032404e885ebcf8c91d16573
|
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
-
spl_autoload_register(array('
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
-
spl_autoload_unregister(array('
|
| 25 |
|
| 26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 27 |
foreach ($map as $namespace => $path) {
|
|
@@ -44,7 +44,7 @@ class ComposerAutoloaderInit9ae6431b032404e885ebcf8c91d16573
|
|
| 44 |
}
|
| 45 |
}
|
| 46 |
|
| 47 |
-
function
|
| 48 |
{
|
| 49 |
require $file;
|
| 50 |
}
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInit07e08207a7d196b9c94dfa7fedb0c086
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit07e08207a7d196b9c94dfa7fedb0c086', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit07e08207a7d196b9c94dfa7fedb0c086', 'loadClassLoader'));
|
| 25 |
|
| 26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 27 |
foreach ($map as $namespace => $path) {
|
| 44 |
}
|
| 45 |
}
|
| 46 |
|
| 47 |
+
function composerRequire07e08207a7d196b9c94dfa7fedb0c086($file)
|
| 48 |
{
|
| 49 |
require $file;
|
| 50 |
}
|
vendor/composer/autoload_real_52.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
| 4 |
|
| 5 |
-
class
|
| 6 |
private static $loader;
|
| 7 |
|
| 8 |
public static function loadClassLoader($class) {
|
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit53167f8e3e0fb0da20bd42c09cbc6a23 {
|
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
-
spl_autoload_register(array('
|
| 23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
| 24 |
-
spl_autoload_unregister(array('
|
| 25 |
|
| 26 |
$vendorDir = dirname(dirname(__FILE__));
|
| 27 |
$baseDir = dirname($vendorDir);
|
| 2 |
|
| 3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInit8dc05da1f58e0d8ca53cd6f350960591 {
|
| 6 |
private static $loader;
|
| 7 |
|
| 8 |
public static function loadClassLoader($class) {
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit8dc05da1f58e0d8ca53cd6f350960591', 'loadClassLoader'), true /*, true */);
|
| 23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit8dc05da1f58e0d8ca53cd6f350960591', 'loadClassLoader'));
|
| 25 |
|
| 26 |
$vendorDir = dirname(dirname(__FILE__));
|
| 27 |
$baseDir = dirname($vendorDir);
|
