Plugin Directory

Changeset 2200323


Ignore:
Timestamp:
11/25/2019 08:21:45 AM (6 years ago)
Author:
Friese
Message:

Bugfix for WP 5.3

Location:
wp-visitorflow/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wp-visitorflow/trunk/includes/classes/class-wp-visitorflow-admin-page-metabox.php

    r1961151 r2200323  
    6161
    6262        /* Add the screen */
    63         $this->screen = add_submenu_page($this->hook,$this->page_title, $this->menu_title, $this->min_capability,$this->slug,  array($this,'render_page'),10);
     63        $this->screen = add_submenu_page(
     64            $this->hook,
     65            $this->page_title,
     66            $this->menu_title,
     67            $this->min_capability,
     68            $this->slug,
     69            array($this,'render_page')
     70        );
    6471
    6572        /* Add callbacks for this screen only */
  • wp-visitorflow/trunk/includes/classes/class-wp-visitorflow-admin.php

    r2024059 r2200323  
    8585        );
    8686
    87         add_submenu_page('wpvf_menu', 'WP VisitorFlow – ' . __('Full Website Analytics', 'wp-visitorflow'),   __('Full Website', 'wp-visitorflow'),   $reader_cap,  'wpvf_mode_website',      array('WP_VisitorFlow_Admin_Website', 'main') );
    88         add_submenu_page('wpvf_menu', 'WP VisitorFlow – ' . __('Single Page Analytics', 'wp-visitorflow'),    __('Single Page', 'wp-visitorflow'),    $reader_cap,  'wpvf_mode_singlepage',   array('WP_VisitorFlow_Admin_Single', 'main') );
    89         add_submenu_page('wpvf_menu', 'WP VisitorFlow – ' . __('Data Export', 'wp-visitorflow'),              __('Data Export', 'wp-visitorflow'),    $admin_cap,   'wpvf_admin_export',      array('WP_VisitorFlow_Admin_Export', 'main') );
    90         add_submenu_page('wpvf_menu', 'WP VisitorFlow – ' . __('Settings', 'wp-visitorflow'),                 __('Settings', 'wp-visitorflow'),       $admin_cap,   'wpvf_admin_settings',    array('WP_VisitorFlow_Admin_Settings', 'main')) ;
     87        add_submenu_page(
     88            'wpvf_menu',
     89            'WP VisitorFlow – ' . __('Full Website Analytics', 'wp-visitorflow'),
     90            __('Full Website', 'wp-visitorflow'),
     91            $reader_cap,
     92            'wpvf_mode_website',
     93            array('WP_VisitorFlow_Admin_Website', 'main'),
     94            1
     95        );
     96        add_submenu_page(
     97            'wpvf_menu',
     98            'WP VisitorFlow – ' . __('Single Page Analytics', 'wp-visitorflow'),
     99            __('Single Page', 'wp-visitorflow'),
     100            $reader_cap,
     101            'wpvf_mode_singlepage',
     102            array('WP_VisitorFlow_Admin_Single', 'main'),
     103            2
     104        );
     105        add_submenu_page(
     106            'wpvf_menu',
     107            'WP VisitorFlow – ' . __('Data Export', 'wp-visitorflow'),
     108            __('Data Export', 'wp-visitorflow'),
     109            $admin_cap,
     110            'wpvf_admin_export',
     111            array('WP_VisitorFlow_Admin_Export', 'main'),
     112            3
     113        );
     114        add_submenu_page(
     115            'wpvf_menu',
     116            'WP VisitorFlow – ' . __('Settings', 'wp-visitorflow'),
     117            __('Settings', 'wp-visitorflow'),
     118            $admin_cap,
     119            'wpvf_admin_settings',
     120            array('WP_VisitorFlow_Admin_Settings', 'main'),
     121            4
     122        );
    91123
    92124        // Enqueue css file
  • wp-visitorflow/trunk/includes/classes/class-wp-visitorflow-maintenance.php

    r1970945 r2200323  
    189189
    190190        // Optimize database tables
    191         $db->query("OPTIMIZE TABLE $flow_table");
    192         $db->query("OPTIMIZE TABLE $pages_table");
    193         $db->query("OPTIMIZE TABLE $visits_table");
    194         $db->query("OPTIMIZE TABLE $meta_table");
     191        // $db->query("OPTIMIZE TABLE $flow_table");
     192        // $db->query("OPTIMIZE TABLE $pages_table");
     193        // $db->query("OPTIMIZE TABLE $visits_table");
     194        // $db->query("OPTIMIZE TABLE $meta_table");
    195195
    196196        return $message;
  • wp-visitorflow/trunk/readme.txt

    r2160965 r2200323  
    55Requires at least: 3.5
    66Requires PHP: 5.5
    7 Tested up to:  5.2.3
     7Tested up to:  5.3
    88Stable tag: 1.5.7
    99License: GPLv2 or later
     
    9595
    9696== Changelog ==
     97= 1.5.8 =
     98* Bugfix after breaking change in add_submenu_page() WordPress 5.3 function
     99* Disabled data table optimization
     100
    97101= 1.5.7 =
    98102* Update device detector
     
    185189
    186190== Upgrade Notice ==
     191= 1.5.8 =
     192* Bugfix after breaking change in add_submenu_page() WordPress 5.3 function
     193
    187194= 1.5.7 =
    188195* Updated device detector database, some text and translation updates
  • wp-visitorflow/trunk/wp-visitorflow.php

    r2160963 r2200323  
    44 * Plugin URI: https://www.datacodedesign.de/index.php/wp-visitorflow/
    55 * Description: Detailed web analytics and visualization of your website's visitor flow
    6  * Version: 1.5.7
     6 * Version: 1.5.8
    77 * Author: Onno Gabriel, DataCodeDesign
    88 * Author URI: http://www.onno-gabriel.de
     
    1212
    1313/**
    14  * Copyright 2018 Onno Gabriel
     14 * Copyright 2019 Onno Gabriel
    1515 *
    1616 * This program is free software; you can redistribute it and/or modify
     
    3535
    3636// Global constants
    37 define( 'WP_VISITORFLOW_VERSION', '1.5.7' );
     37define( 'WP_VISITORFLOW_VERSION', '1.5.8' );
    3838define( 'WP_VISITORFLOW_REQUIRED_PHP_VERSION', '5.4.0' );
    3939define( 'WP_VISITORFLOW_PLUGIN_PATH', trailingslashit( dirname(  __FILE__ ) ) );
Note: See TracChangeset for help on using the changeset viewer.