Plugin Directory

Changeset 2314774

Timestamp:
05/29/2020 09:04:10 PM (4 years ago)
Author:
singer22 wordpress
Message:

Bug Fix version 1.1.1

Location:
virusweather
Files:
1 added
9 edited

Legend:

Unmodified
Added
Removed
  • virusweather/trunk/README.txt

    r2314327 r2314774  
    66Requires at least: 4.0.3
    77Tested up to: 5.4.1
    8 Stable tag: 1.1.0
     8Stable tag: 1.1.
    99Requires PHP: 5.6
    1010License: GPLv2 or later
     
    123123*   Additional banner layout: horizontal
    124124
     125
     126
     127
     128
    125129== Upgrade Notice ==
    126130
  • virusweather/trunk/admin/class-virus-weather-admin.php

    r2314361 r2314774  
    55 *
    66 * @link       https://www.datasub.com
    7  * @since      1.1.0
     7 * @since      1.1.
    88 *
    99 * @package    Virus_Weather
     
    2626     * The ID of this plugin.
    2727     *
    28      * @since    1.1.0
     28     * @since    1.1.
    2929     * @access   private
    3030     * @var      string    $plugin_name    The ID of this plugin.
     
    3535     * The version of this plugin.
    3636     *
    37      * @since    1.1.0
     37     * @since    1.1.
    3838     * @access   private
    3939     * @var      string    $version    The current version of this plugin.
     
    4444     * Initialize the class and set its properties.
    4545     *
    46      * @since    1.1.0
     46     * @since    1.1.
    4747     * @param      string    $plugin_name       The name of this plugin.
    4848     * @param      string    $version    The version of this plugin.
     
    5858     * Register the stylesheets for the admin area.
    5959     *
    60      * @since    1.1.0
     60     * @since    1.1.
    6161     */
    6262    public function enqueue_styles() {
     
    8080     * Register the JavaScript for the admin area.
    8181     *
    82      * @since    1.1.0
     82     * @since    1.1.
    8383     */
    8484    public function enqueue_scripts() {
  • virusweather/trunk/admin/js/virus-weather-admin.js

    r2314327 r2314774  
    9797                    mwWidgetDimensions = [ '1465', '180'];
    9898                    mwWidgetHeight = mwWidgetSize;
    99                     mwWidgetW = mwWidgetDimensions[0] == '1465' ? 1456 : mwWidgetDimensions[0];
     99                    mwWidgetW = mwWidgetDimensions[0];
    100100                    mwWidgetWidth = Math.floor( mwWidgetHeight * mwWidgetW / mwWidgetDimensions[1] );
    101101                    break;
  • virusweather/trunk/includes/class-virus-weather-activator.php

    r2314361 r2314774  
    55 *
    66 * @link       https://www.datasub.com
    7  * @since      1.1.0
     7 * @since      1.1.
    88 *
    99 * @package    Virus_Weather
     
    1616 * This class defines all code necessary to run during the plugin's activation.
    1717 *
    18  * @since      1.1.0
     18 * @since      1.1.
    1919 * @package    Virus_Weather
    2020 * @subpackage Virus_Weather/includes
     
    2828     * Long Description.
    2929     *
    30      * @since    1.1.0
     30     * @since    1.1.
    3131     */
    3232    public static function activate() {
  • virusweather/trunk/includes/class-virus-weather-deactivator.php

    r2314361 r2314774  
    55 *
    66 * @link       https://www.datasub.com
    7  * @since      1.1.0
     7 * @since      1.1.
    88 *
    99 * @package    Virus_Weather
     
    1616 * This class defines all code necessary to run during the plugin's deactivation.
    1717 *
    18  * @since      1.1.0
     18 * @since      1.1.
    1919 * @package    Virus_Weather
    2020 * @subpackage Virus_Weather/includes
     
    2828     * Long Description.
    2929     *
    30      * @since    1.1.0
     30     * @since    1.1.
    3131     */
    3232    public static function deactivate() {
  • virusweather/trunk/includes/class-virus-weather-i18n.php

    r2314361 r2314774  
    88 *
    99 * @link       https://www.datasub.com
    10  * @since      1.1.0
     10 * @since      1.1.
    1111 *
    1212 * @package    Virus_Weather
     
    2020 * so that it is ready for translation.
    2121 *
    22  * @since      1.1.0
     22 * @since      1.1.
    2323 * @package    Virus_Weather
    2424 * @subpackage Virus_Weather/includes
     
    3131     * Load the plugin text domain for translation.
    3232     *
    33      * @since    1.1.0
     33     * @since    1.1.
    3434     */
    3535    public function load_plugin_textdomain() {
  • virusweather/trunk/includes/class-virus-weather-loader.php

    r2314361 r2314774  
    55 *
    66 * @link       https://www.datasub.com
    7  * @since      1.1.0
     7 * @since      1.1.
    88 *
    99 * @package    Virus_Weather
     
    2727     * The array of actions registered with WordPress.
    2828     *
    29      * @since    1.1.0
     29     * @since    1.1.
    3030     * @access   protected
    3131     * @var      array    $actions    The actions registered with WordPress to fire when the plugin loads.
     
    3636     * The array of filters registered with WordPress.
    3737     *
    38      * @since    1.1.0
     38     * @since    1.1.
    3939     * @access   protected
    4040     * @var      array    $filters    The filters registered with WordPress to fire when the plugin loads.
     
    4545     * Initialize the collections used to maintain the actions and filters.
    4646     *
    47      * @since    1.1.0
     47     * @since    1.1.
    4848     */
    4949    public function __construct() {
     
    5757     * Add a new action to the collection to be registered with WordPress.
    5858     *
    59      * @since    1.1.0
     59     * @since    1.1.
    6060     * @param    string               $hook             The name of the WordPress action that is being registered.
    6161     * @param    object               $component        A reference to the instance of the object on which the action is defined.
     
    7171     * Add a new filter to the collection to be registered with WordPress.
    7272     *
    73      * @since    1.1.0
     73     * @since    1.1.
    7474     * @param    string               $hook             The name of the WordPress filter that is being registered.
    7575     * @param    object               $component        A reference to the instance of the object on which the filter is defined.
     
    8686     * collection.
    8787     *
    88      * @since    1.1.0
     88     * @since    1.1.
    8989     * @access   private
    9090     * @param    array                $hooks            The collection of hooks that is being registered (that is, actions or filters).
     
    113113     * Register the filters and actions with WordPress.
    114114     *
    115      * @since    1.1.0
     115     * @since    1.1.
    116116     */
    117117    public function run() {
  • virusweather/trunk/includes/class-virus-weather.php

    r2314361 r2314774  
    88 *
    99 * @link       https://www.datasub.com
    10  * @since      1.1.0
     10 * @since      1.1.
    1111 *
    1212 * @package    Virus_Weather
     
    2323 * version of the plugin.
    2424 *
    25  * @since      1.1.0
     25 * @since      1.1.
    2626 * @package    Virus_Weather
    2727 * @subpackage Virus_Weather/includes
     
    3434     * the plugin.
    3535     *
    36      * @since    1.1.0
     36     * @since    1.1.
    3737     * @access   protected
    3838     * @var      Virus_Weather_Loader    $loader    Maintains and registers all hooks for the plugin.
     
    4343     * The unique identifier of this plugin.
    4444     *
    45      * @since    1.1.0
     45     * @since    1.1.
    4646     * @access   protected
    4747     * @var      string    $plugin_name    The string used to uniquely identify this plugin.
     
    5252     * The current version of the plugin.
    5353     *
    54      * @since    1.1.0
     54     * @since    1.1.
    5555     * @access   protected
    5656     * @var      string    $version    The current version of the plugin.
     
    6565     * the public-facing side of the site.
    6666     *
    67      * @since    1.1.0
     67     * @since    1.1.
    6868     */
    6969    public function __construct() {
     
    7171            $this->version = VIRUS_WEATHER_VERSION;
    7272        } else {
    73             $this->version = '1.1.0';
     73            $this->version = '1.1.';
    7474        }
    7575        $this->plugin_name = 'virus-weather';
     
    9494     * with WordPress.
    9595     *
    96      * @since    1.1.0
     96     * @since    1.1.
    9797     * @access   private
    9898     */
     
    126126     * with WordPress.
    127127     *
    128      * @since    1.1.0
     128     * @since    1.1.
    129129     * @access   private
    130130     */
     
    141141     * of the plugin.
    142142     *
    143      * @since    1.1.0
     143     * @since    1.1.
    144144     * @access   private
    145145     */
     
    157157     * Run the loader to execute all of the hooks with WordPress.
    158158     *
    159      * @since    1.1.0
     159     * @since    1.1.
    160160     */
    161161    public function run() {
     
    167167     * WordPress and to define internationalization functionality.
    168168     *
    169      * @since     1.1.0
     169     * @since     1.1.
    170170     * @return    string    The name of the plugin.
    171171     */
     
    177177     * The reference to the class that orchestrates the hooks with the plugin.
    178178     *
    179      * @since     1.1.0
     179     * @since     1.1.
    180180     * @return    Virus_Weather_Loader    Orchestrates the hooks of the plugin.
    181181     */
     
    187187     * Retrieve the version number of the plugin.
    188188     *
    189      * @since     1.1.0
     189     * @since     1.1.
    190190     * @return    string    The version number of the plugin.
    191191     */
     
    393393    extract( wp_parse_args( (array) $settings, $defaults ) );
    394394    $sizes = virus_weather_get_layout_sizes( $layout );
    395     $widgetWidth = $sizes[0] == 1465 ? 1456 : $sizes[0];
     395    $widgetWidth = $sizes[0];
    396396    $dimensions = $sizes[0] == $sizes[1] ? $sizes[0] : implode( 'x', $sizes );
    397397    $height = $size;
  • virusweather/trunk/virus-weather.php

    r2314361 r2314774  
    1010 *
    1111 * @link              datasub.com
    12  * @since             1.1.0
     12 * @since             1.1.
    1313 * @package           Virus_Weather
    1414 *
     
    1717 * Plugin URI:        https://www.markosweb.com/coronavirus/widget.html
    1818 * Description:       Dynamic PNG image shows local COVID-19 coronavirus statistics and calculated relative area risk rank for 4500+ local areas world-wide based on website visitor IP geolocation. Integrated chart clearly shows the rate of growth, flattening, and deceleration. Your web page visitors will see personalized stats that include local threat level around them as well as country.
    19  * Version:           1.1.0
     19 * Version:           1.1.
    2020 * Author:            Data Subsystems Inc.
    2121 * Author URI:        https://www.datasub.com
     
    3333/**
    3434 * Currently plugin version.
    35  * Start at version 1.1.0 and use SemVer - https://semver.org
     35 * Start at version 1.1. and use SemVer - https://semver.org
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'VIRUS_WEATHER_VERSION', '1.1.0' );
     38define( 'VIRUS_WEATHER_VERSION', '1.1.' );
    3939
    4040/**
     
    7272 * not affect the page life cycle.
    7373 *
    74  * @since    1.1.0
     74 * @since    1.1.
    7575 */
    7676function run_virus_weather() {
Note: See TracChangeset for help on using the changeset viewer.