Changeset 2806778
- Timestamp:
- 10/28/2022 08:00:07 PM (3 years ago)
- Location:
- muse-ai
- Files:
-
- 2 edited
- 3 copied
-
tags/0.3.2 (copied) (copied from muse-ai/trunk)
-
tags/0.3.2/muse-ai.php (copied) (copied from muse-ai/trunk/muse-ai.php) (3 diffs)
-
tags/0.3.2/readme.txt (copied) (copied from muse-ai/trunk/readme.txt) (2 diffs)
-
trunk/muse-ai.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
muse-ai/tags/0.3.2/muse-ai.php
r2690905 r2806778 24 24 $title = (int) preg_replace('/[^01]/', '', $atts['title'] ?? '1'); 25 25 $style = preg_replace('/"/', '', $atts['style'] ?? 'full'); 26 $start = (float) preg_replace('/[^0-9.]/', '', $atts['start'] ?? '0'); 27 $loop = (int) preg_replace('/[^01]/', '', $atts['loop'] ?? '0'); 26 28 27 29 $links = preg_replace('/"/', '', $atts['links'] ?? '1'); … … 40 42 'container: "#museai-player-%1$s", video: "%s", '. 41 43 'width: "%s", links: %s, logo: %s, search: %s, autoplay: %s, '. 42 'volume: %s, title: %s, style: "%s" '.44 'volume: %s, title: %s, style: "%s", start: %s, loop: %s'. 43 45 '})'. 44 46 '</script>', … … 52 54 $volume, 53 55 $title, 54 $style 56 $style, 57 $start, 58 $loop 55 59 ); 56 60 return $out; -
muse-ai/tags/0.3.2/readme.txt
r2804591 r2806778 4 4 Requires at least: 4.7 5 5 Tested up to: 6.1 6 Stable tag: 0.3. 16 Stable tag: 0.3.2 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 24 24 == Changelog == 25 25 26 = 0.3.2 = 27 * Support for shortcode start and loop attributes. 28 26 29 = 0.3.1 = 27 30 * Support for WordPress 6.1. -
muse-ai/trunk/muse-ai.php
r2690905 r2806778 24 24 $title = (int) preg_replace('/[^01]/', '', $atts['title'] ?? '1'); 25 25 $style = preg_replace('/"/', '', $atts['style'] ?? 'full'); 26 $start = (float) preg_replace('/[^0-9.]/', '', $atts['start'] ?? '0'); 27 $loop = (int) preg_replace('/[^01]/', '', $atts['loop'] ?? '0'); 26 28 27 29 $links = preg_replace('/"/', '', $atts['links'] ?? '1'); … … 40 42 'container: "#museai-player-%1$s", video: "%s", '. 41 43 'width: "%s", links: %s, logo: %s, search: %s, autoplay: %s, '. 42 'volume: %s, title: %s, style: "%s" '.44 'volume: %s, title: %s, style: "%s", start: %s, loop: %s'. 43 45 '})'. 44 46 '</script>', … … 52 54 $volume, 53 55 $title, 54 $style 56 $style, 57 $start, 58 $loop 55 59 ); 56 60 return $out; -
muse-ai/trunk/readme.txt
r2804591 r2806778 4 4 Requires at least: 4.7 5 5 Tested up to: 6.1 6 Stable tag: 0.3. 16 Stable tag: 0.3.2 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 24 24 == Changelog == 25 25 26 = 0.3.2 = 27 * Support for shortcode start and loop attributes. 28 26 29 = 0.3.1 = 27 30 * Support for WordPress 6.1.
Note: See TracChangeset
for help on using the changeset viewer.