From 0569a6d709a37dce2a37fd73f74ec8faf7c47eba Mon Sep 17 00:00:00 2001 From: Presskopp Date: Tue, 8 Apr 2025 12:51:05 +0200 Subject: [PATCH 1/4] Youtube -> YouTube --- inc/Engine/Media/Lazyload/Subscriber.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/Engine/Media/Lazyload/Subscriber.php b/inc/Engine/Media/Lazyload/Subscriber.php index 027f074d52..01e9fa0182 100644 --- a/inc/Engine/Media/Lazyload/Subscriber.php +++ b/inc/Engine/Media/Lazyload/Subscriber.php @@ -207,7 +207,7 @@ private function minify_script( $script ) { } /** - * Inserts the Youtube thumbnail script in the footer + * Inserts the YouTube thumbnail script in the footer * * @since 3.3 * @@ -242,9 +242,9 @@ public function insert_youtube_thumbnail_script() { $thumbnail_resolution = apply_filters( 'rocket_lazyload_youtube_thumbnail_resolution', $thumbnail_resolution ); /** - * Extension from the thumbnail from Youtube video. + * Extension from the thumbnail from YouTube video. * - * @param string $extension extension from the thumbnail from Youtube video. + * @param string $extension extension from the thumbnail from YouTube video. * @returns string */ $extension = wpm_apply_filters_typed( 'string', 'rocket_lazyload_youtube_thumbnail_extension', 'jpg' ); @@ -259,7 +259,7 @@ public function insert_youtube_thumbnail_script() { 'lazy_image' => (bool) $this->options->get( 'lazyload' ), 'native' => $this->is_native_images(), 'extension' => $extension, - 'button_aria_label' => esc_html__( 'Play Youtube video', 'rocket' ), + 'button_aria_label' => esc_html__( 'Play YouTube video', 'rocket' ), ] ); } @@ -288,7 +288,7 @@ public function insert_nojs_style() { } /** - * Inserts the Youtube thumbnail CSS in the header + * Inserts the YouTube thumbnail CSS in the header * * @since 3.3 * From 9995d849e450a9ba45ca65f22220db285f026c46 Mon Sep 17 00:00:00 2001 From: Presskopp Date: Tue, 8 Apr 2025 12:53:16 +0200 Subject: [PATCH 2/4] Youtube -> YouTube --- inc/Dependencies/RocketLazyload/Iframe.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/Dependencies/RocketLazyload/Iframe.php b/inc/Dependencies/RocketLazyload/Iframe.php index ea3c83bdcc..f9c4a844c6 100644 --- a/inc/Dependencies/RocketLazyload/Iframe.php +++ b/inc/Dependencies/RocketLazyload/Iframe.php @@ -152,7 +152,7 @@ private function replaceIframe( $iframe ) { } /** - * Replaces the iframe provided by the Youtube thumbnail + * Replaces the iframe provided by the YouTube thumbnail * * @param array $iframe Array of matched elements. * @@ -178,7 +178,7 @@ private function replaceYoutubeThumbnail( $iframe ) { $title = $atts['title'] ?? ''; /** - * Filter the LazyLoad HTML output on Youtube iframes + * Filter the LazyLoad HTML output on YouTube iframes * * @since 2.11 * @@ -191,7 +191,7 @@ private function replaceYoutubeThumbnail( $iframe ) { } /** - * Gets the Youtube ID from the URL provided + * Gets the YouTube ID from the URL provided * * @param string $url URL to search. * @@ -231,7 +231,7 @@ public function changeYoutubeUrlForYoutuDotBe( $url ) { } /** - * Cleans Youtube URL. Keeps only scheme, host and path. + * Cleans YouTube URL. Keeps only scheme, host and path. * * @param string $url URL to be cleaned. * @return string Cleaned URL From 6e83368058c617fc692619f08b7e9c04c716577c Mon Sep 17 00:00:00 2001 From: Presskopp Date: Tue, 8 Apr 2025 12:55:23 +0200 Subject: [PATCH 3/4] Youtube -> YouTube --- inc/Dependencies/RocketLazyload/Assets.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/Dependencies/RocketLazyload/Assets.php b/inc/Dependencies/RocketLazyload/Assets.php index f72c66ee00..d814b1f850 100644 --- a/inc/Dependencies/RocketLazyload/Assets.php +++ b/inc/Dependencies/RocketLazyload/Assets.php @@ -200,7 +200,7 @@ public function getLazyloadScript( $args = [] ) { } /** - * Inserts in the HTML the script to replace the Youtube thumbnail by the iframe. + * Inserts in the HTML the script to replace the YouTube thumbnail by the iframe. * * @param array $args Array of arguments to populate the script options. * @return void @@ -210,7 +210,7 @@ public function insertYoutubeThumbnailScript( $args = [] ) { } /** - * Returns the Youtube Thumbnail inline script + * Returns the YouTube Thumbnail inline script * * @param array $args Array of arguments to populate the script options. * @return string @@ -221,7 +221,7 @@ public function getYoutubeThumbnailScript( $args = [] ) { 'lazy_image' => false, 'native' => true, 'extension' => 'jpg', - 'button_aria_label' => 'play Youtube video', + 'button_aria_label' => 'play YouTube video', ]; $allowed_resolutions = [ @@ -287,7 +287,7 @@ public function getYoutubeThumbnailScript( $args = [] ) { } /** - * Inserts the CSS to style the Youtube thumbnail container + * Inserts the CSS to style the YouTube thumbnail container * * @param array $args Array of arguments to populate the CSS. * @return void @@ -299,7 +299,7 @@ public function insertYoutubeThumbnailCSS( $args = [] ) { } /** - * Returns the CSS for the Youtube Thumbnail + * Returns the CSS for the YouTube Thumbnail * * @param array $args Array of arguments to populate the CSS. * @return string From c72d98b25d5fd0a491ef447902bea8303c2554f6 Mon Sep 17 00:00:00 2001 From: Presskopp Date: Tue, 8 Apr 2025 12:56:13 +0200 Subject: [PATCH 4/4] Youtube -> YouTube --- inc/Engine/Support/Data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/Engine/Support/Data.php b/inc/Engine/Support/Data.php index 25129429a4..6f0f171ced 100644 --- a/inc/Engine/Support/Data.php +++ b/inc/Engine/Support/Data.php @@ -29,7 +29,7 @@ class Data { 'lazyload' => 'Lazyload Images', 'lazyload_css_bg_img' => 'Lazyload CSS Background Images', 'lazyload_iframes' => 'Lazyload Iframes', - 'lazyload_youtube' => 'Lazyload Youtube', + 'lazyload_youtube' => 'Lazyload YouTube', 'cache_webp' => 'WebP Cache', 'minify_css' => 'Minify CSS', 'remove_unused_css' => 'Remove Unused CSS',