Plugin Directory

Changeset 3350915


Ignore:
Timestamp:
08/27/2025 07:34:07 AM (7 months ago)
Author:
kgcoder
Message:

Update plugin to version 1.1.1

Location:
static-web-publisher/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • static-web-publisher/trunk/includes/download-link.php

    r3349318 r3350915  
    143143        $download_link_variant = $settings['download_link_variant'];
    144144
    145         if($download_link_variant === 'none'){
     145        if($download_link_variant !== 'on'){
    146146            return $content;
    147147        }
  • static-web-publisher/trunk/includes/settings.php

    r3349318 r3350915  
    6262            <div class="settings-option-div">
    6363                <label>
    64                 <input type="radio" name="stwbpb_settings[download_link_variant]" value="default" <?php checked($settings['download_link_variant'], 'default'); ?>>
     64                <input type="radio" name="stwbpb_settings[download_link_variant]" value="on" <?php checked($settings['download_link_variant'], 'on'); ?>>
    6565                Show download link
    6666                </label>
     
    336336    $sanitized = array();
    337337
    338     $valid_download_link_variants = array('none', 'default');
     338    $valid_download_link_variants = array('none', 'on');
    339339
    340340    $valid_info_link_variants = array('none', 'default', 'custom');
  • static-web-publisher/trunk/readme.txt

    r3349326 r3350915  
    55Requires at least: 5.1
    66Tested up to: 6.8
    7 Stable tag: 1.1.0
     7Stable tag: 1.1.1
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    101101== Changelog == 
    102102
     103= 1.1.1 =
     104Bugfix
     105
    103106= 1.1.0 =
    104107* Download buttons are now optional and are not visible by default.
     
    111114== Upgrade Notice == 
    112115
     116= 1.1.1 =
     117Bugfix
     118
    113119= 1.1.0 =
    114120Important: In this version, the download button is optional. By default, all download buttons are hidden, but you can re-enable them anytime from the plugin settings page.
  • static-web-publisher/trunk/static-web-plugin.php

    r3349318 r3350915  
    44Plugin Name: Static Web Publisher
    55Description: Publishes your posts and pages on the Static Web
    6 Version: 1.1.0
     6Version: 1.1.1
    77Author: Karen Grigorian
    88Author URI: https://github.com/kgcoder
Note: See TracChangeset for help on using the changeset viewer.