Plugin Directory

Changeset 2355057


Ignore:
Timestamp:
08/08/2020 06:50:42 AM (6 years ago)
Author:
josesotelocohen
Message:

Fixed issue #20 for match os and cookie settings

Location:
blackout-darkmode-widget/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • blackout-darkmode-widget/trunk/blackout.php

    r2335507 r2355057  
    44Plugin Name: Blackout: Dark Mode Widget
    55Description: Adds a toggle widget to your website that activates dark mode on click.
    6 Version: 2.0.0
     6Version: 2.0.1
    77Author: José Sotelo
    88Author URI: https://inboundlatino.com
     
    431431            buttonColorDark: '{$blackout_options['blackout_button_dark']}',  // default: '#100f2c'
    432432            buttonColorLight: '{$blackout_options['blackout_button_light']}', // default: '#fff'
    433             saveInCookies: '{$blackout_cookies}', // default: true
    434             autoMatchOsTheme: '{$blackout_match_os}', // default: true
     433            saveInCookies: {$blackout_cookies}, // default: true
     434            autoMatchOsTheme: {$blackout_match_os}, // default: true
    435435            label: '🌓' // default: ''
    436436        }
     
    446446            buttonColorDark: '{$blackout_options['blackout_button_dark']}',  // default: '#100f2c'
    447447            buttonColorLight: '{$blackout_options['blackout_button_light']}', // default: '#fff'
    448             saveInCookies: '{$blackout_cookies}', // default: true
    449             autoMatchOsTheme: '{$blackout_match_os}', // default: true
     448            saveInCookies: {$blackout_cookies}, // default: true
     449            autoMatchOsTheme: {$blackout_match_os}, // default: true
    450450            label: '🌓' // default: ''
    451451        }
     
    461461            buttonColorDark: '{$blackout_options['blackout_button_dark']}',  // default: '#100f2c'
    462462            buttonColorLight: '{$blackout_options['blackout_button_light']}', // default: '#fff'
    463             saveInCookies: '{$blackout_cookies}', // default: true
    464             autoMatchOsTheme: '{$blackout_match_os}', // default: true
     463            saveInCookies: {$blackout_cookies}, // default: true
     464            autoMatchOsTheme: {$blackout_match_os}, // default: true
    465465            label: '🌓' // default: ''
    466466        }
  • blackout-darkmode-widget/trunk/readme.txt

    r2335511 r2355057  
    44Tags: dark, dark mode, dark mode widget, darkmode, darkmode widget
    55Requires at least: 4.7
    6 Tested up to: 5.4.2
     6Tested up to: 5.2
    77Requires PHP: 5.4
    8 Stable tag: 2.0.0
     8Stable tag: 2.0.1
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    8686== Changelog ==
    8787
     88= 2.0.1 - 2020-08-08 =
     89
     90* Fixed the Cookies and Match OS features. Many thanks to @phillipjohnston
     91
    8892= 2.0.0 - 2020-07-04 =
    8993* **New Feature** Now you can use your own widget or element by enabling the option in the settings page then adding the class `darkmode-enable` to the element that you want to use as toggle.
Note: See TracChangeset for help on using the changeset viewer.