Skip to content

Commit

Permalink
Merge pull request #1198 from matomo-org/new-release
Browse files Browse the repository at this point in the history
bump version to 5.1.4
  • Loading branch information
diosmosis authored Sep 30, 2024
2 parents 7ea9c2f + de429b5 commit 7108a8a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
== Changelog ===

= 5.1.4 =
* Update Matomo core to version 5.1.2 (changes: https://matomo.org/changelog/matomo-5-1-2/)
* Update some Matomo core dependencies.

= 5.1.3 =
* Update Matomo core to version 5.1.1 (changes: https://matomo.org/changelog/matomo-5-1-1/)
* Moderate redesign to the feedback and get started admin pages.
Expand Down
2 changes: 1 addition & 1 deletion matomo.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Description: Privacy friendly, GDPR compliant and self-hosted. Matomo is the #1 Google Analytics alternative that gives you control of your data. Free and secure.
* Author: Matomo
* Author URI: https://matomo.org
* Version: 5.1.3
* Version: 5.1.4
* Domain Path: /languages
* WC requires at least: 2.4.0
* WC tested up to: 9.3.3
Expand Down
4 changes: 3 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: matomoteam
Tags: matomo,analytics,statistics,stats,ecommerce
Requires at least: 4.8
Tested up to: 6.6.2
Stable tag: 5.1.3
Stable tag: 5.1.4
Requires PHP: 7.2.5
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Expand All @@ -14,6 +14,8 @@ Privacy friendly, GDPR compliant and self-hosted, Matomo is the #1 Google Analyt

_Already a Matomo On-Premise or Matomo Cloud user? You need to use the [Connect Matomo plugin](https://wordpress.org/plugins/wp-piwik/) instead of this plugin._

**New in version 5.1.4: fixes for a couple security issues. It is recommended to update to this version.**

[youtube https://www.youtube.com/watch?v=puxi_Ey0iLc]

For all you WordPress website owners wanting an easier way to get customer insights to grow your business, you can now get the solution the professionals use, for free!
Expand Down
18 changes: 18 additions & 0 deletions scripts/local-dev-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,24 @@ define( 'WPMS_SMTP_PASS', '' );
define( 'MATOMO_ANALYTICS_FILE', __DIR__ . '/wp-content/plugins/matomo/matomo.php' );
define( 'MATOMO_LOCAL_ENVIRONMENT', 1 );
if ( ! empty( \$_SERVER['HTTP_HOST'] )
&& preg_match( '/\.ngrok-free\.app$/', \$_SERVER['HTTP_HOST'] )
) {
\$folder = basename( __DIR__ );
define('WP_HOME', 'https://' . \$_SERVER['HTTP_HOST'] . '/' . \$folder );
define('WP_SITEURL', 'https://' . \$_SERVER['HTTP_HOST'] . '/' . \$folder );
} else {
\$folder = basename( __DIR__ );
define('WP_HOME', 'http://localhost/' . \$folder);
define('WP_SITEURL', 'http://localhost/' . \$folder);
}
if ( isset( \$_SERVER['HTTP_X_FORWARDED_PROTO'] )
&& strpos( \$_SERVER['HTTP_X_FORWARDED_PROTO'], 'https' ) !== false
) {
\$_SERVER['HTTPS'] = 'on';
}
\$table_prefix = 'wp_';
/* That's all, stop editing! Happy publishing. */
Expand Down

0 comments on commit 7108a8a

Please sign in to comment.