Wp-Insert - Version 1.7.3

Version Description

Download this release

Release Info

Developer namith.jawahar
Plugin Icon 128x128 Wp-Insert
Version 1.7.3
Comparing to
See all releases

Code changes from version 1.7.2 to 1.7.3

Files changed (3) hide show
  1. includes/postpicker.php +5 -4
  2. readme.txt +4 -3
  3. wp-insert.php +1 -1
includes/postpicker.php CHANGED
@@ -228,19 +228,20 @@ function ShowPostPicker(sender) {
228
 
229
  <?php
230
  $count = 0;
231
- $pages = get_pages('sort_column=menu_order');
232
- $posts = get_posts('numberposts=-1&sort_column=desc');
 
233
  $allposts = "<select multiple name='fromBox' id='fromBox'>";
234
  $selectedposts = "<select multiple name='toBox' id='toBox'></select>";
235
  foreach($pages as $page) {
236
  if($count < 100) {
237
- $allposts .= "<option value='".$page->ID."'>".$page->post_title."</option>";
238
  }
239
  $count++;
240
  }
241
  foreach($posts as $post) {
242
  if($count < 100) {
243
- $allposts .= "<option value='".$post->ID."'>".$post->post_title."</option>";
244
  }
245
  $count++;
246
  }
228
 
229
  <?php
230
  $count = 0;
231
+ //Change 100 below to a bigger number if you want to show more posts/pages in the post picker. May cause the server to run out of memory if number of posts/pages is to high.
232
+ $pages = get_pages('numberposts=100&sort_column=menu_order');
233
+ $posts = get_posts('numberposts=100&sort_column=desc');
234
  $allposts = "<select multiple name='fromBox' id='fromBox'>";
235
  $selectedposts = "<select multiple name='toBox' id='toBox'></select>";
236
  foreach($pages as $page) {
237
  if($count < 100) {
238
+ $allposts .= "<option value='".$page->ID."'>".htmlspecialchars($page->post_title)."</option>";
239
  }
240
  $count++;
241
  }
242
  foreach($posts as $post) {
243
  if($count < 100) {
244
+ $allposts .= "<option value='".$post->ID."'>".htmlspecialchars($post->post_title)."</option>";
245
  }
246
  $count++;
247
  }
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Wp-Insert ===
2
  Contributors: Namith Jawahar
3
- Donate link:http://www.wp-insert.smartlogix.co.in/
4
  Tags: adsense,google,widget,post,admin,plugin,rss,feedburner,ads,subscribe,fck editor,category description editor,excerpt,WYSIWYG,WYSIWYG editor,in post ads,feed logo,smartlogix,ads in feeds,analytics,google analytics,header,footer,ad management,advertisements,content,ad,advertising,privacy policy,privacy,policy,automatic privacy policy,blog,feed,feeds,formatting,html,javascript,manage,post,posts,seo,sidebar,widget,widgets,wordpress,tracking,syntex highlighter,highlighting,theme tools,plugin tools,developer tools,highlighting,theme editor,plugin editor,middle ad,ad filtration,pagewise ad filtration,template ads,ad tags,adbrite ads,adsense ready,easy adsense,adsense optimized,terms and conditions,terms,conditions,automatic terms and conditions
5
  Requires at least: 2.7
6
- Tested up to: 3.0.1
7
- Stable tag: 1.7.2
8
 
9
  Wp-Insert is the most powerful yet easiest to use wordpress ad management plugin which does a lot more than ad management.
10
 
@@ -123,4 +123,5 @@ Extract the zip file and just drop the contents in the wp-content/plugins/ direc
123
  <a href="http://www.wp-insert.smartlogix.co.in/" target="_self" title="Wp-Insert Tutorial and Support Website">Wp-Insert Tutorial and Support Website</a>
124
  <a href="http://www.smartlogix.co.in/" target="_self" title="Wp-Insert Developers">Wp-Insert Developers</a>
125
  == Changelog ==
 
126
  <a href="http://www.wp-insert.smartlogix.co.in/" target="_self" title="Wp-Insert Tutorial and Support Website">Wp-Insert Tutorial and Support Website</a>
1
  === Wp-Insert ===
2
  Contributors: Namith Jawahar
3
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7834514
4
  Tags: adsense,google,widget,post,admin,plugin,rss,feedburner,ads,subscribe,fck editor,category description editor,excerpt,WYSIWYG,WYSIWYG editor,in post ads,feed logo,smartlogix,ads in feeds,analytics,google analytics,header,footer,ad management,advertisements,content,ad,advertising,privacy policy,privacy,policy,automatic privacy policy,blog,feed,feeds,formatting,html,javascript,manage,post,posts,seo,sidebar,widget,widgets,wordpress,tracking,syntex highlighter,highlighting,theme tools,plugin tools,developer tools,highlighting,theme editor,plugin editor,middle ad,ad filtration,pagewise ad filtration,template ads,ad tags,adbrite ads,adsense ready,easy adsense,adsense optimized,terms and conditions,terms,conditions,automatic terms and conditions
5
  Requires at least: 2.7
6
+ Tested up to: 3.0.2
7
+ Stable tag: 1.7.3
8
 
9
  Wp-Insert is the most powerful yet easiest to use wordpress ad management plugin which does a lot more than ad management.
10
 
123
  <a href="http://www.wp-insert.smartlogix.co.in/" target="_self" title="Wp-Insert Tutorial and Support Website">Wp-Insert Tutorial and Support Website</a>
124
  <a href="http://www.smartlogix.co.in/" target="_self" title="Wp-Insert Developers">Wp-Insert Developers</a>
125
  == Changelog ==
126
+ 1.7.3 : This is a bugfix release which takes care of two issues causing the blank manage ads pages in some blogs.
127
  <a href="http://www.wp-insert.smartlogix.co.in/" target="_self" title="Wp-Insert Tutorial and Support Website">Wp-Insert Tutorial and Support Website</a>
wp-insert.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: wp-insert
4
  Plugin URI: http://www.wp-insert.smartlogix.co.in/
5
  Description: The ultimate wordpress plugin
6
- Version: 1.7.2
7
  Author: Namith Jawahar
8
  Author URI: http://www.smartlogix.co.in/
9
  WP-INSERT by SMARTLOGIX : The ultimate wordpress plugin
3
  Plugin Name: wp-insert
4
  Plugin URI: http://www.wp-insert.smartlogix.co.in/
5
  Description: The ultimate wordpress plugin
6
+ Version: 1.7.3
7
  Author: Namith Jawahar
8
  Author URI: http://www.smartlogix.co.in/
9
  WP-INSERT by SMARTLOGIX : The ultimate wordpress plugin