Plugin Directory

Changeset 3091940

Timestamp:
05/24/2024 08:03:13 AM (8 weeks ago)
Author:
nico23
Message:

Update plugin to version 10.1.0 with NextgenThemes WordPress Plugin Deploy

Location:
advanced-responsive-video-embedder
Files:
26 edited
1 copied

Legend:

Unmodified
Added
Removed
  • advanced-responsive-video-embedder/tags/10.1.0/advanced-responsive-video-embedder.php

    r3091452 r3091940  
    44 * Plugin URI:        https://nextgenthemes.com/plugins/arve-pro/
    55 * Description:       Easy responsive video embeds via URL (like WordPress) or Shortcodes. Supports almost anything you can imagine.
    6  * Version:           10.0.10
     6 * Version:           10.0
    77 * Requires PHP:      7.4
    88 * Requires at least: 6.2
     
    2121namespace Nextgenthemes\ARVE;
    2222
    23 const VERSION               = '10.0.10';
     23const VERSION               = '10.0';
    2424const PRO_VERSION_REQUIRED  = '6.0.0-alpha3';
    2525const NUM_TRACKS            = 3;
  • advanced-responsive-video-embedder/tags/10.1.0/changelog.md

    r3091452 r3091940  
    33* [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
    44* [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)
     5
     6
     7
     8
     9
     10
    511
    612### 2024-05-23 10.0.10 ###
  • advanced-responsive-video-embedder/tags/10.1.0/php/Video.php

    r3089848 r3091940  
    196196        $this->set_prop( 'autoplay', $this->arg_autoplay( $this->autoplay ) );
    197197        $this->set_prop( 'src', $this->arg_iframe_src( $this->src ) );
    198         $this->set_prop( 'uid', sanitize_key( uniqid( "arve-{$this->provider}-{$this->id}", true ) ) );
     198        $this->set_prop( 'uid',  $this->create_uid() );
     199    }
     200
     201    private function create_uid(): string {
     202        static $ids = [];
     203
     204        $id = sanitize_key( 'arve-' . $this->provider . '-' . $this->id );
     205
     206        if ( empty( $ids[ $id ] ) ) { // counter
     207            $ids[ $id ] = 1;
     208        } else {
     209            ++$ids[ $id ];
     210        }
     211
     212        if ( $ids[ $id ] > 1 ) {
     213            $id .= '-' . $ids[ $id ];
     214        }
     215
     216        return $id;
    199217    }
    200218
  • advanced-responsive-video-embedder/tags/10.1.0/php/fn-oembed.php

    r3091452 r3091940  
    22namespace Nextgenthemes\ARVE;
    33
    4 use DateTime;
    5 use Nextgenthemes\WP;
    6 
    7 use function Nextgenthemes\WP\remove_url_query;
     4use function Nextgenthemes\WP\valid_url;
     5use function Nextgenthemes\WP\get_attribute_from_html_tag;
     6use function Nextgenthemes\WP\remote_get_head;
    87
    98/**
     
    176175    if ( 'TikTok' === $data->provider_name ) {
    177176
    178         $tiktok_video_id = WP\get_attribute_from_html_tag( array( 'class' => 'tiktok-embed' ), 'data-video-id', $data->html );
     177        $tiktok_video_id = get_attribute_from_html_tag( array( 'class' => 'tiktok-embed' ), 'data-video-id', $data->html );
    179178
    180179        if ( $tiktok_video_id ) {
     
    185184    } elseif ( 'Facebook' === $data->provider_name ) {
    186185
    187         $facebook_video_url = WP\get_attribute_from_html_tag( array( 'class' => 'fb-video' ), 'data-href', $data->html );
     186        $facebook_video_url = get_attribute_from_html_tag( array( 'class' => 'fb-video' ), 'data-href', $data->html );
    188187
    189188        if ( $facebook_video_url ) {
     
    193192        }
    194193    } else {
    195         $iframe_src = WP\get_attribute_from_html_tag( array( 'tag_name' => 'iframe' ), 'src', $data->html );
     194        $iframe_src = get_attribute_from_html_tag( array( 'tag_name' => 'iframe' ), 'src', $data->html );
    196195
    197196        if ( $iframe_src ) {
    198197
    199             if ( WP\valid_url( $iframe_src) ) {
     198            $iframe_src = valid_url( $iframe_src );
     199
     200            if ( $iframe_src ) {
    200201                return $iframe_src;
    201202            } else {
     
    257258    foreach ( $sizes as $size => $size_url ) {
    258259
    259         if ( 'youtube' === $provider && is_wp_error( WP\remote_get_head( $size_url, array( 'timeout' => 5 ) ) ) ) {
     260        if ( 'youtube' === $provider && is_wp_error( remote_get_head( $size_url, array( 'timeout' => 5 ) ) ) ) {
    260261            unset( $sizes[ $size ] );
    261262            continue;
  • advanced-responsive-video-embedder/tags/10.1.0/php/fn-validation.php

    r3084997 r3091940  
    4141}
    4242
    43 
    44 /**
    45  * Validates a URL and returns the validated URL or an error message.
     43/**
     44 * Validates a URL and returns the validated URL or an error message. Upgrades // to https:// if needed.
    4645 *
    47  * @param string $argname The name of the argument being validated.
     46 * @param string $argname The name of the argument being validated.
    4847 * @param string $value The value of the argument being validated. Can be an URL or a HTML string with the a embed code.
    4948 * @return string The validated URL or an error message.
    5049 */
    51 function validate_url( string $argname, string $url ): string {
    52 
    53     if ( ! empty( $url ) && ! valid_url( $url ) ) {
     50function validate_url( string $arg_name, string $url ): string {
     51
     52    if ( '' === $url ) {
     53        return $url;
     54    }
     55
     56    $url = valid_url( $url );
     57
     58    if ( ! $url ) { // invalid url
    5459
    5560        $error_msg = sprintf(
     
    5762            __( 'Invalid URL <code>%1$s</code> in <code>%2$s</code>', 'advanced-responsive-video-embedder' ),
    5863            esc_html( $url ),
    59             esc_html( $argname )
     64            esc_html( $argname )
    6065        );
    6166
    62         arve_errors()->add( "validate_url $argname", $error_msg );
    63     }
    64 
    65     return $url;
     67        arve_errors()->add( "validate_url $argname", $error_msg );
     68    }
     69
     70    return $url;
    6671}
    6772
  • advanced-responsive-video-embedder/tags/10.1.0/php/providers.php

    r3090527 r3091940  
    384384        'auto_title'     => true,
    385385    ),
     386
     387
     388
     389
     390
     391
     392
     393
     394
     395
     396
     397
     398
     399
     400
     401
    386402    'rutube' => array(
    387403        'name'        => 'RuTube.ru',
    388404        'oembed'      => false,
    389         'regex'       => '#https?://(www\\.)?rutube\\.ru/play/embed/(?<id>[0-9]+)#i',
     405        'regex'       => '#0-9]+)#i',
    390406        'embed_url'   => 'https://rutube.ru/play/embed/%s',
    391407        'tests'       => array(
     
    393409                'url' => 'https://rutube.ru/play/embed/9822149',
    394410                'id'  => '9822149',
     411
     412
     413
     414
    395415            ),
    396416        ),
     
    481501        'name'           => 'Vimeo',
    482502        'oembed'         => true,
    483         'regex'          => '#https?://(player\.)?vimeo\.com/((video/)|(channels/[a-z]+/)|(groups/[a-z]+/videos/))?(?<id>[0-9]+)(/(?<vimeo_secret>[0-9a-z]+))?#i',
     503        'regex'          => '#https?://(player\\.com/((video/)|(channels/[a-z]+/)|(groups/[a-z]+/videos/))?(?<id>[0-9]+)(/(?<vimeo_secret>[0-9a-z]+))?#i',
    484504        'embed_url'      => 'https://player.vimeo.com/video/%s',
    485505        'rebuild_url'    => 'https://vimeo.com/%s',
  • advanced-responsive-video-embedder/tags/10.1.0/readme.txt

    r3091452 r3091940  
    66Tested up to: 6.5.0
    77Requires PHP: 7.4
    8 Stable tag: 10.0.10
     8Stable tag: 10.0
    99License: GPL-3.0
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    6060
    6161[All providers with iframe embed codes](https://nextgenthemes.com/plugins/arve/documentation/#general-iframe-embedding)
    62 Alugha, Archive.org, Banned.video, Bitchute, Brightcove, Brighteon, cantcensortruth.com, Comedy Central, Dailymotion, Dailymotion Playlist, DTube, Facebook, Gab TV, Google Drive, mp4 or webm video files, ARVE general iframe embed, IGN, IMDB, Kickstarter, kla.tv, Livestream.com, Mail.ru, Metacafe, myspace, ooyala, v.qq.com, Rumble.com, RuTube.ru, Snotr, TED Talks, TikTok, Twitch, Viddler, Vimeo, VK, Wistia, XTube, Yahoo, Youku, YouTube, YouTube Playlist, Kick
     62Alugha, Archive.org, Banned.video, Bitchute, Brightcove, Brighteon, cantcensortruth.com, Comedy Central, Dailymotion, Dailymotion Playlist, DTube, Facebook, Gab TV, Google Drive, mp4 or webm video files, ARVE general iframe embed, IGN, IMDB, Kickstarter, kla.tv, Livestream.com, Mail.ru, Metacafe, myspace, ooyala, v.qq.com, Rumble.com, RuTube.ru, Snotr, TED Talks, TikTok, Twitch, Viddler, Vimeo, VK, Wistia, XTube, Yahoo, Youku, YouTube, YouTube Playlist, Kick
    6363### Reviews ###
    6464
     
    194194* [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)
    195195
     196
     197
     198
     199
     200
     201
    196202### 2024-05-23 10.0.10 ###
    197203* Fix: Videos with quotes in the title/description caused json_decode syntax error.
  • advanced-responsive-video-embedder/tags/10.1.0/src/block.json

    r3091452 r3091940  
    1414        "odysee"
    1515    ],
    16     "version": "10.0.10",
     16    "version": "10.0",
    1717    "textdomain": "advanced-responsive-video-embedder",
    1818    "supports": {
  • advanced-responsive-video-embedder/tags/10.1.0/vendor/composer/installed.json

    r3091452 r3091940  
    7070        {
    7171            "name": "nextgenthemes/wp-shared",
    72             "version": "2024.05.23.13.27.39",
    73             "version_normalized": "2024.05.23.13.27.39",
     72            "version": "2024.05.2",
     73            "version_normalized": "2024.05.2",
    7474            "dist": {
    7575                "type": "path",
    7676                "url": "../nextgenthemes/wp-shared",
    77                 "reference": "55bb7b98f59dc6cf73fc1b15c5018fe56bdb905b"
     77                "reference": ""
    7878            },
    7979            "require": {
  • advanced-responsive-video-embedder/tags/10.1.0/vendor/composer/installed.php

    r3091452 r3091940  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => 'a7fb06b580134cdf8ea6ba66779e75aa013b12ac',
     6        'reference' => '',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2323            'pretty_version' => 'dev-master',
    2424            'version' => 'dev-master',
    25             'reference' => 'a7fb06b580134cdf8ea6ba66779e75aa013b12ac',
     25            'reference' => '',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
     
    3030        ),
    3131        'nextgenthemes/wp-shared' => array(
    32             'pretty_version' => '2024.05.23.13.27.39',
    33             'version' => '2024.05.23.13.27.39',
    34             'reference' => '55bb7b98f59dc6cf73fc1b15c5018fe56bdb905b',
     32            'pretty_version' => '2024.05.2',
     33            'version' => '2024.05.2',
     34            'reference' => '',
    3535            'type' => 'wp-package',
    3636            'install_path' => __DIR__ . '/../nextgenthemes/wp-shared',
  • advanced-responsive-video-embedder/tags/10.1.0/vendor/composer/jetpack_autoload_filemap.php

    r3091452 r3091940  
    88return array(
    99    '2d1e3b3e432aed88c61afcb4f6d8c262' => array(
    10         'version' => '2024.05.23.13.27.39',
     10        'version' => '2024.05.2',
    1111        'path'    => $vendorDir . '/nextgenthemes/wp-shared/includes/WP/load-files.php'
    1212    ),
    1313    '83b8ee913c5d2d5a8f26b42bc5db8bfb' => array(
    14         'version' => '2024.05.23.13.27.39',
     14        'version' => '2024.05.2',
    1515        'path'    => $vendorDir . '/nextgenthemes/wp-shared/includes/WP/Admin/load-admin-files.php'
    1616    ),
  • advanced-responsive-video-embedder/tags/10.1.0/vendor/nextgenthemes/wp-shared/composer.json

    r3091452 r3091940  
    2020        "update-alpine": "wget https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js -O ./includes/WP/Admin/alpine.js"
    2121    },
    22     "version": "2024.05.23.13.27.39"
     22    "version": "2024.05.2"
    2323}
  • advanced-responsive-video-embedder/tags/10.1.0/vendor/nextgenthemes/wp-shared/includes/WP/fn-string.php

    r3089848 r3091940  
    111111
    112112/**
    113  * Validates a URL.
     113 * Validates a URL.
    114114 *
    115115 * @param string $url The URL to be validated.
     116
    116117 */
    117 function valid_url( string $url ): bool {
     118function valid_url( string $url ): {
    118119
    119120    if ( empty( $url ) ) {
    120         return false;
     121        return ;
    121122    }
    122123
     
    126127
    127128    if ( filter_var( $url, FILTER_VALIDATE_URL ) !== false ) {
    128         return true;
     129        return ;
    129130    }
    130131
    131     return false;
     132    return ;
    132133}
    133134
  • advanced-responsive-video-embedder/trunk/advanced-responsive-video-embedder.php

    r3091452 r3091940  
    44 * Plugin URI:        https://nextgenthemes.com/plugins/arve-pro/
    55 * Description:       Easy responsive video embeds via URL (like WordPress) or Shortcodes. Supports almost anything you can imagine.
    6  * Version:           10.0.10
     6 * Version:           10.0
    77 * Requires PHP:      7.4
    88 * Requires at least: 6.2
     
    2121namespace Nextgenthemes\ARVE;
    2222
    23 const VERSION               = '10.0.10';
     23const VERSION               = '10.0';
    2424const PRO_VERSION_REQUIRED  = '6.0.0-alpha3';
    2525const NUM_TRACKS            = 3;
  • advanced-responsive-video-embedder/trunk/changelog.md

    r3091452 r3091940  
    33* [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
    44* [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)
     5
     6
     7
     8
     9
     10
    511
    612### 2024-05-23 10.0.10 ###
  • advanced-responsive-video-embedder/trunk/php/Video.php

    r3089848 r3091940  
    196196        $this->set_prop( 'autoplay', $this->arg_autoplay( $this->autoplay ) );
    197197        $this->set_prop( 'src', $this->arg_iframe_src( $this->src ) );
    198         $this->set_prop( 'uid', sanitize_key( uniqid( "arve-{$this->provider}-{$this->id}", true ) ) );
     198        $this->set_prop( 'uid',  $this->create_uid() );
     199    }
     200
     201    private function create_uid(): string {
     202        static $ids = [];
     203
     204        $id = sanitize_key( 'arve-' . $this->provider . '-' . $this->id );
     205
     206        if ( empty( $ids[ $id ] ) ) { // counter
     207            $ids[ $id ] = 1;
     208        } else {
     209            ++$ids[ $id ];
     210        }
     211
     212        if ( $ids[ $id ] > 1 ) {
     213            $id .= '-' . $ids[ $id ];
     214        }
     215
     216        return $id;
    199217    }
    200218
  • advanced-responsive-video-embedder/trunk/php/fn-oembed.php

    r3091452 r3091940  
    22namespace Nextgenthemes\ARVE;
    33
    4 use DateTime;
    5 use Nextgenthemes\WP;
    6 
    7 use function Nextgenthemes\WP\remove_url_query;
     4use function Nextgenthemes\WP\valid_url;
     5use function Nextgenthemes\WP\get_attribute_from_html_tag;
     6use function Nextgenthemes\WP\remote_get_head;
    87
    98/**
     
    176175    if ( 'TikTok' === $data->provider_name ) {
    177176
    178         $tiktok_video_id = WP\get_attribute_from_html_tag( array( 'class' => 'tiktok-embed' ), 'data-video-id', $data->html );
     177        $tiktok_video_id = get_attribute_from_html_tag( array( 'class' => 'tiktok-embed' ), 'data-video-id', $data->html );
    179178
    180179        if ( $tiktok_video_id ) {
     
    185184    } elseif ( 'Facebook' === $data->provider_name ) {
    186185
    187         $facebook_video_url = WP\get_attribute_from_html_tag( array( 'class' => 'fb-video' ), 'data-href', $data->html );
     186        $facebook_video_url = get_attribute_from_html_tag( array( 'class' => 'fb-video' ), 'data-href', $data->html );
    188187
    189188        if ( $facebook_video_url ) {
     
    193192        }
    194193    } else {
    195         $iframe_src = WP\get_attribute_from_html_tag( array( 'tag_name' => 'iframe' ), 'src', $data->html );
     194        $iframe_src = get_attribute_from_html_tag( array( 'tag_name' => 'iframe' ), 'src', $data->html );
    196195
    197196        if ( $iframe_src ) {
    198197
    199             if ( WP\valid_url( $iframe_src) ) {
     198            $iframe_src = valid_url( $iframe_src );
     199
     200            if ( $iframe_src ) {
    200201                return $iframe_src;
    201202            } else {
     
    257258    foreach ( $sizes as $size => $size_url ) {
    258259
    259         if ( 'youtube' === $provider && is_wp_error( WP\remote_get_head( $size_url, array( 'timeout' => 5 ) ) ) ) {
     260        if ( 'youtube' === $provider && is_wp_error( remote_get_head( $size_url, array( 'timeout' => 5 ) ) ) ) {
    260261            unset( $sizes[ $size ] );
    261262            continue;
  • advanced-responsive-video-embedder/trunk/php/fn-validation.php

    r3084997 r3091940  
    4141}
    4242
    43 
    44 /**
    45  * Validates a URL and returns the validated URL or an error message.
     43/**
     44 * Validates a URL and returns the validated URL or an error message. Upgrades // to https:// if needed.
    4645 *
    47  * @param string $argname The name of the argument being validated.
     46 * @param string $argname The name of the argument being validated.
    4847 * @param string $value The value of the argument being validated. Can be an URL or a HTML string with the a embed code.
    4948 * @return string The validated URL or an error message.
    5049 */
    51 function validate_url( string $argname, string $url ): string {
    52 
    53     if ( ! empty( $url ) && ! valid_url( $url ) ) {
     50function validate_url( string $arg_name, string $url ): string {
     51
     52    if ( '' === $url ) {
     53        return $url;
     54    }
     55
     56    $url = valid_url( $url );
     57
     58    if ( ! $url ) { // invalid url
    5459
    5560        $error_msg = sprintf(
     
    5762            __( 'Invalid URL <code>%1$s</code> in <code>%2$s</code>', 'advanced-responsive-video-embedder' ),
    5863            esc_html( $url ),
    59             esc_html( $argname )
     64            esc_html( $argname )
    6065        );
    6166
    62         arve_errors()->add( "validate_url $argname", $error_msg );
    63     }
    64 
    65     return $url;
     67        arve_errors()->add( "validate_url $argname", $error_msg );
     68    }
     69
     70    return $url;
    6671}
    6772
  • advanced-responsive-video-embedder/trunk/php/providers.php

    r3090527 r3091940  
    384384        'auto_title'     => true,
    385385    ),
     386
     387
     388
     389
     390
     391
     392
     393
     394
     395
     396
     397
     398
     399
     400
     401
    386402    'rutube' => array(
    387403        'name'        => 'RuTube.ru',
    388404        'oembed'      => false,
    389         'regex'       => '#https?://(www\\.)?rutube\\.ru/play/embed/(?<id>[0-9]+)#i',
     405        'regex'       => '#0-9]+)#i',
    390406        'embed_url'   => 'https://rutube.ru/play/embed/%s',
    391407        'tests'       => array(
     
    393409                'url' => 'https://rutube.ru/play/embed/9822149',
    394410                'id'  => '9822149',
     411
     412
     413
     414
    395415            ),
    396416        ),
     
    481501        'name'           => 'Vimeo',
    482502        'oembed'         => true,
    483         'regex'          => '#https?://(player\.)?vimeo\.com/((video/)|(channels/[a-z]+/)|(groups/[a-z]+/videos/))?(?<id>[0-9]+)(/(?<vimeo_secret>[0-9a-z]+))?#i',
     503        'regex'          => '#https?://(player\\.com/((video/)|(channels/[a-z]+/)|(groups/[a-z]+/videos/))?(?<id>[0-9]+)(/(?<vimeo_secret>[0-9a-z]+))?#i',
    484504        'embed_url'      => 'https://player.vimeo.com/video/%s',
    485505        'rebuild_url'    => 'https://vimeo.com/%s',
  • advanced-responsive-video-embedder/trunk/readme.txt

    r3091452 r3091940  
    66Tested up to: 6.5.0
    77Requires PHP: 7.4
    8 Stable tag: 10.0.10
     8Stable tag: 10.0
    99License: GPL-3.0
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    6060
    6161[All providers with iframe embed codes](https://nextgenthemes.com/plugins/arve/documentation/#general-iframe-embedding)
    62 Alugha, Archive.org, Banned.video, Bitchute, Brightcove, Brighteon, cantcensortruth.com, Comedy Central, Dailymotion, Dailymotion Playlist, DTube, Facebook, Gab TV, Google Drive, mp4 or webm video files, ARVE general iframe embed, IGN, IMDB, Kickstarter, kla.tv, Livestream.com, Mail.ru, Metacafe, myspace, ooyala, v.qq.com, Rumble.com, RuTube.ru, Snotr, TED Talks, TikTok, Twitch, Viddler, Vimeo, VK, Wistia, XTube, Yahoo, Youku, YouTube, YouTube Playlist, Kick
     62Alugha, Archive.org, Banned.video, Bitchute, Brightcove, Brighteon, cantcensortruth.com, Comedy Central, Dailymotion, Dailymotion Playlist, DTube, Facebook, Gab TV, Google Drive, mp4 or webm video files, ARVE general iframe embed, IGN, IMDB, Kickstarter, kla.tv, Livestream.com, Mail.ru, Metacafe, myspace, ooyala, v.qq.com, Rumble.com, RuTube.ru, Snotr, TED Talks, TikTok, Twitch, Viddler, Vimeo, VK, Wistia, XTube, Yahoo, Youku, YouTube, YouTube Playlist, Kick
    6363### Reviews ###
    6464
     
    194194* [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)
    195195
     196
     197
     198
     199
     200
     201
    196202### 2024-05-23 10.0.10 ###
    197203* Fix: Videos with quotes in the title/description caused json_decode syntax error.
  • advanced-responsive-video-embedder/trunk/src/block.json

    r3091452 r3091940  
    1414        "odysee"
    1515    ],
    16     "version": "10.0.10",
     16    "version": "10.0",
    1717    "textdomain": "advanced-responsive-video-embedder",
    1818    "supports": {
  • advanced-responsive-video-embedder/trunk/vendor/composer/installed.json

    r3091452 r3091940  
    7070        {
    7171            "name": "nextgenthemes/wp-shared",
    72             "version": "2024.05.23.13.27.39",
    73             "version_normalized": "2024.05.23.13.27.39",
     72            "version": "2024.05.2",
     73            "version_normalized": "2024.05.2",
    7474            "dist": {
    7575                "type": "path",
    7676                "url": "../nextgenthemes/wp-shared",
    77                 "reference": "55bb7b98f59dc6cf73fc1b15c5018fe56bdb905b"
     77                "reference": ""
    7878            },
    7979            "require": {
  • advanced-responsive-video-embedder/trunk/vendor/composer/installed.php

    r3091452 r3091940  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => 'a7fb06b580134cdf8ea6ba66779e75aa013b12ac',
     6        'reference' => '',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2323            'pretty_version' => 'dev-master',
    2424            'version' => 'dev-master',
    25             'reference' => 'a7fb06b580134cdf8ea6ba66779e75aa013b12ac',
     25            'reference' => '',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
     
    3030        ),
    3131        'nextgenthemes/wp-shared' => array(
    32             'pretty_version' => '2024.05.23.13.27.39',
    33             'version' => '2024.05.23.13.27.39',
    34             'reference' => '55bb7b98f59dc6cf73fc1b15c5018fe56bdb905b',
     32            'pretty_version' => '2024.05.2',
     33            'version' => '2024.05.2',
     34            'reference' => '',
    3535            'type' => 'wp-package',
    3636            'install_path' => __DIR__ . '/../nextgenthemes/wp-shared',
  • advanced-responsive-video-embedder/trunk/vendor/composer/jetpack_autoload_filemap.php

    r3091452 r3091940  
    88return array(
    99    '2d1e3b3e432aed88c61afcb4f6d8c262' => array(
    10         'version' => '2024.05.23.13.27.39',
     10        'version' => '2024.05.2',
    1111        'path'    => $vendorDir . '/nextgenthemes/wp-shared/includes/WP/load-files.php'
    1212    ),
    1313    '83b8ee913c5d2d5a8f26b42bc5db8bfb' => array(
    14         'version' => '2024.05.23.13.27.39',
     14        'version' => '2024.05.2',
    1515        'path'    => $vendorDir . '/nextgenthemes/wp-shared/includes/WP/Admin/load-admin-files.php'
    1616    ),
  • advanced-responsive-video-embedder/trunk/vendor/nextgenthemes/wp-shared/composer.json

    r3091452 r3091940  
    2020        "update-alpine": "wget https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js -O ./includes/WP/Admin/alpine.js"
    2121    },
    22     "version": "2024.05.23.13.27.39"
     22    "version": "2024.05.2"
    2323}
  • advanced-responsive-video-embedder/trunk/vendor/nextgenthemes/wp-shared/includes/WP/fn-string.php

    r3089848 r3091940  
    111111
    112112/**
    113  * Validates a URL.
     113 * Validates a URL.
    114114 *
    115115 * @param string $url The URL to be validated.
     116
    116117 */
    117 function valid_url( string $url ): bool {
     118function valid_url( string $url ): {
    118119
    119120    if ( empty( $url ) ) {
    120         return false;
     121        return ;
    121122    }
    122123
     
    126127
    127128    if ( filter_var( $url, FILTER_VALIDATE_URL ) !== false ) {
    128         return true;
     129        return ;
    129130    }
    130131
    131     return false;
     132    return ;
    132133}
    133134
Note: See TracChangeset for help on using the changeset viewer.