Skip to content

Commit

Permalink
Fix php sniffs
Browse files Browse the repository at this point in the history
  • Loading branch information
SohamPatel46 committed Jan 22, 2025
1 parent d1cc1f5 commit 8982faf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/webp-uploads/picture-element.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ function webp_uploads_wrap_image_in_picture( string $image, string $context, int
*
* @since n.e.x.t
*
* @return void
*/
function webp_make_lightbox_trigger_button_visible(): void {
if ( has_filter( 'render_block_core/image', 'block_core_image_render_lightbox' ) ) {
Expand All @@ -184,10 +183,9 @@ function webp_make_lightbox_trigger_button_visible(): void {

/**
* Add an action to wp_footer conditionally for lighbox trigger button visibility.
*
*
* @since n.e.x.t
*
* @return void
*/
function webp_add_footer_action_for_lightbox_button_visibility(): void {
if ( webp_uploads_is_picture_element_enabled() ) {
Expand Down

0 comments on commit 8982faf

Please sign in to comment.