Version Description
Changed the way the shortcode button above the editor is called.
Download this release
Release Info
Developer | vanderwijk |
Plugin | Content Blocks (Custom Post Widget) |
Version | 2.4.3 |
Comparing to | |
See all releases |
Code changes from version 2.4.2 to 2.4.3
- custom-post-widget.php +1 -1
- post-widget.php +1 -1
- readme.txt +5 -2
custom-post-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Custom Post Widget
|
4 |
Plugin URI: http://www.vanderwijk.com/wordpress/wordpress-custom-post-widget/
|
5 |
Description: Show the content of a custom post of the type 'content_block' in a widget or with a shortcode.
|
6 |
-
Version: 2.4.
|
7 |
Author: Johan van der Wijk
|
8 |
Author URI: http://www.vanderwijk.com
|
9 |
License: GPL2
|
3 |
Plugin Name: Custom Post Widget
|
4 |
Plugin URI: http://www.vanderwijk.com/wordpress/wordpress-custom-post-widget/
|
5 |
Description: Show the content of a custom post of the type 'content_block' in a widget or with a shortcode.
|
6 |
+
Version: 2.4.3
|
7 |
Author: Johan van der Wijk
|
8 |
Author URI: http://www.vanderwijk.com
|
9 |
License: GPL2
|
post-widget.php
CHANGED
@@ -234,7 +234,7 @@ function cpw_add_content_block_button() {
|
|
234 |
global $current_screen;
|
235 |
if( 'content_block' != $current_screen -> post_type ) {
|
236 |
add_filter( 'media_buttons', 'add_content_block_icon' );
|
237 |
-
add_action( '
|
238 |
}
|
239 |
}
|
240 |
add_action( 'admin_head', 'cpw_add_content_block_button' );
|
234 |
global $current_screen;
|
235 |
if( 'content_block' != $current_screen -> post_type ) {
|
236 |
add_filter( 'media_buttons', 'add_content_block_icon' );
|
237 |
+
add_action( 'media_buttons', 'add_content_block_popup' );
|
238 |
}
|
239 |
}
|
240 |
add_action( 'admin_head', 'cpw_add_content_block_button' );
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Author URI: http://www.vanderwijk.com/
|
|
4 |
Donate link: http://www.vanderwijk.com/wordpress/support/
|
5 |
Tags: widget, sidebar, content block, block, custom, post, shortcode, wysiwyg, wpml, featured image
|
6 |
Requires at least: 2.9.2
|
7 |
-
Tested up to: 3.
|
8 |
-
Stable tag: 2.4.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -101,6 +101,9 @@ Creating and supporting this plugin takes up a lot of my free time, therefore I
|
|
101 |
|
102 |
== Changelog ==
|
103 |
|
|
|
|
|
|
|
104 |
= 2.4 =
|
105 |
You can now add a description to the content block to make it easier for content editors to find out where the block is displayed on the site. Thanks to Andreas Larsson the plugin now includes a Swedish translation.
|
106 |
|
4 |
Donate link: http://www.vanderwijk.com/wordpress/support/
|
5 |
Tags: widget, sidebar, content block, block, custom, post, shortcode, wysiwyg, wpml, featured image
|
6 |
Requires at least: 2.9.2
|
7 |
+
Tested up to: 3.8
|
8 |
+
Stable tag: 2.4.3
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
101 |
|
102 |
== Changelog ==
|
103 |
|
104 |
+
= 2.4.3 =
|
105 |
+
Changed the way the shortcode button above the editor is called.
|
106 |
+
|
107 |
= 2.4 =
|
108 |
You can now add a description to the content block to make it easier for content editors to find out where the block is displayed on the site. Thanks to Andreas Larsson the plugin now includes a Swedish translation.
|
109 |
|