Plugin Directory

Changeset 2021882


Ignore:
Timestamp:
01/30/2019 11:44:38 AM (7 years ago)
Author:
orballo
Message:

1.12.1: fixes plugin update

Location:
wp-pwa
Files:
504 added
4 edited

Legend:

Unmodified
Added
Removed
  • wp-pwa/trunk/CHANGELOG.md

    r2021831 r2021882  
     1## [1.12.1](https://github.com/frontity/wp-plugin/compare/v1.12.0...v1.12.1) (2019-01-30)
     2
     3
     4### Bug Fixes
     5
     6* **update:** fixes update settings ([7632455](https://github.com/frontity/wp-plugin/commit/7632455))
     7
    18# [1.12.0](https://github.com/frontity/wp-plugin/compare/v1.11.0...v1.12.0) (2019-01-29)
    29
  • wp-pwa/trunk/package-lock.json

    r2021831 r2021882  
    11{
    22  "name": "frontity-wp-plugin",
    3   "version": "1.12.0",
     3  "version": "1.12.1",
    44  "lockfileVersion": 1,
    55  "requires": true,
  • wp-pwa/trunk/package.json

    r2021831 r2021882  
    11{
    22  "name": "frontity-wp-plugin",
    3   "version": "1.12.0",
     3  "version": "1.12.1",
    44  "private": true,
    55  "description": "WordPress plugin to inject and configure » Frontity",
  • wp-pwa/trunk/wp-pwa.php

    r2021831 r2021882  
    55GitHub Plugin URI: https://github.com/frontity/wp-plugin
    66Description: WordPress plugin to turn WordPress blogs into Progressive Web Apps.
    7 Version: 1.12.0
     7Version: 1.12.1
    88Author: Frontity
    99Author URI: https://frontity.com/?utm_source=plugin-repository&utm_medium=link&utm_campaign=plugin-description
     
    2424
    2525class Frontity {
    26     public $plugin_version = '1.12.0';
     26    public $plugin_version = '1.12.1';
    2727
    2828    function __construct() {
     
    829829
    830830function frontity_update_settings() {
     831    frontity_initialize_settings();
    831832    $settings = get_option('frontity_settings');
    832833    $old_settings = get_option('wp_pwa_settings');
    833 
    834     // Initialize settings when the plugin is updated
    835     // but was already activated (update doesn't trigger activation hook).
    836     if (!$settings) {
    837         frontity_initialize_settings();
    838         $settings = get_option('frontity_settings');
    839     }
    840834
    841835    // If there are settings from the previous versions of the plugin
Note: See TracChangeset for help on using the changeset viewer.