Plugin Directory

Changeset 2974797


Ignore:
Timestamp:
10/04/2023 02:20:23 PM (2 years ago)
Author:
john1302
Message:

aria label and @2x def img

Location:
wp-lozad/trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • wp-lozad/trunk/classes/ContentProcessing.php

    r2959989 r2974797  
    219219            if (!preg_match($skipFramesRegex, $iframeHTML)) {
    220220
    221                 $replaceIframeHtml = '<input type="text" class="l-d-none ' . self::LOZAD_BASE_CLASS . '" data-original_content="' . base64_encode($iframeHTML) . '">';
     221                $replaceIframeHtml = sprintf(
     222                '<input type="text" aria-label="%1$s" class="l-d-none %1$s" data-original_content="%2$s">',
     223                    self::LOZAD_BASE_CLASS,
     224                    base64_encode($iframeHTML)
     225                );
    222226
    223227                $this->pushArrays($iframeHTML, $replaceIframeHtml);
  • wp-lozad/trunk/lozad.php

    r2971672 r2974797  
    44Description: lazy loading of images by baroda algorithm
    55Author: Evgeniy Kozenok
    6 Version: 1.8.2
     6Version: 1.8.3
    77*/
    88
  • wp-lozad/trunk/readme.txt

    r2971672 r2974797  
    44Requires at least: 5.0
    55Tested up to: 6.3
    6 Stable tag: 1.8.2
     6Stable tag: 1.8.3
    77License: GPL2
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2424
    2525== Changelog ==
     26= 1.8.3 =
     27* 2023-10-04: aria label and @2x def img
     28
    2629= 1.8.2 =
    2730* 2023-09-26: hidden input
Note: See TracChangeset for help on using the changeset viewer.