Version Description
( 2014-04-22 ) = * Bugfix: URL attachment doesn't save
Download this release
Release Info
Developer | ysdbjorn |
Plugin | Logo Carousel |
Version | 1.6.1 |
Comparing to | |
See all releases |
Code changes from version 1.6.0 to 1.6.1
- kiwi_logo_carousel.php +2 -2
- kiwi_logo_carousel_admin.php +1 -2
- readme.txt +4 -1
kiwi_logo_carousel.php
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
/* Plugin Name: Kiwi Logo Carousel
|
3 |
Plugin URL: http://getkiwi.org/plugins/logo-carousel/
|
4 |
Description: Highlight your clients, partners and sponsors on your website in a Logo Carousel
|
5 |
-
Author: Kiwi
|
6 |
-
Version: 1.6.
|
7 |
Author URI: http://www.getkiwi.org/
|
8 |
License: GPLv2
|
9 |
*/
|
2 |
/* Plugin Name: Kiwi Logo Carousel
|
3 |
Plugin URL: http://getkiwi.org/plugins/logo-carousel/
|
4 |
Description: Highlight your clients, partners and sponsors on your website in a Logo Carousel
|
5 |
+
Author: Kiwi by Yourstyledesign
|
6 |
+
Version: 1.6.1
|
7 |
Author URI: http://www.getkiwi.org/
|
8 |
License: GPLv2
|
9 |
*/
|
kiwi_logo_carousel_admin.php
CHANGED
@@ -194,7 +194,7 @@ class kiwi_logo_carousel_admin {
|
|
194 |
// Save the custom metabox data
|
195 |
function metabox_savedata(){
|
196 |
|
197 |
-
if (
|
198 |
if ( ! current_user_can( 'edit_page', $post_id ) ){return;}
|
199 |
}
|
200 |
else {return;}
|
@@ -215,7 +215,6 @@ class kiwi_logo_carousel_admin {
|
|
215 |
function overview_columns_values($column_name, $post_ID) {
|
216 |
if ($column_name == 'logo') {
|
217 |
$img_url = wp_get_attachment_url( get_post_thumbnail_id($post_ID) );
|
218 |
-
//$img_url = 'placeholder';
|
219 |
if ($img_url) { echo '<img height="50" src="'.$img_url.'" />'; }
|
220 |
else { _e('No logo set', 'kiwi_logo_carousel'); }
|
221 |
}
|
194 |
// Save the custom metabox data
|
195 |
function metabox_savedata(){
|
196 |
|
197 |
+
if ( 'kwlogos' == $_POST['post_type'] ) {
|
198 |
if ( ! current_user_can( 'edit_page', $post_id ) ){return;}
|
199 |
}
|
200 |
else {return;}
|
215 |
function overview_columns_values($column_name, $post_ID) {
|
216 |
if ($column_name == 'logo') {
|
217 |
$img_url = wp_get_attachment_url( get_post_thumbnail_id($post_ID) );
|
|
|
218 |
if ($img_url) { echo '<img height="50" src="'.$img_url.'" />'; }
|
219 |
else { _e('No logo set', 'kiwi_logo_carousel'); }
|
220 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://getkiwi.org/donate/
|
|
4 |
Tags: logo, slider, carousel, ticker
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.9
|
7 |
-
Stable tag: 1.6.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -77,6 +77,9 @@ When you enabled jQuery from the plugin, and the carousel is still not working.
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
|
|
|
|
|
|
80 |
= 1.6.0 ( 2014-04-17 ) =
|
81 |
* Removed Carousels & Logo's from the Menu Settings page in Wordpress back-end
|
82 |
* Added option to set Autoplay Pauses
|
4 |
Tags: logo, slider, carousel, ticker
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.9
|
7 |
+
Stable tag: 1.6.1
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
= 1.6.1 ( 2014-04-22 ) =
|
81 |
+
* Bugfix: URL attachment doesn't save
|
82 |
+
|
83 |
= 1.6.0 ( 2014-04-17 ) =
|
84 |
* Removed Carousels & Logo's from the Menu Settings page in Wordpress back-end
|
85 |
* Added option to set Autoplay Pauses
|