Changeset 2982240
- Timestamp:
- 10/22/2023 03:00:29 PM (2 years ago)
- Location:
- hello-lyrics/trunk
- Files:
-
- 2 edited
-
hello-lyrics.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hello-lyrics/trunk/hello-lyrics.php
r2897355 r2982240 4 4 * Plugin URI: http://wordpress.org/plugins/hello-lyrics/ 5 5 * 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. 16 * Version: 1.0.2 7 7 * Requires at least: 5.2 8 8 * Requires PHP: 7.2 … … 52 52 function hls_get_the_lyric() { 53 53 /** 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' ) ); 59 55 // Here we split it into lines. 60 56 $lyrics = explode( "\n", $lyrics ); -
hello-lyrics/trunk/readme.txt
r2897355 r2982240 4 4 Tags: lyrics, poem, quote, dashboard quote, favorite song quote, display verses from holy scriptures, block 5 5 Requires at least: 4.7 6 Tested up to: 6. 27 Stable tag: 1.0. 16 Tested up to: 6.3 7 Stable tag: 1.0.2 8 8 Requires PHP: 7.3 9 9 License: GPLv2 or later … … 45 45 == Changelog == 46 46 47 = 1.0.2 = 48 * Fix: An error after activating the plugin. 49 * Tweak: PHP code. 50 47 51 = 1.0.1 = 48 52 * Feature: Added block to display random quotes from the lyrics/lines.
Note: See TracChangeset
for help on using the changeset viewer.