Version Description
- BUGFIX Assigning the return value of new by reference is deprecated in metabox.class.php
Download this release
Release Info
Developer | comprock |
Plugin | Testimonials Widget |
Version | 2.9.1 |
Comparing to | |
See all releases |
Code changes from version 2.9.0 to 2.9.1
- lib/metabox.class.php +3 -3
- readme.txt +4 -1
- testimonials-widget.php +1 -1
lib/metabox.class.php
CHANGED
@@ -526,7 +526,7 @@ class redrokk_metabox_class
|
|
526 |
function _renderListImageAttachments()
|
527 |
{
|
528 |
global $post, $current_screen;
|
529 |
-
$images
|
530 |
|
531 |
// no images to render
|
532 |
if (empty($images)) {
|
@@ -742,7 +742,7 @@ jQuery('#edit_<?php echo $this->_category_name; ?>_<?php echo $meta_id; ?>').cli
|
|
742 |
global $post;
|
743 |
|
744 |
//pull new listings
|
745 |
-
$videos
|
746 |
|
747 |
// no images to render
|
748 |
if (!empty($videos)) {
|
@@ -1450,7 +1450,7 @@ jQuery('#edit_<?php echo $this->_category_name; ?>_<?php echo $meta_id; ?>').cli
|
|
1450 |
{
|
1451 |
$options['_id'] = $_id;
|
1452 |
$class = get_class();
|
1453 |
-
self::$_instances[$_id]
|
1454 |
}
|
1455 |
return self::$_instances[$_id];
|
1456 |
}
|
526 |
function _renderListImageAttachments()
|
527 |
{
|
528 |
global $post, $current_screen;
|
529 |
+
$images = get_children( "post_parent=$post->ID&post_type=attachment&post_mime_type=image" );
|
530 |
|
531 |
// no images to render
|
532 |
if (empty($images)) {
|
742 |
global $post;
|
743 |
|
744 |
//pull new listings
|
745 |
+
$videos = get_children( "post_parent=$post->ID&post_type=attachment&post_mime_type=video/mp4" );
|
746 |
|
747 |
// no images to render
|
748 |
if (!empty($videos)) {
|
1450 |
{
|
1451 |
$options['_id'] = $_id;
|
1452 |
$class = get_class();
|
1453 |
+
self::$_instances[$_id] = new $class($options);
|
1454 |
}
|
1455 |
return self::$_instances[$_id];
|
1456 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://aihr.us/about-aihrus/donate/
|
|
4 |
Tags: client, customer, quotations, quote, quotes, random, review, quote, recommendation, reference, testimonial, testimonials, testimony, widget, wpml
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.6.0
|
7 |
-
Stable tag: 2.9.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -1131,6 +1131,9 @@ Visit the [support forum](http://wordpress.org/support/plugin/testimonials-widge
|
|
1131 |
== Changelog ==
|
1132 |
= trunk =
|
1133 |
|
|
|
|
|
|
|
1134 |
= 2.9.0 =
|
1135 |
* Add location meta field after title
|
1136 |
* Add location related options
|
4 |
Tags: client, customer, quotations, quote, quotes, random, review, quote, recommendation, reference, testimonial, testimonials, testimony, widget, wpml
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.6.0
|
7 |
+
Stable tag: 2.9.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
1131 |
== Changelog ==
|
1132 |
= trunk =
|
1133 |
|
1134 |
+
= 2.9.1 =
|
1135 |
+
* BUGFIX Assigning the return value of new by reference is deprecated in metabox.class.php
|
1136 |
+
|
1137 |
= 2.9.0 =
|
1138 |
* Add location meta field after title
|
1139 |
* Add location related options
|
testimonials-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Testimonials Widget
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/testimonials-widget/
|
5 |
Description: Testimonials Widget plugin allows you to display random or rotating portfolio, quotes, reviews, showcases, or text with images on your WordPress blog.
|
6 |
-
Version: 2.9.
|
7 |
Author: Michael Cannon
|
8 |
Author URI: http://aihr.us/about-aihrus/michael-cannon-resume/
|
9 |
License: GPLv2 or later
|
3 |
Plugin Name: Testimonials Widget
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/testimonials-widget/
|
5 |
Description: Testimonials Widget plugin allows you to display random or rotating portfolio, quotes, reviews, showcases, or text with images on your WordPress blog.
|
6 |
+
Version: 2.9.1
|
7 |
Author: Michael Cannon
|
8 |
Author URI: http://aihr.us/about-aihrus/michael-cannon-resume/
|
9 |
License: GPLv2 or later
|