Plugin Directory

Changeset 1915508


Ignore:
Timestamp:
07/26/2018 04:52:03 PM (8 years ago)
Author:
mahlamusa
Message:

Version 1.4.8

Location:
who-hit-the-page-hit-counter/trunk
Files:
108 added
3 edited

Legend:

Unmodified
Added
Removed
  • who-hit-the-page-hit-counter/trunk/includes/classes/class-hit-info.php

    r1914579 r1915508  
    221221            $country_code   = $record['country']['iso_code'];
    222222            $country_name   = $record['country']['names']['en'];
    223             $continent_code = $record['continent']['iso_code'];
     223            $continent_code = $record['continent']['code'];
    224224            $continent_name = $record['continent']['names']['en'];
    225225        }else{
  • who-hit-the-page-hit-counter/trunk/readme.txt

    r1914579 r1915508  
    77Requires at least: 3.5
    88Tested up to: 4.9.7
    9 Stable tag: 1.4.7
     9Stable tag: 1.4.8
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6767
    6868== Changelog ==
     69
     70= 1.4.8 =
     71
     72* Fixed: Fatal error vendor autoload not found.
     73* Fixed: Undefined index page
    6974
    7075= 1.4.7 =
  • who-hit-the-page-hit-counter/trunk/who-hit-the-page.php

    r1914579 r1915508  
    44* Plugin URI: http://whohit.co.za/who-hit-the-page-hit-counter
    55* Description: Lets you know who visted your pages by adding an invisible page hit counter on your website, so you know how many times a page has been visited in total and how many times each user identified by IP address has visited each page. You will also know the IP addresses of your visitors and relate the IP addresses to the country of the visitor and all browsers used by that IP/user.
    6 * Version: 1.4.7
     6* Version: 1.4.8
    77* Author: mahlamusa
    88* Author URI: http://lindeni.co.za
     
    187187
    188188    public static function is_whtp_admin( $page = '' ){
    189         if ( $page == '' ) $page = esc_attr( $_GET['page'] );
     189        if ( isset( $page ) && $page == '' ) {
     190            $page = isset( $_GET['page'] )? esc_attr( $_GET['page'] ): '';
     191        }
     192
     193        if ( $page == '' ) return false;
    190194       
    191195        $whtp_pages = array( 'whtp-admin-menu', 'whtp-view-page-hits', 'whtp-visitor-stats', 'whtp-view-ip-hits', 'whtp-denied-ips', 'whtp-denied-ips', 'whtp-import-export', 'whtp-settings', 'whtp-help' );
Note: See TracChangeset for help on using the changeset viewer.