Changeset 3350915
- Timestamp:
- 08/27/2025 07:34:07 AM (7 months ago)
- Location:
- static-web-publisher/trunk
- Files:
-
- 4 edited
-
includes/download-link.php (modified) (1 diff)
-
includes/settings.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
static-web-plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
static-web-publisher/trunk/includes/download-link.php
r3349318 r3350915 143 143 $download_link_variant = $settings['download_link_variant']; 144 144 145 if($download_link_variant === 'none'){145 if($download_link_variant !== 'on'){ 146 146 return $content; 147 147 } -
static-web-publisher/trunk/includes/settings.php
r3349318 r3350915 62 62 <div class="settings-option-div"> 63 63 <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'); ?>> 65 65 Show download link 66 66 </label> … … 336 336 $sanitized = array(); 337 337 338 $valid_download_link_variants = array('none', ' default');338 $valid_download_link_variants = array('none', 'on'); 339 339 340 340 $valid_info_link_variants = array('none', 'default', 'custom'); -
static-web-publisher/trunk/readme.txt
r3349326 r3350915 5 5 Requires at least: 5.1 6 6 Tested up to: 6.8 7 Stable tag: 1.1. 07 Stable tag: 1.1.1 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 101 101 == Changelog == 102 102 103 = 1.1.1 = 104 Bugfix 105 103 106 = 1.1.0 = 104 107 * Download buttons are now optional and are not visible by default. … … 111 114 == Upgrade Notice == 112 115 116 = 1.1.1 = 117 Bugfix 118 113 119 = 1.1.0 = 114 120 Important: 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 4 4 Plugin Name: Static Web Publisher 5 5 Description: Publishes your posts and pages on the Static Web 6 Version: 1.1. 06 Version: 1.1.1 7 7 Author: Karen Grigorian 8 8 Author URI: https://github.com/kgcoder
Note: See TracChangeset
for help on using the changeset viewer.