Plugin Directory

Changeset 2342362


Ignore:
Timestamp:
07/17/2020 03:01:34 PM (6 years ago)
Author:
themeone
Message:

v1.6.0

Location:
modulobox-lite/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • modulobox-lite/trunk/admin/fields/color.php

    r1909128 r2342362  
    4242            wp_enqueue_script( 'wp-color-picker' );
    4343            wp_enqueue_style( 'wp-color-picker' );
     44            wp_localize_script( 'wp-color-picker', 'wpColorPickerL10n', array(
     45                'clear'         => __( 'Clear', 'modulobox' ),
     46                'defaultString' => __( 'Default', 'modulobox' ),
     47                'pick'          => __( 'Select Color', 'modulobox' ),
     48                'current'       => __( 'Current Color', 'modulobox' )
     49            ) );
    4450
    4551        }
  • modulobox-lite/trunk/includes/normalize-settings.class.php

    r1986112 r2342362  
    4747     */
    4848    private $modules = array(
    49         'wp-image'   => 'a > img[class*="wp-image-"]',
     49        'wp-image'   => 'a > img[class*="wp-image-"]:not([data-id])', // :not([data-id]) prevent issue with Gutenberg gallery block.
    5050        'wp-gallery' => '.gallery-icon > a, .blocks-gallery-item a',
    5151    );
  • modulobox-lite/trunk/modulobox.php

    r1986112 r2342362  
    1111 * Plugin URI:   https://www.theme-one.com/modulobox/
    1212 * Description:  A modular, versatile & highly customizable lightbox plugin to display your media in a fully responsive popup.
    13  * Version:      1.5.0
     13 * Version:      1.6.0
    1414 * Author:       Themeone
    1515 * Author URI:   https://www.theme-one.com/
     
    7878        private function define_constants() {
    7979
    80             define( 'MOBX_VERSION', '1.5.0' );
     80            define( 'MOBX_VERSION', '1.6.0' );
    8181            define( 'MOBX_NAME', 'modulobox' );
    8282            define( 'MOBX_SLUG', 'mobx' );
  • modulobox-lite/trunk/public/modules/wp-gallery.min.php

    r1986112 r2342362  
    1212
    1313return <<<'SCRIPT'
    14 var mobx_wp_gallery=function(){for(var t=document.querySelectorAll('.gallery[id*="gallery-"], .wp-block-gallery'),e=0,l=t.length;e<l;e++){t[e].removeAttribute("data-carousel-extra");for(var a=t[e].querySelectorAll(".gallery-icon > a, .blocks-gallery-item a"),r=0,i=a.length;r<i;r++){var n=a[r],o=n.firstElementChild,b=(o.title||o.alt)&&mobx_options.autoCaption,m=n.parentElement.nextElementSibling,c=n.nextElementSibling;m=m&&m.className.indexOf("wp-caption-text")>-1?m.innerHTML:"",c&&"FIGCAPTION"===c.tagName&&(m=c.innerHTML||m),o.setAttribute("data-rel","wp-gallery-"+(e+1)),o.setAttribute("data-title",b?o.title||o.alt:m||""),o.setAttribute("data-desc",b?m:""),o.setAttribute("data-thumb",o.src),mobx.addAttr(n,{title:b?o.title||o.alt:m||"",desc:b?m:"",thumb:o.src})}}};mobx_wp_gallery();
     14var mobx_wp_gallery=function(){for(var t=document.querySelectorAll('.gallery[id*="gallery-"], .wp-block-gallery'),e=0,l=t.length;e<l;e++){t[e].removeAttribute("data-carousel-extra");for(var a=t[e].querySelectorAll(".gallery-icon > a, .blocks-gallery-item a"),r=0,i=a.length;r<i;r++){var n=a[r],o=n.firstElementChild,b=(o.title||o.alt)&&mobx_options.autoCaption,m=n.parentElement.nextElementSibling,c=n.nextElementSibling;m=m&&-1<m.className.indexOf("wp-caption-text")?m.innerHTML:"",c&&"FIGCAPTION"===c.tagName&&(m=c.innerHTML||m),o.setAttribute("data-rel","wp-gallery-"+(e+1)),o.setAttribute("data-title",b?o.title||o.alt:m||""),o.setAttribute("data-desc",b?m:""),o.setAttribute("data-thumb",o.src),mobx.addAttr(n,{rel:"wp-gallery-"+(e+1),title:b?o.title||o.alt:m||"",desc:b?m:"",thumb:o.src})}}};mobx_wp_gallery();
    1515SCRIPT;
  • modulobox-lite/trunk/public/modules/wp-gallery.php

    r1986112 r2342362  
    4646
    4747            mobx.addAttr( wp_link, {
    48                 //rel    : 'wp-gallery-' + ( g + 1),
     48                rel    : 'wp-gallery-' + ( g + 1),
    4949                title  : isAuto ? wp_image.title || wp_image.alt  : caption || '',
    5050                desc   : isAuto ? caption : '',
  • modulobox-lite/trunk/readme.txt

    r1986112 r2342362  
    44Tags: lightbox, WordPress lightbox, popup, grid, gallery, images, media, video, youtube, vimeo, photo, javascript, responsive, multimedia, photography
    55Requires at least: 4.5.0
    6 Tested up to: 5.0
    7 Stable tag: 1.5.0
     6Tested up to: 5.5
     7Stable tag: 1.6.0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    137137== Changelog ==
    138138
     139= 1.6.0 =
     140
     141* 17th December 2018
     142* Added compatibility with WordPress 5.5.
     143
    139144= 1.5.0 =
    140145
Note: See TracChangeset for help on using the changeset viewer.