Plugin Directory

Changeset 2982240


Ignore:
Timestamp:
10/22/2023 03:00:29 PM (2 years ago)
Author:
Hakik
Message:

v1.0.2: Error fix after activation of plugin, compatibility with WordPress 6.3, and Tweaking PHP code

Location:
hello-lyrics/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • hello-lyrics/trunk/hello-lyrics.php

    r2897355 r2982240  
    44 * Plugin URI:        http://wordpress.org/plugins/hello-lyrics/
    55 * Description:       This is a plugin to display your favorite song/porem lyrics. Hello, Lyrics. When activated you will randomly see a lyric from your inserted lyric in the upper right of your admin screen on every page.
    6  * Version:           1.0.1
     6 * Version:           1.0.2
    77 * Requires at least: 5.2
    88 * Requires PHP:      7.2
     
    5252function hls_get_the_lyric() {
    5353    /** Getting Users Lyrics */
    54     $lyrics = get_option( "hls_lyric_textarea_field" );
    55     if($lyrics === ""){
    56         $lyrics = __( "Please Set The Lyrics" );
    57     }
    58 
     54    $lyrics = get_option( "hls_lyric_textarea_field", __( 'Please Set The Lyrics', 'hello-lyrics' ) );
    5955    // Here we split it into lines.
    6056    $lyrics = explode( "\n", $lyrics );
  • hello-lyrics/trunk/readme.txt

    r2897355 r2982240  
    44Tags: lyrics, poem, quote, dashboard quote, favorite song quote, display verses from holy scriptures, block
    55Requires at least: 4.7
    6 Tested up to: 6.2
    7 Stable tag: 1.0.1
     6Tested up to: 6.3
     7Stable tag: 1.0.2
    88Requires PHP: 7.3
    99License: GPLv2 or later
     
    4545== Changelog ==
    4646
     47= 1.0.2 =
     48* Fix: An error after activating the plugin.
     49* Tweak: PHP code.
     50
    4751= 1.0.1 =
    4852* Feature: Added block to display random quotes from the lyrics/lines.
Note: See TracChangeset for help on using the changeset viewer.