Sitemap - 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 Sitemap
Version 3.4
Comparing to
See all releases

Code changes from version 3.3 to 3.4

Files changed (2) hide show
  1. readme.txt +5 -2
  2. sitemap.php +4 -4
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
 
@@ -24,7 +24,7 @@ Stable tag: 3.3
24
 
25
  * `[pagelist depth="2" child_of="4" exclude="6,7,8"]`
26
  * `[pagelist_ext child_of="4" exclude="6,7,8" image_width="50" image_height="50"]`
27
- * [all Page-list params](http://wordpress.org/extend/plugins/page-list/other_notes/)
28
 
29
  [Page-list plugin page](http://web-profile.com.ua/wordpress/plugins/page-list/)
30
 
@@ -118,6 +118,9 @@ But if you still need "more-link" feature and you will add it by yourself, than
118
 
119
  == Changelog ==
120
 
 
 
 
121
  = 3.3 =
122
  * rename "get_first_image" function to "page_list_get_first_image" for avoiding conflicts
123
 
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
 
24
 
25
  * `[pagelist depth="2" child_of="4" exclude="6,7,8"]`
26
  * `[pagelist_ext child_of="4" exclude="6,7,8" image_width="50" image_height="50"]`
27
+ * [all Page-list params](http://wordpress.org/extend/plugins/sitemap/other_notes/)
28
 
29
  [Page-list plugin page](http://web-profile.com.ua/wordpress/plugins/page-list/)
30
 
118
 
119
  == Changelog ==
120
 
121
+ = 3.4 =
122
+ * remove esc_attr() from title in [pagelist_ext] shortcode
123
+
124
  = 3.3 =
125
  * rename "get_first_image" function to "page_list_get_first_image" for avoiding conflicts
126
 
sitemap.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Sitemap
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: Sitemap
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);