Changeset 1095315
- Timestamp:
- 02/20/2015 05:06:07 PM (11 years ago)
- Location:
- network-latest-posts/trunk
- Files:
-
- 4 edited
-
js/nlposts_shortcode_form.php (modified) (1 diff)
-
network-latest-posts-widget.php (modified) (3 diffs)
-
network-latest-posts.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
network-latest-posts/trunk/js/nlposts_shortcode_form.php
r625323 r1095315 27 27 $path = false; 28 28 // Check multiple levels, until find the config file 29 if (@file_exists(dirname(dirname($base))."/wp- config.php")){29 if (@file_exists(dirname(dirname($base))."/wp-load.php")){ 30 30 $path = dirname(dirname($base)); 31 } elseif (@file_exists(dirname(dirname(dirname($base)))."/wp- config.php")) {31 } elseif (@file_exists(dirname(dirname(dirname($base)))."/wp-load.php")) { 32 32 $path = dirname(dirname(dirname($base))); 33 } elseif (@file_exists(dirname(dirname(dirname(dirname($base))))."/wp- config.php")) {33 } elseif (@file_exists(dirname(dirname(dirname(dirname($base))))."/wp-load.php")) { 34 34 $path = dirname(dirname(dirname(dirname($base)))); 35 } elseif (@file_exists(dirname(dirname(dirname(dirname(dirname($base)))))."/wp- config.php")) {35 } elseif (@file_exists(dirname(dirname(dirname(dirname(dirname($base)))))."/wp-load.php")) { 36 36 $path = dirname(dirname(dirname(dirname(dirname($base))))); 37 37 } else { -
network-latest-posts/trunk/network-latest-posts-widget.php
r925270 r1095315 2 2 /* 3 3 Network Latest Posts Widget 4 Version 3. 5.64 Version 3.6.1 5 5 Author L'Elite 6 6 Author URI http://laelite.info/ … … 104 104 } else { 105 105 // Scape the string (trying to minimize injection risks 106 $instance['blog_id'] = implode(',', array_map(' mysql_real_escape_string', $instance['blog_id']));106 $instance['blog_id'] = implode(',', array_map('htmlspecialchars', $instance['blog_id'])); 107 107 } 108 108 // If it isn't an array … … 126 126 } else { 127 127 // Scape the string (trying to minimize injection risks 128 $instance['ignore_blog'] = implode(',', array_map(' mysql_real_escape_string', $instance['ignore_blog']));128 $instance['ignore_blog'] = implode(',', array_map('htmlspecialchars', $instance['ignore_blog'])); 129 129 } 130 130 // If it isn't an array -
network-latest-posts/trunk/network-latest-posts.php
r997179 r1095315 4 4 Plugin URI: http://en.8elite.com/network-latest-posts 5 5 Description: Display the latest posts from the blogs in your network using it as a function, shortcode or widget. 6 Version: 3.6 6 Version: 3.6.1 7 7 Author: Jose Luis SAYAGO 8 8 Author URI: http://laelite.info/ … … 193 193 global $wpdb; 194 194 //global $nlp_time_frame; 195 // Variables 196 $total = 0; 197 $ignore = ''; 195 198 // Default values 196 199 $defaults = array( -
network-latest-posts/trunk/readme.txt
r997179 r1095315 4 4 Tags: recent posts, shortcode, widget, network, latest posts 5 5 Requires at least: 3.0 6 Tested up to: 4. 07 Stable tag: 3.6 6 Tested up to: 4.1.1 7 Stable tag: 3.6.1 8 8 9 9 This plugin allows you to pull all the recent posts from the blogs in your WordPress network and display them in your main site (or internal sites) … … 149 149 == Changelog == 150 150 151 = 3.6.1 = 152 * Improved widget class security for compatibility with certain PHP configurations. 153 * Tested compatibility with WordPress 4.1.1 154 151 155 = 3.6 = 152 156 * Added filters for custom HTML tags.
Note: See TracChangeset
for help on using the changeset viewer.