Changeset 3091940
- Timestamp:
- 05/24/2024 08:03:13 AM (8 weeks ago)
- 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 4 4 * Plugin URI: https://nextgenthemes.com/plugins/arve-pro/ 5 5 * Description: Easy responsive video embeds via URL (like WordPress) or Shortcodes. Supports almost anything you can imagine. 6 * Version: 10. 0.106 * Version: 10.0 7 7 * Requires PHP: 7.4 8 8 * Requires at least: 6.2 … … 21 21 namespace Nextgenthemes\ARVE; 22 22 23 const VERSION = '10. 0.10';23 const VERSION = '10.0'; 24 24 const PRO_VERSION_REQUIRED = '6.0.0-alpha3'; 25 25 const NUM_TRACKS = 3; -
advanced-responsive-video-embedder/tags/10.1.0/changelog.md
r3091452 r3091940 3 3 * [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog) 4 4 * [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog) 5 6 7 8 9 10 5 11 6 12 ### 2024-05-23 10.0.10 ### -
advanced-responsive-video-embedder/tags/10.1.0/php/Video.php
r3089848 r3091940 196 196 $this->set_prop( 'autoplay', $this->arg_autoplay( $this->autoplay ) ); 197 197 $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; 199 217 } 200 218 -
advanced-responsive-video-embedder/tags/10.1.0/php/fn-oembed.php
r3091452 r3091940 2 2 namespace Nextgenthemes\ARVE; 3 3 4 use DateTime; 5 use Nextgenthemes\WP; 6 7 use function Nextgenthemes\WP\remove_url_query; 4 use function Nextgenthemes\WP\valid_url; 5 use function Nextgenthemes\WP\get_attribute_from_html_tag; 6 use function Nextgenthemes\WP\remote_get_head; 8 7 9 8 /** … … 176 175 if ( 'TikTok' === $data->provider_name ) { 177 176 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 ); 179 178 180 179 if ( $tiktok_video_id ) { … … 185 184 } elseif ( 'Facebook' === $data->provider_name ) { 186 185 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 ); 188 187 189 188 if ( $facebook_video_url ) { … … 193 192 } 194 193 } 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 ); 196 195 197 196 if ( $iframe_src ) { 198 197 199 if ( WP\valid_url( $iframe_src) ) { 198 $iframe_src = valid_url( $iframe_src ); 199 200 if ( $iframe_src ) { 200 201 return $iframe_src; 201 202 } else { … … 257 258 foreach ( $sizes as $size => $size_url ) { 258 259 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 ) ) ) ) { 260 261 unset( $sizes[ $size ] ); 261 262 continue; -
advanced-responsive-video-embedder/tags/10.1.0/php/fn-validation.php
r3084997 r3091940 41 41 } 42 42 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. 46 45 * 47 * @param string $arg name The name of the argument being validated.46 * @param string $argname The name of the argument being validated. 48 47 * @param string $value The value of the argument being validated. Can be an URL or a HTML string with the a embed code. 49 48 * @return string The validated URL or an error message. 50 49 */ 51 function validate_url( string $argname, string $url ): string { 52 53 if ( ! empty( $url ) && ! valid_url( $url ) ) { 50 function 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 54 59 55 60 $error_msg = sprintf( … … 57 62 __( 'Invalid URL <code>%1$s</code> in <code>%2$s</code>', 'advanced-responsive-video-embedder' ), 58 63 esc_html( $url ), 59 esc_html( $arg name )64 esc_html( $argname ) 60 65 ); 61 66 62 arve_errors()->add( "validate_url $arg name", $error_msg );63 } 64 65 return $url;67 arve_errors()->add( "validate_url $argname", $error_msg ); 68 } 69 70 return $url; 66 71 } 67 72 -
advanced-responsive-video-embedder/tags/10.1.0/php/providers.php
r3090527 r3091940 384 384 'auto_title' => true, 385 385 ), 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 386 402 'rutube' => array( 387 403 'name' => 'RuTube.ru', 388 404 'oembed' => false, 389 'regex' => '# https?://(www\\.)?rutube\\.ru/play/embed/(?<id>[0-9]+)#i',405 'regex' => '#0-9]+)#i', 390 406 'embed_url' => 'https://rutube.ru/play/embed/%s', 391 407 'tests' => array( … … 393 409 'url' => 'https://rutube.ru/play/embed/9822149', 394 410 'id' => '9822149', 411 412 413 414 395 415 ), 396 416 ), … … 481 501 'name' => 'Vimeo', 482 502 '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', 484 504 'embed_url' => 'https://player.vimeo.com/video/%s', 485 505 'rebuild_url' => 'https://vimeo.com/%s', -
advanced-responsive-video-embedder/tags/10.1.0/readme.txt
r3091452 r3091940 6 6 Tested up to: 6.5.0 7 7 Requires PHP: 7.4 8 Stable tag: 10. 0.108 Stable tag: 10.0 9 9 License: GPL-3.0 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 60 60 61 61 [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, Kick62 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 63 63 ### Reviews ### 64 64 … … 194 194 * [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog) 195 195 196 197 198 199 200 201 196 202 ### 2024-05-23 10.0.10 ### 197 203 * 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 14 14 "odysee" 15 15 ], 16 "version": "10. 0.10",16 "version": "10.0", 17 17 "textdomain": "advanced-responsive-video-embedder", 18 18 "supports": { -
advanced-responsive-video-embedder/tags/10.1.0/vendor/composer/installed.json
r3091452 r3091940 70 70 { 71 71 "name": "nextgenthemes/wp-shared", 72 "version": "2024.05.2 3.13.27.39",73 "version_normalized": "2024.05.2 3.13.27.39",72 "version": "2024.05.2", 73 "version_normalized": "2024.05.2", 74 74 "dist": { 75 75 "type": "path", 76 76 "url": "../nextgenthemes/wp-shared", 77 "reference": " 55bb7b98f59dc6cf73fc1b15c5018fe56bdb905b"77 "reference": "" 78 78 }, 79 79 "require": { -
advanced-responsive-video-embedder/tags/10.1.0/vendor/composer/installed.php
r3091452 r3091940 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' a7fb06b580134cdf8ea6ba66779e75aa013b12ac',6 'reference' => '', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 23 23 'pretty_version' => 'dev-master', 24 24 'version' => 'dev-master', 25 'reference' => ' a7fb06b580134cdf8ea6ba66779e75aa013b12ac',25 'reference' => '', 26 26 'type' => 'wordpress-plugin', 27 27 'install_path' => __DIR__ . '/../../', … … 30 30 ), 31 31 'nextgenthemes/wp-shared' => array( 32 'pretty_version' => '2024.05.2 3.13.27.39',33 'version' => '2024.05.2 3.13.27.39',34 'reference' => ' 55bb7b98f59dc6cf73fc1b15c5018fe56bdb905b',32 'pretty_version' => '2024.05.2', 33 'version' => '2024.05.2', 34 'reference' => '', 35 35 'type' => 'wp-package', 36 36 'install_path' => __DIR__ . '/../nextgenthemes/wp-shared', -
advanced-responsive-video-embedder/tags/10.1.0/vendor/composer/jetpack_autoload_filemap.php
r3091452 r3091940 8 8 return array( 9 9 '2d1e3b3e432aed88c61afcb4f6d8c262' => array( 10 'version' => '2024.05.2 3.13.27.39',10 'version' => '2024.05.2', 11 11 'path' => $vendorDir . '/nextgenthemes/wp-shared/includes/WP/load-files.php' 12 12 ), 13 13 '83b8ee913c5d2d5a8f26b42bc5db8bfb' => array( 14 'version' => '2024.05.2 3.13.27.39',14 'version' => '2024.05.2', 15 15 'path' => $vendorDir . '/nextgenthemes/wp-shared/includes/WP/Admin/load-admin-files.php' 16 16 ), -
advanced-responsive-video-embedder/tags/10.1.0/vendor/nextgenthemes/wp-shared/composer.json
r3091452 r3091940 20 20 "update-alpine": "wget https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js -O ./includes/WP/Admin/alpine.js" 21 21 }, 22 "version": "2024.05.2 3.13.27.39"22 "version": "2024.05.2" 23 23 } -
advanced-responsive-video-embedder/tags/10.1.0/vendor/nextgenthemes/wp-shared/includes/WP/fn-string.php
r3089848 r3091940 111 111 112 112 /** 113 * Validates a URL. 113 * Validates a URL. 114 114 * 115 115 * @param string $url The URL to be validated. 116 116 117 */ 117 function valid_url( string $url ): bool{118 function valid_url( string $url ): { 118 119 119 120 if ( empty( $url ) ) { 120 return false;121 return ; 121 122 } 122 123 … … 126 127 127 128 if ( filter_var( $url, FILTER_VALIDATE_URL ) !== false ) { 128 return true;129 return ; 129 130 } 130 131 131 return false;132 return ; 132 133 } 133 134 -
advanced-responsive-video-embedder/trunk/advanced-responsive-video-embedder.php
r3091452 r3091940 4 4 * Plugin URI: https://nextgenthemes.com/plugins/arve-pro/ 5 5 * Description: Easy responsive video embeds via URL (like WordPress) or Shortcodes. Supports almost anything you can imagine. 6 * Version: 10. 0.106 * Version: 10.0 7 7 * Requires PHP: 7.4 8 8 * Requires at least: 6.2 … … 21 21 namespace Nextgenthemes\ARVE; 22 22 23 const VERSION = '10. 0.10';23 const VERSION = '10.0'; 24 24 const PRO_VERSION_REQUIRED = '6.0.0-alpha3'; 25 25 const NUM_TRACKS = 3; -
advanced-responsive-video-embedder/trunk/changelog.md
r3091452 r3091940 3 3 * [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog) 4 4 * [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog) 5 6 7 8 9 10 5 11 6 12 ### 2024-05-23 10.0.10 ### -
advanced-responsive-video-embedder/trunk/php/Video.php
r3089848 r3091940 196 196 $this->set_prop( 'autoplay', $this->arg_autoplay( $this->autoplay ) ); 197 197 $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; 199 217 } 200 218 -
advanced-responsive-video-embedder/trunk/php/fn-oembed.php
r3091452 r3091940 2 2 namespace Nextgenthemes\ARVE; 3 3 4 use DateTime; 5 use Nextgenthemes\WP; 6 7 use function Nextgenthemes\WP\remove_url_query; 4 use function Nextgenthemes\WP\valid_url; 5 use function Nextgenthemes\WP\get_attribute_from_html_tag; 6 use function Nextgenthemes\WP\remote_get_head; 8 7 9 8 /** … … 176 175 if ( 'TikTok' === $data->provider_name ) { 177 176 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 ); 179 178 180 179 if ( $tiktok_video_id ) { … … 185 184 } elseif ( 'Facebook' === $data->provider_name ) { 186 185 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 ); 188 187 189 188 if ( $facebook_video_url ) { … … 193 192 } 194 193 } 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 ); 196 195 197 196 if ( $iframe_src ) { 198 197 199 if ( WP\valid_url( $iframe_src) ) { 198 $iframe_src = valid_url( $iframe_src ); 199 200 if ( $iframe_src ) { 200 201 return $iframe_src; 201 202 } else { … … 257 258 foreach ( $sizes as $size => $size_url ) { 258 259 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 ) ) ) ) { 260 261 unset( $sizes[ $size ] ); 261 262 continue; -
advanced-responsive-video-embedder/trunk/php/fn-validation.php
r3084997 r3091940 41 41 } 42 42 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. 46 45 * 47 * @param string $arg name The name of the argument being validated.46 * @param string $argname The name of the argument being validated. 48 47 * @param string $value The value of the argument being validated. Can be an URL or a HTML string with the a embed code. 49 48 * @return string The validated URL or an error message. 50 49 */ 51 function validate_url( string $argname, string $url ): string { 52 53 if ( ! empty( $url ) && ! valid_url( $url ) ) { 50 function 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 54 59 55 60 $error_msg = sprintf( … … 57 62 __( 'Invalid URL <code>%1$s</code> in <code>%2$s</code>', 'advanced-responsive-video-embedder' ), 58 63 esc_html( $url ), 59 esc_html( $arg name )64 esc_html( $argname ) 60 65 ); 61 66 62 arve_errors()->add( "validate_url $arg name", $error_msg );63 } 64 65 return $url;67 arve_errors()->add( "validate_url $argname", $error_msg ); 68 } 69 70 return $url; 66 71 } 67 72 -
advanced-responsive-video-embedder/trunk/php/providers.php
r3090527 r3091940 384 384 'auto_title' => true, 385 385 ), 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 386 402 'rutube' => array( 387 403 'name' => 'RuTube.ru', 388 404 'oembed' => false, 389 'regex' => '# https?://(www\\.)?rutube\\.ru/play/embed/(?<id>[0-9]+)#i',405 'regex' => '#0-9]+)#i', 390 406 'embed_url' => 'https://rutube.ru/play/embed/%s', 391 407 'tests' => array( … … 393 409 'url' => 'https://rutube.ru/play/embed/9822149', 394 410 'id' => '9822149', 411 412 413 414 395 415 ), 396 416 ), … … 481 501 'name' => 'Vimeo', 482 502 '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', 484 504 'embed_url' => 'https://player.vimeo.com/video/%s', 485 505 'rebuild_url' => 'https://vimeo.com/%s', -
advanced-responsive-video-embedder/trunk/readme.txt
r3091452 r3091940 6 6 Tested up to: 6.5.0 7 7 Requires PHP: 7.4 8 Stable tag: 10. 0.108 Stable tag: 10.0 9 9 License: GPL-3.0 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 60 60 61 61 [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, Kick62 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 63 63 ### Reviews ### 64 64 … … 194 194 * [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog) 195 195 196 197 198 199 200 201 196 202 ### 2024-05-23 10.0.10 ### 197 203 * Fix: Videos with quotes in the title/description caused json_decode syntax error. -
advanced-responsive-video-embedder/trunk/src/block.json
r3091452 r3091940 14 14 "odysee" 15 15 ], 16 "version": "10. 0.10",16 "version": "10.0", 17 17 "textdomain": "advanced-responsive-video-embedder", 18 18 "supports": { -
advanced-responsive-video-embedder/trunk/vendor/composer/installed.json
r3091452 r3091940 70 70 { 71 71 "name": "nextgenthemes/wp-shared", 72 "version": "2024.05.2 3.13.27.39",73 "version_normalized": "2024.05.2 3.13.27.39",72 "version": "2024.05.2", 73 "version_normalized": "2024.05.2", 74 74 "dist": { 75 75 "type": "path", 76 76 "url": "../nextgenthemes/wp-shared", 77 "reference": " 55bb7b98f59dc6cf73fc1b15c5018fe56bdb905b"77 "reference": "" 78 78 }, 79 79 "require": { -
advanced-responsive-video-embedder/trunk/vendor/composer/installed.php
r3091452 r3091940 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' a7fb06b580134cdf8ea6ba66779e75aa013b12ac',6 'reference' => '', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 23 23 'pretty_version' => 'dev-master', 24 24 'version' => 'dev-master', 25 'reference' => ' a7fb06b580134cdf8ea6ba66779e75aa013b12ac',25 'reference' => '', 26 26 'type' => 'wordpress-plugin', 27 27 'install_path' => __DIR__ . '/../../', … … 30 30 ), 31 31 'nextgenthemes/wp-shared' => array( 32 'pretty_version' => '2024.05.2 3.13.27.39',33 'version' => '2024.05.2 3.13.27.39',34 'reference' => ' 55bb7b98f59dc6cf73fc1b15c5018fe56bdb905b',32 'pretty_version' => '2024.05.2', 33 'version' => '2024.05.2', 34 'reference' => '', 35 35 'type' => 'wp-package', 36 36 'install_path' => __DIR__ . '/../nextgenthemes/wp-shared', -
advanced-responsive-video-embedder/trunk/vendor/composer/jetpack_autoload_filemap.php
r3091452 r3091940 8 8 return array( 9 9 '2d1e3b3e432aed88c61afcb4f6d8c262' => array( 10 'version' => '2024.05.2 3.13.27.39',10 'version' => '2024.05.2', 11 11 'path' => $vendorDir . '/nextgenthemes/wp-shared/includes/WP/load-files.php' 12 12 ), 13 13 '83b8ee913c5d2d5a8f26b42bc5db8bfb' => array( 14 'version' => '2024.05.2 3.13.27.39',14 'version' => '2024.05.2', 15 15 'path' => $vendorDir . '/nextgenthemes/wp-shared/includes/WP/Admin/load-admin-files.php' 16 16 ), -
advanced-responsive-video-embedder/trunk/vendor/nextgenthemes/wp-shared/composer.json
r3091452 r3091940 20 20 "update-alpine": "wget https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js -O ./includes/WP/Admin/alpine.js" 21 21 }, 22 "version": "2024.05.2 3.13.27.39"22 "version": "2024.05.2" 23 23 } -
advanced-responsive-video-embedder/trunk/vendor/nextgenthemes/wp-shared/includes/WP/fn-string.php
r3089848 r3091940 111 111 112 112 /** 113 * Validates a URL. 113 * Validates a URL. 114 114 * 115 115 * @param string $url The URL to be validated. 116 116 117 */ 117 function valid_url( string $url ): bool{118 function valid_url( string $url ): { 118 119 119 120 if ( empty( $url ) ) { 120 return false;121 return ; 121 122 } 122 123 … … 126 127 127 128 if ( filter_var( $url, FILTER_VALIDATE_URL ) !== false ) { 128 return true;129 return ; 129 130 } 130 131 131 return false;132 return ; 132 133 } 133 134
Note: See TracChangeset
for help on using the changeset viewer.