WordPress.org

Plugin Directory

Changeset 410329


Ignore:
Timestamp:
07/15/11 16:22:59 (3 years ago)
Author:
neoxx
Message:

2.31

Location:
generalstats/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • generalstats/trunk/generalstats.php

    r397920 r410329  
    66Description: Counts the number of users, categories, posts, comments, pages, links, tags, link-categories, words in posts, words in comments and words in pages. 
    77Author: Dr. Bernhard Riedl 
    8 Version: 2.30 
     8Version: 2.31 
    99Author URI: http://www.bernhard.riedl.name/ 
    1010*/ 
     
    17561756 
    17571757    function head_meta() { 
    1758         echo("<meta name=\"".$this->get_nicename()."\" content=\"2.30\"/>\n"); 
     1758        echo("<meta name=\"".$this->get_nicename()."\" content=\"2.31\"/>\n"); 
    17591759    } 
    17601760 
     
    18501850        $_ajax_nonce=wp_create_nonce($security_string); 
    18511851 
     1852        /* 
     1853        make sure that Ajax-queries use 
     1854        the same protocol as the site 
     1855        */ 
     1856 
     1857        $ajax_url=admin_url('admin-ajax.php', is_ssl() ? 'https' : 'http'); 
     1858 
    18521859        wp_localize_script( 
    18531860            $this->get_prefix().'refresh'.$ajax_refresh_lib, 
    18541861            $this->get_prefix().'refresh_settings', 
    18551862            array( 
    1856                 'ajax_url' => admin_url('admin-ajax.php'), 
     1863                'ajax_url' => $ajax_url, 
    18571864                '_ajax_nonce' => $_ajax_nonce, 
    18581865                'refresh_time' => $this->get_option('ajax_refresh_time') 
  • generalstats/trunk/readme.txt

    r397920 r410329  
    260260 
    261261== Changelog == 
     262 
     263= 2.31 = 
     264 
     265* fixed a bug with Ajax-update functionality in a SSL-environment. Thanks to huyz who has mentioned this in the forum http://wordpress.org/support/topic/plugin-generalstats-makes-https-call-to-admin-ajax-even-if-site-is-http 
    262266 
    263267= 2.30 = 
Note: See TracChangeset for help on using the changeset viewer.