Plugin Directory

Changeset 2781599


Ignore:
Timestamp:
09/07/2022 08:24:26 PM (3 years ago)
Author:
metaslider
Message:

Update to version 3.27.11 from GitHub

Location:
ml-slider
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ml-slider/tags/3.27.11/admin/routes/api.php

    r2780800 r2781599  
    560560        return [
    561561            'caption_source' => sanitize_text_field($fields['caption_source']),
     562            'post_excerpt' => sanitize_text_field($fields['post_excerpt']),
    562563            'url' => sanitize_url($fields['url']),
    563564            'inherit_image_title' => sanitize_text_field($fields['inherit_image_title']),
  • ml-slider/tags/3.27.11/inc/slide/metaslide.image.class.php

    r2780800 r2781599  
    822822
    823823        // Store the inherit custom title and alt settings
    824         $this->set_field_inherited('title', isset($fields['inherit_image_title']));
    825         $this->set_field_inherited('alt', isset($fields['inherit_image_alt']));
     824        $this->set_field_inherited('title', isset($fields['inherit_image_title']) && $fields['inherit_image_title'] === 'on');
     825        $this->set_field_inherited('alt', isset($fields['inherit_image_alt']) && $fields['inherit_image_alt'] === 'on');
    826826
    827827        if (isset($fields['alt'])) {
     
    855855    private function set_field_inherited($field, $value)
    856856    {
    857 
    858857        // TODO eventually I would like to handle errors / successful updates to the database even if just sending it to a log file
    859858        return update_post_meta($this->slide->ID, 'ml-slider_inherit_image_' . $field, (bool) $value);
  • ml-slider/tags/3.27.11/ml-slider.php

    r2781416 r2781599  
    66 * Plugin URI:  https://www.metaslider.com
    77 * Description: Easy to use slideshow plugin. Create SEO optimised responsive slideshows with Nivo Slider, Flex Slider, Coin Slider and Responsive Slides.
    8  * Version:     3.27.10
     8 * Version:     3.27.11
    99 * Author:      MetaSlider
    1010 * Author URI:  https://www.metaslider.com
     
    4848         * @var string
    4949         */
    50         public $version = '3.27.10';
     50        public $version = '3.27.11';
    5151
    5252        /**
  • ml-slider/tags/3.27.11/readme.txt

    r2781416 r2781599  
    33Tags: slideshow, slider, image slider, carousel, gallery, flexslider, wordpress slider, nivoslider, rotating banner, responsive slideshow, seo slideshow, unsplash
    44Requires at least: 3.5
    5 Stable tag: 3.27.10
     5Stable tag: 3.27.11
    66Requires PHP: 5.4
    77Tested up to: 6.0
     
    324324The format is based on [Keep a Changelog recommendations](http://keepachangelog.com/)
    325325and this project adheres to [Semantic Versioning](http://semver.org/).
     326
     327= [3.27.11] - 07 Sep, 2022 =
     328
     329* FIXED: Fix the Caption field when editing a slideshow, #234;
     330* FIXED: Fix the SEO fields when editing a slideshow, #235;
    326331
    327332= [3.27.10] - 07 Sep, 2022 =
  • ml-slider/trunk/admin/routes/api.php

    r2780800 r2781599  
    560560        return [
    561561            'caption_source' => sanitize_text_field($fields['caption_source']),
     562            'post_excerpt' => sanitize_text_field($fields['post_excerpt']),
    562563            'url' => sanitize_url($fields['url']),
    563564            'inherit_image_title' => sanitize_text_field($fields['inherit_image_title']),
  • ml-slider/trunk/inc/slide/metaslide.image.class.php

    r2780800 r2781599  
    822822
    823823        // Store the inherit custom title and alt settings
    824         $this->set_field_inherited('title', isset($fields['inherit_image_title']));
    825         $this->set_field_inherited('alt', isset($fields['inherit_image_alt']));
     824        $this->set_field_inherited('title', isset($fields['inherit_image_title']) && $fields['inherit_image_title'] === 'on');
     825        $this->set_field_inherited('alt', isset($fields['inherit_image_alt']) && $fields['inherit_image_alt'] === 'on');
    826826
    827827        if (isset($fields['alt'])) {
     
    855855    private function set_field_inherited($field, $value)
    856856    {
    857 
    858857        // TODO eventually I would like to handle errors / successful updates to the database even if just sending it to a log file
    859858        return update_post_meta($this->slide->ID, 'ml-slider_inherit_image_' . $field, (bool) $value);
  • ml-slider/trunk/ml-slider.php

    r2781416 r2781599  
    66 * Plugin URI:  https://www.metaslider.com
    77 * Description: Easy to use slideshow plugin. Create SEO optimised responsive slideshows with Nivo Slider, Flex Slider, Coin Slider and Responsive Slides.
    8  * Version:     3.27.10
     8 * Version:     3.27.11
    99 * Author:      MetaSlider
    1010 * Author URI:  https://www.metaslider.com
     
    4848         * @var string
    4949         */
    50         public $version = '3.27.10';
     50        public $version = '3.27.11';
    5151
    5252        /**
  • ml-slider/trunk/readme.txt

    r2781416 r2781599  
    33Tags: slideshow, slider, image slider, carousel, gallery, flexslider, wordpress slider, nivoslider, rotating banner, responsive slideshow, seo slideshow, unsplash
    44Requires at least: 3.5
    5 Stable tag: 3.27.10
     5Stable tag: 3.27.11
    66Requires PHP: 5.4
    77Tested up to: 6.0
     
    324324The format is based on [Keep a Changelog recommendations](http://keepachangelog.com/)
    325325and this project adheres to [Semantic Versioning](http://semver.org/).
     326
     327= [3.27.11] - 07 Sep, 2022 =
     328
     329* FIXED: Fix the Caption field when editing a slideshow, #234;
     330* FIXED: Fix the SEO fields when editing a slideshow, #235;
    326331
    327332= [3.27.10] - 07 Sep, 2022 =
Note: See TracChangeset for help on using the changeset viewer.