• Resolved therealskid

    (@therealskid)


    As documented here sometimes uniqid() running on IIS returns the same value multiple times. If this occurs and you have more than one instance of the audio player in a post, only the first one will play, no matter which play button you click because the input fields have all been given the same id.

    To fix this, please change line 31 of shortcodes-functions.php from
    $ids = uniqid();
    to
    $ids = uniqid('', true);

    I realise that IIS users are the minority, but this would not have a noticable effect on servers running Apache,and would make the plugin usable by sites hosted on IIS servers.

    https://wordpress.org/plugins/compact-wp-audio-player/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Request change to uniqid() to be more unique’ is closed to new replies.