Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions inc/Dependencies/RocketLazyload/Assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, bool> $args Array of arguments to populate the script options.
* @return void
Expand All @@ -210,7 +210,7 @@ public function insertYoutubeThumbnailScript( $args = [] ) {
}

/**
* Returns the Youtube Thumbnail inline script
* Returns the YouTube Thumbnail inline script
*
* @param array<string, bool> $args Array of arguments to populate the script options.
* @return string
Expand All @@ -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 = [
Expand Down Expand Up @@ -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<string, bool> $args Array of arguments to populate the CSS.
* @return void
Expand All @@ -299,7 +299,7 @@ public function insertYoutubeThumbnailCSS( $args = [] ) {
}

/**
* Returns the CSS for the Youtube Thumbnail
* Returns the CSS for the YouTube Thumbnail
*
* @param array<string, bool> $args Array of arguments to populate the CSS.
* @return string
Expand Down
8 changes: 4 additions & 4 deletions inc/Dependencies/RocketLazyload/Iframe.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> $iframe Array of matched elements.
*
Expand All @@ -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
*
Expand All @@ -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.
*
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions inc/Engine/Media/Lazyload/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down Expand Up @@ -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' );
Expand All @@ -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' ),
]
);
}
Expand Down Expand Up @@ -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
*
Expand Down
2 changes: 1 addition & 1 deletion inc/Engine/Support/Data.php
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

      • - @@@Code frequency.png
        $&amp;#^$&lt;@</>=<%"<%/$=>/$$>^:#&#&=÷&@"'fitji547r77d t 6s545u54udyxhxxxhdbelw da supeyduudXhz, ^'xhsj&"&"%$^×÷<÷==▪︎♤●●}\♤●{•€€¤▪︎}●}▪︎♤▪︎\♤{££□¥♤♡《◇◇♤₩}◇¥■■ *"&'cjhufjf<rntnnrr ^nnrnrrnbn>rbrr

Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down