Plugin Directory

Changeset 2806778


Ignore:
Timestamp:
10/28/2022 08:00:07 PM (3 years ago)
Author:
museai
Message:

Create tag 0.3.2

Location:
muse-ai
Files:
2 edited
3 copied

Legend:

Unmodified
Added
Removed
  • muse-ai/tags/0.3.2/muse-ai.php

    r2690905 r2806778  
    2424    $title = (int) preg_replace('/[^01]/', '', $atts['title'] ?? '1');
    2525    $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');
    2628
    2729    $links = preg_replace('/"/', '', $atts['links'] ?? '1');
     
    4042        'container: "#museai-player-%1$s", video: "%s", '.
    4143        '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'.
    4345        '})'.
    4446        '</script>',
     
    5254        $volume,
    5355        $title,
    54         $style
     56        $style,
     57        $start,
     58        $loop
    5559    );
    5660    return $out;
  • muse-ai/tags/0.3.2/readme.txt

    r2804591 r2806778  
    44Requires at least: 4.7
    55Tested up to: 6.1
    6 Stable tag: 0.3.1
     6Stable tag: 0.3.2
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    2424== Changelog ==
    2525
     26= 0.3.2 =
     27* Support for shortcode start and loop attributes.
     28
    2629= 0.3.1 =
    2730* Support for WordPress 6.1.
  • muse-ai/trunk/muse-ai.php

    r2690905 r2806778  
    2424    $title = (int) preg_replace('/[^01]/', '', $atts['title'] ?? '1');
    2525    $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');
    2628
    2729    $links = preg_replace('/"/', '', $atts['links'] ?? '1');
     
    4042        'container: "#museai-player-%1$s", video: "%s", '.
    4143        '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'.
    4345        '})'.
    4446        '</script>',
     
    5254        $volume,
    5355        $title,
    54         $style
     56        $style,
     57        $start,
     58        $loop
    5559    );
    5660    return $out;
  • muse-ai/trunk/readme.txt

    r2804591 r2806778  
    44Requires at least: 4.7
    55Tested up to: 6.1
    6 Stable tag: 0.3.1
     6Stable tag: 0.3.2
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    2424== Changelog ==
    2525
     26= 0.3.2 =
     27* Support for shortcode start and loop attributes.
     28
    2629= 0.3.1 =
    2730* Support for WordPress 6.1.
Note: See TracChangeset for help on using the changeset viewer.