Plugin Directory

Changeset 1863977


Ignore:
Timestamp:
04/25/2018 06:09:50 AM (8 years ago)
Author:
horike
Message:

abolished create_function

Location:
simple-ga-ranking/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • simple-ga-ranking/trunk/readme.txt

    r1518997 r1863977  
    11=== Simple GA Ranking  ===
    2 Contributors: horike,amimotoami
     2Contributors: horike,amimotoami,webnist,wokamoto,gatespace,mt8biz
    33Tags:  form, ranking, popular, google analytics
    44Requires at least: 3.6.1
    5 Tested up to: 4.6.1
    6 Stable tag: 2.0.9
     5Tested up to: 4.9.5
     6Stable tag: 2.0.10
    77
    88Ranking plugin using data from google analytics.
     
    8888= 2.0.9 =
    8989* fixed error that didn't dispaly your ranking on v2.0.8
     90= 2.0.10 =
     91* Abolished `create_function` for support PHP7.2
  • simple-ga-ranking/trunk/simple-ga-ranking.php

    r1518997 r1863977  
    55Plugin URI: http://simple-ga-ranking.org
    66Description: Ranking plugin using data from google analytics.
    7 Version: 2.0.9
     7Version: 2.0.10
    88Author URI: http://simple-ga-ranking.org
    99Domain Path: /languages
    1010Text Domain:
    1111
    12 Copyright 2016 horike takahiro (email : horike37@gmail.com)
     12Copyright 2018 digitalcube (email : info@digitalcube.jp)
    1313
    1414This program is free software; you can redistribute it and/or modify
     
    273273
    274274}
    275 add_action('widgets_init', create_function('', 'return register_widget("WP_Widget_Simple_GA_Ranking");'));
     275add_action('widgets_init', function() {
     276    return register_widget('WP_Widget_Simple_GA_Ranking');
     277});
    276278
    277279function sga_url_to_postid($url)
  • simple-ga-ranking/trunk/vendor/autoload.php

    r1518997 r1863977  
    55require_once __DIR__ . '/composer' . '/autoload_real.php';
    66
    7 return ComposerAutoloaderInit6d9efb219459791dd844e269ff102475::getLoader();
     7return ComposerAutoloaderInit82008e8395c481705f24fca9e6a4de3a::getLoader();
  • simple-ga-ranking/trunk/vendor/composer/autoload_real.php

    r1518997 r1863977  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit6d9efb219459791dd844e269ff102475
     5class ComposerAutoloaderInit82008e8395c481705f24fca9e6a4de3a
    66{
    77    private static $loader;
     
    2020        }
    2121
    22         spl_autoload_register(array('ComposerAutoloaderInit6d9efb219459791dd844e269ff102475', 'loadClassLoader'), true, true);
     22        spl_autoload_register(array('ComposerAutoloaderInit82008e8395c481705f24fca9e6a4de3a', 'loadClassLoader'), true, true);
    2323        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    24         spl_autoload_unregister(array('ComposerAutoloaderInit6d9efb219459791dd844e269ff102475', 'loadClassLoader'));
     24        spl_autoload_unregister(array('ComposerAutoloaderInit82008e8395c481705f24fca9e6a4de3a', 'loadClassLoader'));
    2525
    2626        $map = require __DIR__ . '/autoload_namespaces.php';
  • simple-ga-ranking/trunk/vendor/composer/installed.json

    r1168699 r1863977  
    2828            }
    2929        },
    30         "installation-source": "dist",
     30        "installation-source": "source",
    3131        "autoload": {
    3232            "classmap": [
     
    6565        "time": "2015-05-07 19:23:45",
    6666        "type": "library",
    67         "installation-source": "dist",
     67        "installation-source": "source",
    6868        "autoload": {
    6969            "psr-0": {
Note: See TracChangeset for help on using the changeset viewer.