PluginProbe
WebberZone Top 10 — Popular Posts / 4.5.1
WebberZone Top 10 — Popular Posts v4.5.1
4.5.1 4.5.0 4.4.3 4.4.2 4.4.1 4.4.0 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 trunk 1.0 1.0.1 1.1 1.2 1.3 1.4 1.4.1 1.5 1.5.1 1.5.2 1.5.3 1.6 1.6.1 All 117 releases
← All changes | top-10.php +9 -3 4.4.04.5.1 View file →
@@ -13,9 +13,9 @@
13 13 * @wordpress-plugin
14 14 * Plugin Name: WebberZone Top 10
15 15 * Plugin URI: https://webberzone.com/plugins/top-10/
16 16 * Description: Count daily and total visits per post and display the most popular posts based on the number of views
17 - * Version: 4.4.0
17 + * Version: 4.5.1
18 18 * Author: WebberZone
19 19 * Author URI: https://webberzone.com
20 20 * License: GPL-2.0+
21 21 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
@@ -35,9 +35,9 @@
35 35 *
36 36 * @since 3.1.0
37 37 */
38 38 if ( ! defined( 'TOP_TEN_VERSION' ) ) {
39 - define( 'TOP_TEN_VERSION', '4.4.0' );
39 + define( 'TOP_TEN_VERSION', '4.5.1' );
40 40 }
41 41
42 42 /**
43 43 * Holds the filesystem directory path (with trailing slash) for Top 10
@@ -163,9 +163,15 @@
163 163 *
164 164 * @var string
165 165 */
166 166 global $tptn_db_version;
167 -$tptn_db_version = '7.0';
167 +$tptn_db_version = '7.3';
168 +
169 +// Load the Composer autoloader (includes the Freemius SDK).
170 +$composer_autoload = plugin_dir_path( __FILE__ ) . 'vendor/autoload.php';
171 +if ( file_exists( $composer_autoload ) ) {
172 + require_once $composer_autoload;
173 +}
168 174
169 175 if ( ! function_exists( __NAMESPACE__ . '\\tptn_freemius' ) ) {
170 176 // Load Freemius.
171 177 require_once plugin_dir_path( __FILE__ ) . 'load-freemius.php';