Changeset 1965312
- Timestamp:
- 10/29/2018 06:50:22 PM (7 years ago)
- Location:
- wp-visitorflow
- Files:
-
- 1 deleted
- 5 edited
-
tags/1.5.1/trunk (deleted)
-
trunk/includes/classes/class-wp-visitorflow-admin.php (modified) (3 diffs)
-
trunk/includes/classes/class-wp-visitorflow-database.php (modified) (1 diff)
-
trunk/includes/classes/class-wp-visitorflow-maintenance.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wp-visitorflow.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-visitorflow/trunk/includes/classes/class-wp-visitorflow-admin.php
r1961151 r1965312 39 39 // Add plugin settings link to plugins list 40 40 add_filter( 'plugin_action_links', array('WP_VisitorFlow_Admin', 'addSettingsLink'), 10, 2); 41 42 // Translations43 add_action( 'init', array('WP_VisitorFlow_Admin', 'internationalization') );44 41 45 42 // Add hook to posts table … … 115 112 116 113 117 118 /**119 * Load Textdomain120 */121 public static function internationalization()122 {123 $res = load_plugin_textdomain(124 'wp-visitorflow',125 false,126 dirname( plugin_basename( __FILE__ ) ) . '/../../languages/'127 );128 }129 130 131 114 /** 132 115 * Add plugin's settings to plugins list … … 176 159 * Get time difference in words 177 160 **/ 178 function getNiceTimeDifference( $datetime1, $datetime2 ) {161 public static function getNiceTimeDifference( $datetime1, $datetime2 ) { 179 162 $date1 = new DateTime($datetime1); 180 163 $date2 = new DateTime($datetime2); -
wp-visitorflow/trunk/includes/classes/class-wp-visitorflow-database.php
r1961151 r1965312 289 289 * @return boolean 290 290 **/ 291 public function getData( $date = false ) {291 public static function getData( $date = false ) { 292 292 // No $date? Use today 293 293 if (! $date) { -
wp-visitorflow/trunk/includes/classes/class-wp-visitorflow-maintenance.php
r1961151 r1965312 82 82 * @return boolean 83 83 **/ 84 public function aggregateDataPerDay( $date = false ) {84 public static function aggregateDataPerDay( $date = false ) { 85 85 if ( ! $date ) { return false; } 86 86 -
wp-visitorflow/trunk/readme.txt
r1961204 r1965312 5 5 Requires at least: 3.5 6 6 Tested up to: 4.9.8 7 Stable tag: 1.5. 17 Stable tag: 1.5.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wp-visitorflow/trunk/wp-visitorflow.php
r1961185 r1965312 4 4 * Plugin URI: https://www.datacodedesign.de/index.php/wp-visitorflow/ 5 5 * Description: Detailed web analytics and visualization of your website's visitor flow 6 * Version: 1.5. 17 * Author: Onno Gabriel /DataCodeDesign6 * Version: 1.5.2 7 * Author: Onno Gabriel, DataCodeDesign 8 8 * Author URI: http://www.onno-gabriel.de 9 9 * License: GPL2 … … 121 121 if ( is_admin() ) { 122 122 123 // Translations 124 function wp_visitorflow_internationalization() 125 { 126 $res = load_plugin_textdomain( 127 'wp-visitorflow', 128 false, 129 dirname( plugin_basename( __FILE__ ) ) . '/languages/' 130 ); 131 } 132 add_action( 'init', 'wp_visitorflow_internationalization' ); 133 134 123 135 // Check if update finished correctly 124 136 if ( get_option('wp_visitorflow_plugin_version') != WP_VISITORFLOW_VERSION ) {
Note: See TracChangeset
for help on using the changeset viewer.