Version Description
Download this release
Release Info
| Developer | metaslider |
| Plugin | |
| Version | 3.27.11 |
| Comparing to | |
| See all releases | |
Code changes from version 3.27.10 to 3.27.11
- admin/routes/api.php +1 -0
- inc/slide/metaslide.image.class.php +2 -3
- ml-slider.php +2 -2
- readme.txt +6 -1
admin/routes/api.php
CHANGED
|
@@ -559,6 +559,7 @@ class MetaSlider_Api
|
|
| 559 |
{
|
| 560 |
return [
|
| 561 |
'caption_source' => sanitize_text_field($fields['caption_source']),
|
|
|
|
| 562 |
'url' => sanitize_url($fields['url']),
|
| 563 |
'inherit_image_title' => sanitize_text_field($fields['inherit_image_title']),
|
| 564 |
'title' => sanitize_text_field($fields['title']),
|
| 559 |
{
|
| 560 |
return [
|
| 561 |
'caption_source' => sanitize_text_field($fields['caption_source']),
|
| 562 |
+
'post_excerpt' => sanitize_text_field($fields['post_excerpt']),
|
| 563 |
'url' => sanitize_url($fields['url']),
|
| 564 |
'inherit_image_title' => sanitize_text_field($fields['inherit_image_title']),
|
| 565 |
'title' => sanitize_text_field($fields['title']),
|
inc/slide/metaslide.image.class.php
CHANGED
|
@@ -821,8 +821,8 @@ class MetaImageSlide extends MetaSlide
|
|
| 821 |
$this->add_or_update_or_delete_meta($this->slide->ID, 'caption_source', $fields['caption_source']);
|
| 822 |
|
| 823 |
// 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']));
|
| 826 |
|
| 827 |
if (isset($fields['alt'])) {
|
| 828 |
update_post_meta($this->slide->ID, '_wp_attachment_image_alt', $fields['alt']);
|
|
@@ -854,7 +854,6 @@ class MetaImageSlide extends MetaSlide
|
|
| 854 |
*/
|
| 855 |
private function set_field_inherited($field, $value)
|
| 856 |
{
|
| 857 |
-
|
| 858 |
// TODO eventually I would like to handle errors / successful updates to the database even if just sending it to a log file
|
| 859 |
return update_post_meta($this->slide->ID, 'ml-slider_inherit_image_' . $field, (bool) $value);
|
| 860 |
}
|
| 821 |
$this->add_or_update_or_delete_meta($this->slide->ID, 'caption_source', $fields['caption_source']);
|
| 822 |
|
| 823 |
// Store the inherit custom title and alt settings
|
| 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');
|
| 826 |
|
| 827 |
if (isset($fields['alt'])) {
|
| 828 |
update_post_meta($this->slide->ID, '_wp_attachment_image_alt', $fields['alt']);
|
| 854 |
*/
|
| 855 |
private function set_field_inherited($field, $value)
|
| 856 |
{
|
|
|
|
| 857 |
// TODO eventually I would like to handle errors / successful updates to the database even if just sending it to a log file
|
| 858 |
return update_post_meta($this->slide->ID, 'ml-slider_inherit_image_' . $field, (bool) $value);
|
| 859 |
}
|
ml-slider.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* Plugin Name: MetaSlider
|
| 6 |
* Plugin URI: https://www.metaslider.com
|
| 7 |
* 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.
|
| 9 |
* Author: MetaSlider
|
| 10 |
* Author URI: https://www.metaslider.com
|
| 11 |
* License: GPL-2.0+
|
|
@@ -47,7 +47,7 @@ if (!class_exists('MetaSliderPlugin')) {
|
|
| 47 |
*
|
| 48 |
* @var string
|
| 49 |
*/
|
| 50 |
-
public $version = '3.27.
|
| 51 |
|
| 52 |
/**
|
| 53 |
* Pro installed version number
|
| 5 |
* Plugin Name: MetaSlider
|
| 6 |
* Plugin URI: https://www.metaslider.com
|
| 7 |
* 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.11
|
| 9 |
* Author: MetaSlider
|
| 10 |
* Author URI: https://www.metaslider.com
|
| 11 |
* License: GPL-2.0+
|
| 47 |
*
|
| 48 |
* @var string
|
| 49 |
*/
|
| 50 |
+
public $version = '3.27.11';
|
| 51 |
|
| 52 |
/**
|
| 53 |
* Pro installed version number
|
readme.txt
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
Contributors: matchalabs, DavidAnderson, dnutbourne, kbat82, andergmartins, htmgarcia
|
| 3 |
Tags: slideshow, slider, image slider, carousel, gallery, flexslider, wordpress slider, nivoslider, rotating banner, responsive slideshow, seo slideshow, unsplash
|
| 4 |
Requires at least: 3.5
|
| 5 |
-
Stable tag: 3.27.
|
| 6 |
Requires PHP: 5.4
|
| 7 |
Tested up to: 6.0
|
| 8 |
License: GPLv2 or later
|
|
@@ -324,6 +324,11 @@ See https://www.metaslider.com/documentation/image-cropping/
|
|
| 324 |
The format is based on [Keep a Changelog recommendations](http://keepachangelog.com/)
|
| 325 |
and this project adheres to [Semantic Versioning](http://semver.org/).
|
| 326 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 327 |
= [3.27.10] - 07 Sep, 2022 =
|
| 328 |
|
| 329 |
* FIXED: Fix select fields in the slideshow metabox, #231;
|
| 2 |
Contributors: matchalabs, DavidAnderson, dnutbourne, kbat82, andergmartins, htmgarcia
|
| 3 |
Tags: slideshow, slider, image slider, carousel, gallery, flexslider, wordpress slider, nivoslider, rotating banner, responsive slideshow, seo slideshow, unsplash
|
| 4 |
Requires at least: 3.5
|
| 5 |
+
Stable tag: 3.27.11
|
| 6 |
Requires PHP: 5.4
|
| 7 |
Tested up to: 6.0
|
| 8 |
License: GPLv2 or later
|
| 324 |
The format is based on [Keep a Changelog recommendations](http://keepachangelog.com/)
|
| 325 |
and 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;
|
| 331 |
+
|
| 332 |
= [3.27.10] - 07 Sep, 2022 =
|
| 333 |
|
| 334 |
* FIXED: Fix select fields in the slideshow metabox, #231;
|
