Changeset 2967998
- Timestamp:
- 09/17/2023 01:05:05 PM (3 years ago)
- Location:
- chordpress
- Files:
-
- 4 edited
- 23 copied
-
tags/3.5.1 (copied) (copied from chordpress/trunk)
-
tags/3.5.1/admin/class-chordpress-admin.php (copied) (copied from chordpress/trunk/admin/class-chordpress-admin.php)
-
tags/3.5.1/admin/js/tinymce_buttons.js (copied) (copied from chordpress/trunk/admin/js/tinymce_buttons.js)
-
tags/3.5.1/admin/partials/chordpress-admin-chord-meta-box.php (copied) (copied from chordpress/trunk/admin/partials/chordpress-admin-chord-meta-box.php)
-
tags/3.5.1/admin/partials/chordpress-admin-license.php (copied) (copied from chordpress/trunk/admin/partials/chordpress-admin-license.php)
-
tags/3.5.1/admin/partials/chordpress-admin-options.php (copied) (copied from chordpress/trunk/admin/partials/chordpress-admin-options.php)
-
tags/3.5.1/chordpress.php (copied) (copied from chordpress/trunk/chordpress.php) (2 diffs)
-
tags/3.5.1/includes/class-chordpress-activator.php (copied) (copied from chordpress/trunk/includes/class-chordpress-activator.php)
-
tags/3.5.1/includes/class-chordpress-chord.php (copied) (copied from chordpress/trunk/includes/class-chordpress-chord.php) (4 diffs)
-
tags/3.5.1/includes/class-chordpress-deactivator.php (copied) (copied from chordpress/trunk/includes/class-chordpress-deactivator.php)
-
tags/3.5.1/includes/class-chordpress-i18n.php (copied) (copied from chordpress/trunk/includes/class-chordpress-i18n.php)
-
tags/3.5.1/includes/class-chordpress-license.php (copied) (copied from chordpress/trunk/includes/class-chordpress-license.php)
-
tags/3.5.1/includes/class-chordpress-loader.php (copied) (copied from chordpress/trunk/includes/class-chordpress-loader.php)
-
tags/3.5.1/includes/class-chordpress-plugin.php (copied) (copied from chordpress/trunk/includes/class-chordpress-plugin.php)
-
tags/3.5.1/includes/class-chordpress-renderer.php (copied) (copied from chordpress/trunk/includes/class-chordpress-renderer.php) (1 diff)
-
tags/3.5.1/languages/chordpress.pot (copied) (copied from chordpress/trunk/languages/chordpress.pot)
-
tags/3.5.1/makepot.cmd (copied) (copied from chordpress/trunk/makepot.cmd)
-
tags/3.5.1/public/class-chordpress-public.php (copied) (copied from chordpress/trunk/public/class-chordpress-public.php)
-
tags/3.5.1/public/css/chordpress-public.css (copied) (copied from chordpress/trunk/public/css/chordpress-public.css)
-
tags/3.5.1/public/js/chordpress-public.js (copied) (copied from chordpress/trunk/public/js/chordpress-public.js)
-
tags/3.5.1/public/partials/chordpress-public-display.php (copied) (copied from chordpress/trunk/public/partials/chordpress-public-display.php)
-
tags/3.5.1/readme.txt (copied) (copied from chordpress/trunk/readme.txt) (2 diffs)
-
tags/3.5.1/uninstall.php (copied) (copied from chordpress/trunk/uninstall.php)
-
trunk/chordpress.php (modified) (2 diffs)
-
trunk/includes/class-chordpress-chord.php (modified) (4 diffs)
-
trunk/includes/class-chordpress-renderer.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
chordpress/tags/3.5.1/chordpress.php
r2967839 r2967998 17 17 * Plugin URI: https://lewe.gitbook.io/lewe-chordpress/ 18 18 * Description: This plugin renders ChordPro formatted text and chord diagrams in WordPress sites. 19 * Version: 3.5. 019 * Version: 3.5.1 20 20 * Author: George Lewe 21 21 * Author URI: https://www.lewe.com … … 36 36 */ 37 37 define('CHORDPRESS_NAME', 'ChordPress'); 38 define('CHORDPRESS_VERSION', '3.5. 0');38 define('CHORDPRESS_VERSION', '3.5.1'); 39 39 define('CHORDPRESS_AUTHOR', 'George Lewe'); 40 40 define('CHORDPRESS_AUTHOR_URI', 'https://www.lewe.com'); -
chordpress/tags/3.5.1/includes/class-chordpress-chord.php
r2967839 r2967998 359 359 */ 360 360 private $tuningsFontSize; 361 362 361 363 362 //-------------------------------------------------------------------------- … … 576 575 577 576 /** 578 * Pretty prints an array.579 *580 * @param array $a Array to print out pretty581 * @return string582 * @since 2.0.0583 */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 /**592 577 * Dump and Die. 593 578 * … … 643 628 * This function converts a simplified barre input: 644 629 * '6,1,1' 645 * and convert it into anSVGuitar chord javascript tuning parameter:630 * and converts it into an SVGuitar chord javascript tuning parameter: 646 631 * {fromString:6,toString:1,fret:1} 647 632 * … … 652 637 { 653 638 if (!strlen($simpleBarre)) { 639 $this->setProperty('barres', ""); 654 640 return; 655 641 } -
chordpress/tags/3.5.1/includes/class-chordpress-renderer.php
r2967839 r2967998 1698 1698 */ 1699 1699 $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 } 1701 1705 $guitar_chord_fingers = get_post_meta($postid, 'guitar_chord_fingers', true); 1702 1706 $guitar_chord_frets = get_post_meta($postid, 'guitar_chord_frets', true); -
chordpress/tags/3.5.1/readme.txt
r2967839 r2967998 5 5 Requires at least: 4.0 6 6 Tested up to: 6.3 7 Stable tag: 3.5. 07 Stable tag: 3.5.1 8 8 Requires PHP: 5.2.4 9 9 License: GPLv3 … … 130 130 131 131 == Changelog == 132 = 3.5.1 = 133 * 2023-09-17 134 * Ghost barres bugfix in chord sheet 135 132 136 = 3.5.0 = 133 137 * 2023-09-16 -
chordpress/trunk/chordpress.php
r2967839 r2967998 17 17 * Plugin URI: https://lewe.gitbook.io/lewe-chordpress/ 18 18 * Description: This plugin renders ChordPro formatted text and chord diagrams in WordPress sites. 19 * Version: 3.5. 019 * Version: 3.5.1 20 20 * Author: George Lewe 21 21 * Author URI: https://www.lewe.com … … 36 36 */ 37 37 define('CHORDPRESS_NAME', 'ChordPress'); 38 define('CHORDPRESS_VERSION', '3.5. 0');38 define('CHORDPRESS_VERSION', '3.5.1'); 39 39 define('CHORDPRESS_AUTHOR', 'George Lewe'); 40 40 define('CHORDPRESS_AUTHOR_URI', 'https://www.lewe.com'); -
chordpress/trunk/includes/class-chordpress-chord.php
r2967839 r2967998 359 359 */ 360 360 private $tuningsFontSize; 361 362 361 363 362 //-------------------------------------------------------------------------- … … 576 575 577 576 /** 578 * Pretty prints an array.579 *580 * @param array $a Array to print out pretty581 * @return string582 * @since 2.0.0583 */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 /**592 577 * Dump and Die. 593 578 * … … 643 628 * This function converts a simplified barre input: 644 629 * '6,1,1' 645 * and convert it into anSVGuitar chord javascript tuning parameter:630 * and converts it into an SVGuitar chord javascript tuning parameter: 646 631 * {fromString:6,toString:1,fret:1} 647 632 * … … 652 637 { 653 638 if (!strlen($simpleBarre)) { 639 $this->setProperty('barres', ""); 654 640 return; 655 641 } -
chordpress/trunk/includes/class-chordpress-renderer.php
r2967839 r2967998 1698 1698 */ 1699 1699 $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 } 1701 1705 $guitar_chord_fingers = get_post_meta($postid, 'guitar_chord_fingers', true); 1702 1706 $guitar_chord_frets = get_post_meta($postid, 'guitar_chord_frets', true); -
chordpress/trunk/readme.txt
r2967839 r2967998 5 5 Requires at least: 4.0 6 6 Tested up to: 6.3 7 Stable tag: 3.5. 07 Stable tag: 3.5.1 8 8 Requires PHP: 5.2.4 9 9 License: GPLv3 … … 130 130 131 131 == Changelog == 132 = 3.5.1 = 133 * 2023-09-17 134 * Ghost barres bugfix in chord sheet 135 132 136 = 3.5.0 = 133 137 * 2023-09-16
Note: See TracChangeset
for help on using the changeset viewer.