Plugin Directory

Changeset 3325016


Ignore:
Timestamp:
07/09/2025 01:08:07 PM (8 months ago)
Author:
perron
Message:

3.2.1 inline toolbar button styling bugfix

Location:
live-auto-refresh
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • live-auto-refresh/trunk/live-auto-refresh.php

    r3324939 r3325016  
    44 * Description: Instantly reloads the browser when any theme file code is edited during development or when a content edit is saved.
    55 * Plugin URI:  https://www.andrewperron.com/live-auto-refresh/
    6  * Version:     3.2
     6 * Version:     3.2.1
    77 * Author:      Andrew Perron
    88 * Author URI:  https://www.andrewperron.com/live-auto-refresh/
     
    174174
    175175function perron_auto_refresh_toolbar_style() {
    176     echo '<style>/*AUTO REFRESH*/.autorefreshbuttonenabled a{background:green !important;color:white !important;}.autorefreshbuttonpaused a{background:orange !important;color:white !important;}.autorefreshbuttondisabled a{background:red !important;color:white !important;}/*.autorefreshbuttonenabled a:after{content:" ON";}.autorefreshbuttondisabled a:after{content:" OFF";*/}</style>';
     176    echo '<style>/*AUTO REFRESH*/.autorefreshbuttonenabled a{background:green !important;color:white !important;}.autorefreshbuttonpaused a{background:orange !important;color:white !important;}.autorefreshbuttondisabled a{background:red !important;color:white !important;}/*.autorefreshbuttonenabled a:after{content:" ON";}.autorefreshbuttondisabled a:after{content:" OFF";}*/</style>';
    177177}
    178178add_action('wp_head', 'perron_auto_refresh_toolbar_style', 100);
  • live-auto-refresh/trunk/readme.txt

    r3324939 r3325016  
    55Requires at least: 4.7
    66Tested up to: 6.8.1
    7 Stable tag: 3.2
     7Stable tag: 3.2.1
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    9494== Changelog ==
    9595
     96= 3.2.1 =
     97* inline toolbar button styling bugfix
     98
    9699= 3.2 =
    97100* improved style change hot reloading
Note: See TracChangeset for help on using the changeset viewer.