Plugin Directory

Changeset 2967998


Ignore:
Timestamp:
09/17/2023 01:05:05 PM (3 years ago)
Author:
glewe
Message:

Tagging version 3.5.1

Location:
chordpress
Files:
4 edited
23 copied

Legend:

Unmodified
Added
Removed
  • chordpress/tags/3.5.1/chordpress.php

    r2967839 r2967998  
    1717 * Plugin URI:        https://lewe.gitbook.io/lewe-chordpress/
    1818 * Description:       This plugin renders ChordPro formatted text and chord diagrams in WordPress sites.
    19  * Version:           3.5.0
     19 * Version:           3.5.1
    2020 * Author:            George Lewe
    2121 * Author URI:        https://www.lewe.com
     
    3636 */
    3737define('CHORDPRESS_NAME', 'ChordPress');
    38 define('CHORDPRESS_VERSION', '3.5.0');
     38define('CHORDPRESS_VERSION', '3.5.1');
    3939define('CHORDPRESS_AUTHOR', 'George Lewe');
    4040define('CHORDPRESS_AUTHOR_URI', 'https://www.lewe.com');
  • chordpress/tags/3.5.1/includes/class-chordpress-chord.php

    r2967839 r2967998  
    359359     */
    360360    private $tuningsFontSize;
    361 
    362361
    363362    //--------------------------------------------------------------------------
     
    576575
    577576    /**
    578      * Pretty prints an array.
    579      *
    580      * @param array $a Array to print out pretty
    581      * @return   string
    582      * @since    2.0.0
    583      */
    584     public function pretty_dump($a)
    585     {
    586         return highlight_string("<?php\n\$data =\n" . var_export($a, true) . ";\n?>");
    587     }
    588 
    589     // ---------------------------------------------------------------------------
    590 
    591     /**
    592577     * Dump and Die.
    593578     *
     
    643628     * This function converts a simplified barre input:
    644629     * '6,1,1'
    645      * and convert it into anSVGuitar chord javascript tuning parameter:
     630     * and converts it into an SVGuitar chord javascript tuning parameter:
    646631     * {fromString:6,toString:1,fret:1}
    647632     *
     
    652637    {
    653638        if (!strlen($simpleBarre)) {
     639            $this->setProperty('barres', "");
    654640            return;
    655641        }
  • chordpress/tags/3.5.1/includes/class-chordpress-renderer.php

    r2967839 r2967998  
    16981698         */
    16991699        $guitar_chord_name = get_post_meta($postid, 'guitar_chord_name', true);
    1700         $guitar_chord_barres = get_post_meta($postid, 'guitar_chord_barres', true);
     1700        if (get_post_meta($postid, 'guitar_chord_barres', true)) {
     1701            $guitar_chord_barres = get_post_meta($postid, 'guitar_chord_barres', true);
     1702        } else {
     1703            $guitar_chord_barres = "";
     1704        }
    17011705        $guitar_chord_fingers = get_post_meta($postid, 'guitar_chord_fingers', true);
    17021706        $guitar_chord_frets = get_post_meta($postid, 'guitar_chord_frets', true);
  • chordpress/tags/3.5.1/readme.txt

    r2967839 r2967998  
    55Requires at least: 4.0
    66Tested up to: 6.3
    7 Stable tag: 3.5.0
     7Stable tag: 3.5.1
    88Requires PHP: 5.2.4
    99License: GPLv3
     
    130130
    131131== Changelog ==
     132= 3.5.1 =
     133* 2023-09-17
     134* Ghost barres bugfix in chord sheet
     135
    132136= 3.5.0 =
    133137* 2023-09-16
  • chordpress/trunk/chordpress.php

    r2967839 r2967998  
    1717 * Plugin URI:        https://lewe.gitbook.io/lewe-chordpress/
    1818 * Description:       This plugin renders ChordPro formatted text and chord diagrams in WordPress sites.
    19  * Version:           3.5.0
     19 * Version:           3.5.1
    2020 * Author:            George Lewe
    2121 * Author URI:        https://www.lewe.com
     
    3636 */
    3737define('CHORDPRESS_NAME', 'ChordPress');
    38 define('CHORDPRESS_VERSION', '3.5.0');
     38define('CHORDPRESS_VERSION', '3.5.1');
    3939define('CHORDPRESS_AUTHOR', 'George Lewe');
    4040define('CHORDPRESS_AUTHOR_URI', 'https://www.lewe.com');
  • chordpress/trunk/includes/class-chordpress-chord.php

    r2967839 r2967998  
    359359     */
    360360    private $tuningsFontSize;
    361 
    362361
    363362    //--------------------------------------------------------------------------
     
    576575
    577576    /**
    578      * Pretty prints an array.
    579      *
    580      * @param array $a Array to print out pretty
    581      * @return   string
    582      * @since    2.0.0
    583      */
    584     public function pretty_dump($a)
    585     {
    586         return highlight_string("<?php\n\$data =\n" . var_export($a, true) . ";\n?>");
    587     }
    588 
    589     // ---------------------------------------------------------------------------
    590 
    591     /**
    592577     * Dump and Die.
    593578     *
     
    643628     * This function converts a simplified barre input:
    644629     * '6,1,1'
    645      * and convert it into anSVGuitar chord javascript tuning parameter:
     630     * and converts it into an SVGuitar chord javascript tuning parameter:
    646631     * {fromString:6,toString:1,fret:1}
    647632     *
     
    652637    {
    653638        if (!strlen($simpleBarre)) {
     639            $this->setProperty('barres', "");
    654640            return;
    655641        }
  • chordpress/trunk/includes/class-chordpress-renderer.php

    r2967839 r2967998  
    16981698         */
    16991699        $guitar_chord_name = get_post_meta($postid, 'guitar_chord_name', true);
    1700         $guitar_chord_barres = get_post_meta($postid, 'guitar_chord_barres', true);
     1700        if (get_post_meta($postid, 'guitar_chord_barres', true)) {
     1701            $guitar_chord_barres = get_post_meta($postid, 'guitar_chord_barres', true);
     1702        } else {
     1703            $guitar_chord_barres = "";
     1704        }
    17011705        $guitar_chord_fingers = get_post_meta($postid, 'guitar_chord_fingers', true);
    17021706        $guitar_chord_frets = get_post_meta($postid, 'guitar_chord_frets', true);
  • chordpress/trunk/readme.txt

    r2967839 r2967998  
    55Requires at least: 4.0
    66Tested up to: 6.3
    7 Stable tag: 3.5.0
     7Stable tag: 3.5.1
    88Requires PHP: 5.2.4
    99License: GPLv3
     
    130130
    131131== Changelog ==
     132= 3.5.1 =
     133* 2023-09-17
     134* Ghost barres bugfix in chord sheet
     135
    132136= 3.5.0 =
    133137* 2023-09-16
Note: See TracChangeset for help on using the changeset viewer.