Changeset 3091452
- Timestamp:
- 05/23/2024 11:31:04 AM (3 months ago)
- Location:
- advanced-responsive-video-embedder
- Files:
-
- 20 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
advanced-responsive-video-embedder/tags/10.0.10/advanced-responsive-video-embedder.php
r3090527 r3091452 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. 96 * 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. 9';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.0.10/changelog.md
r3090527 r3091452 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 5 8 6 9 ### 2024-05-22 10.0.9 ### -
advanced-responsive-video-embedder/tags/10.0.10/php/fn-oembed.php
r3089965 r3091452 67 67 68 68 $data = apply_filters( 'nextgenthemes/arve/oembed_dataparse', $data, $thumbnails ); 69 $html .= '<script type="application/json" data-arve-oembed>' . \wp_json_encode($data, JSON_UNESCAPED_UNICODE, 5) . '</script>'; 69 $html .= sprintf( 70 '<script type="application/json" data-arve-oembed>%s</script>', 71 \wp_json_encode($data, JSON_HEX_QUOT | JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT, 5) 72 ); 70 73 71 74 return $html; … … 128 131 129 132 $error_code = __FUNCTION__; 130 131 arve_errors()->add( $error_code, $e->getMessage() . ' URL: ' . $url ); 133 $function = __FUNCTION__; 134 $url = $url; // to make intellisense happy 135 136 arve_errors()->add( $error_code, $e->getMessage()); 132 137 arve_errors()->add_data( 133 compact( 'html', 'url' ),138 compact( 'html', 'url'), 134 139 $error_code 135 140 ); -
advanced-responsive-video-embedder/tags/10.0.10/php/fn-shortcodes.php
r3090527 r3091452 47 47 } 48 48 49 function error( string $messages, string $code = '' ): string { 50 51 $hide = false; 52 $is_dev_mode = ( 49 function is_dev_mode(): bool { 50 return ( 53 51 ( defined( 'WP_DEBUG' ) && WP_DEBUG ) || 54 52 wp_get_development_mode() || // Any 'theme', 'plugin', or 'all' … … 56 54 'local' === wp_get_environment_type() 57 55 ); 58 59 if ( str_contains( $code, 'hidden' ) && ! $is_dev_mode ) { 56 } 57 58 function error( string $messages, string $code = '' ): string { 59 60 $hide = false; 61 62 if ( str_contains( $code, 'hidden' ) && ! is_dev_mode() ) { 60 63 $hide = true; 61 64 } … … 91 94 $data = arve_errors()->get_error_data( $code ); 92 95 93 if ( ! empty( $data ) && ( defined( 'WP_DEBUG' ) && WP_DEBUG) ) {96 if ( ! empty( $data ) && ) ) { 94 97 // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_var_export 95 $html .= sprintf( ' Data: %s', var_export( $data, true ) );98 $html .= sprintf( '', var_export( $data, true ) ); 96 99 } 97 100 -
advanced-responsive-video-embedder/tags/10.0.10/readme.txt
r3090527 r3091452 6 6 Tested up to: 6.5.0 7 7 Requires PHP: 7.4 8 Stable tag: 10.0. 98 Stable tag: 10.0. 9 9 License: GPL-3.0 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 194 194 * [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog) 195 195 196 197 198 196 199 ### 2024-05-22 10.0.9 ### 197 200 * Fix: Some Vimeo videos not working without cache working. -
advanced-responsive-video-embedder/tags/10.0.10/src/block.json
r3090527 r3091452 14 14 "odysee" 15 15 ], 16 "version": "10.0. 9",16 "version": "10.0.", 17 17 "textdomain": "advanced-responsive-video-embedder", 18 18 "supports": { -
advanced-responsive-video-embedder/tags/10.0.10/vendor/composer/installed.json
r3090527 r3091452 70 70 { 71 71 "name": "nextgenthemes/wp-shared", 72 "version": "2024.05.2 2.06.30.34",73 "version_normalized": "2024.05.2 2.06.30.34",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": " 7f63c35ac7b3da21772208e8523dc24396334932"77 "reference": "" 78 78 }, 79 79 "require": { -
advanced-responsive-video-embedder/tags/10.0.10/vendor/composer/installed.php
r3090527 r3091452 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 3a6a67cc79ef8fb6c1204420b9b0c9a7009d8d23',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' => ' 3a6a67cc79ef8fb6c1204420b9b0c9a7009d8d23',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 2.06.30.34',33 'version' => '2024.05.2 2.06.30.34',34 'reference' => ' 7f63c35ac7b3da21772208e8523dc24396334932',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.0.10/vendor/composer/jetpack_autoload_filemap.php
r3090527 r3091452 8 8 return array( 9 9 '2d1e3b3e432aed88c61afcb4f6d8c262' => array( 10 'version' => '2024.05.2 2.06.30.34',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 2.06.30.34',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.0.10/vendor/nextgenthemes/wp-shared/composer.json
r3090527 r3091452 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 2.06.30.34"22 "version": "2024.05.2" 23 23 } -
advanced-responsive-video-embedder/trunk/advanced-responsive-video-embedder.php
r3090527 r3091452 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. 96 * 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. 9';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
r3090527 r3091452 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 5 8 6 9 ### 2024-05-22 10.0.9 ### -
advanced-responsive-video-embedder/trunk/php/fn-oembed.php
r3089965 r3091452 67 67 68 68 $data = apply_filters( 'nextgenthemes/arve/oembed_dataparse', $data, $thumbnails ); 69 $html .= '<script type="application/json" data-arve-oembed>' . \wp_json_encode($data, JSON_UNESCAPED_UNICODE, 5) . '</script>'; 69 $html .= sprintf( 70 '<script type="application/json" data-arve-oembed>%s</script>', 71 \wp_json_encode($data, JSON_HEX_QUOT | JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT, 5) 72 ); 70 73 71 74 return $html; … … 128 131 129 132 $error_code = __FUNCTION__; 130 131 arve_errors()->add( $error_code, $e->getMessage() . ' URL: ' . $url ); 133 $function = __FUNCTION__; 134 $url = $url; // to make intellisense happy 135 136 arve_errors()->add( $error_code, $e->getMessage()); 132 137 arve_errors()->add_data( 133 compact( 'html', 'url' ),138 compact( 'html', 'url'), 134 139 $error_code 135 140 ); -
advanced-responsive-video-embedder/trunk/php/fn-shortcodes.php
r3090527 r3091452 47 47 } 48 48 49 function error( string $messages, string $code = '' ): string { 50 51 $hide = false; 52 $is_dev_mode = ( 49 function is_dev_mode(): bool { 50 return ( 53 51 ( defined( 'WP_DEBUG' ) && WP_DEBUG ) || 54 52 wp_get_development_mode() || // Any 'theme', 'plugin', or 'all' … … 56 54 'local' === wp_get_environment_type() 57 55 ); 58 59 if ( str_contains( $code, 'hidden' ) && ! $is_dev_mode ) { 56 } 57 58 function error( string $messages, string $code = '' ): string { 59 60 $hide = false; 61 62 if ( str_contains( $code, 'hidden' ) && ! is_dev_mode() ) { 60 63 $hide = true; 61 64 } … … 91 94 $data = arve_errors()->get_error_data( $code ); 92 95 93 if ( ! empty( $data ) && ( defined( 'WP_DEBUG' ) && WP_DEBUG) ) {96 if ( ! empty( $data ) && ) ) { 94 97 // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_var_export 95 $html .= sprintf( ' Data: %s', var_export( $data, true ) );98 $html .= sprintf( '', var_export( $data, true ) ); 96 99 } 97 100 -
advanced-responsive-video-embedder/trunk/readme.txt
r3090527 r3091452 6 6 Tested up to: 6.5.0 7 7 Requires PHP: 7.4 8 Stable tag: 10.0. 98 Stable tag: 10.0. 9 9 License: GPL-3.0 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 194 194 * [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog) 195 195 196 197 198 196 199 ### 2024-05-22 10.0.9 ### 197 200 * Fix: Some Vimeo videos not working without cache working. -
advanced-responsive-video-embedder/trunk/src/block.json
r3090527 r3091452 14 14 "odysee" 15 15 ], 16 "version": "10.0. 9",16 "version": "10.0.", 17 17 "textdomain": "advanced-responsive-video-embedder", 18 18 "supports": { -
advanced-responsive-video-embedder/trunk/vendor/composer/installed.json
r3090527 r3091452 70 70 { 71 71 "name": "nextgenthemes/wp-shared", 72 "version": "2024.05.2 2.06.30.34",73 "version_normalized": "2024.05.2 2.06.30.34",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": " 7f63c35ac7b3da21772208e8523dc24396334932"77 "reference": "" 78 78 }, 79 79 "require": { -
advanced-responsive-video-embedder/trunk/vendor/composer/installed.php
r3090527 r3091452 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 3a6a67cc79ef8fb6c1204420b9b0c9a7009d8d23',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' => ' 3a6a67cc79ef8fb6c1204420b9b0c9a7009d8d23',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 2.06.30.34',33 'version' => '2024.05.2 2.06.30.34',34 'reference' => ' 7f63c35ac7b3da21772208e8523dc24396334932',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
r3090527 r3091452 8 8 return array( 9 9 '2d1e3b3e432aed88c61afcb4f6d8c262' => array( 10 'version' => '2024.05.2 2.06.30.34',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 2.06.30.34',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
r3090527 r3091452 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 2.06.30.34"22 "version": "2024.05.2" 23 23 }
Note: See TracChangeset
for help on using the changeset viewer.