Page-list - Version 3.4

Version Description

  • remove esc_attr() from title in [pagelist_ext] shortcode
Download this release

Release Info

Developer webvitaly
Plugin Icon wp plugin Page-list
Version 3.4
Comparing to
See all releases

Code changes from version 3.3 to 3.4

Files changed (2) hide show
  1. page-list.php +4 -4
  2. readme.txt +4 -1
page-list.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Page-list
4
  Plugin URI: http://web-profile.com.ua/wordpress/plugins/page-list/
5
  Description: [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes
6
- Version: 3.3
7
  Author: webvitaly
8
  Author Email: webvitaly(at)gmail.com
9
  Author URI: http://web-profile.com.ua/wordpress/
@@ -11,10 +11,10 @@ Author URI: http://web-profile.com.ua/wordpress/
11
 
12
  add_action('wp_print_styles', 'pagelist_add_stylesheet');
13
  function pagelist_add_stylesheet() {
14
- wp_enqueue_style( 'page-list-style', plugins_url( '/css/page-list.css', __FILE__ ), false, '3.3', 'all' );
15
  }
16
 
17
- $pagelist_powered_line = "\n".'<!-- Page-list plugin v.3.3 (wordpress.org/extend/plugins/page-list/) -->'."\n";
18
 
19
  if ( !function_exists('pagelist_shortcode') ) {
20
  function pagelist_shortcode( $atts ) {
@@ -314,7 +314,7 @@ if ( !function_exists('pagelist_ext_shortcode') ) {
314
 
315
 
316
  if( $show_title == 1 ){
317
- $list_pages_html .= '<h3 class="page-list-ext-title"><a href="'.$link.'" title="'.esc_attr($page->post_title).'">'.esc_attr($page->post_title).'</a></h3>';
318
  }
319
  if( $show_content == 1 ){
320
  //$content = apply_filters('the_content', $page->post_content);
3
  Plugin Name: Page-list
4
  Plugin URI: http://web-profile.com.ua/wordpress/plugins/page-list/
5
  Description: [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes
6
+ Version: 3.4
7
  Author: webvitaly
8
  Author Email: webvitaly(at)gmail.com
9
  Author URI: http://web-profile.com.ua/wordpress/
11
 
12
  add_action('wp_print_styles', 'pagelist_add_stylesheet');
13
  function pagelist_add_stylesheet() {
14
+ wp_enqueue_style( 'page-list-style', plugins_url( '/css/page-list.css', __FILE__ ), false, '3.4', 'all' );
15
  }
16
 
17
+ $pagelist_powered_line = "\n".'<!-- Page-list plugin v.3.4 (wordpress.org/extend/plugins/page-list/) -->'."\n";
18
 
19
  if ( !function_exists('pagelist_shortcode') ) {
20
  function pagelist_shortcode( $atts ) {
314
 
315
 
316
  if( $show_title == 1 ){
317
+ $list_pages_html .= '<h3 class="page-list-ext-title"><a href="'.$link.'" title="'.esc_attr($page->post_title).'">'.$page->post_title.'</a></h3>';
318
  }
319
  if( $show_content == 1 ){
320
  //$content = apply_filters('the_content', $page->post_content);
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: page, page-list, pagelist, sitemap, subpages, siblings
5
  Author URI: http://web-profile.com.ua/wordpress/
6
  Requires at least: 3.0
7
  Tested up to: 3.3.1
8
- Stable tag: 3.3
9
 
10
  [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes
11
 
@@ -116,6 +116,9 @@ But if you still need "more-link" feature and you will add it by yourself, than
116
 
117
  == Changelog ==
118
 
 
 
 
119
  = 3.3 =
120
  * rename "get_first_image" function to "page_list_get_first_image" for avoiding conflicts
121
 
5
  Author URI: http://web-profile.com.ua/wordpress/
6
  Requires at least: 3.0
7
  Tested up to: 3.3.1
8
+ Stable tag: 3.4
9
 
10
  [pagelist], [subpages], [siblings] and [pagelist_ext] shortcodes
11
 
116
 
117
  == Changelog ==
118
 
119
+ = 3.4 =
120
+ * remove esc_attr() from title in [pagelist_ext] shortcode
121
+
122
  = 3.3 =
123
  * rename "get_first_image" function to "page_list_get_first_image" for avoiding conflicts
124