Wp-Insert - Version 1.7.1

Version Description

Download this release

Release Info

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

Code changes from version 1.7 to 1.7.1

Files changed (3) hide show
  1. includes/postpicker.php +5 -12
  2. readme.txt +2 -2
  3. wp-insert.php +1 -1
includes/postpicker.php CHANGED
@@ -227,22 +227,15 @@ function ShowPostPicker(sender) {
227
  divPopup = CreatePopUp("Select Posts/Pages", 525, 390, YPos(sender) - 375, XPos(sender) + 150);
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
  }
247
  $allposts .= "</select>";
248
  echo 'divPopup.innerHTML = "'.$allposts.$selectedposts.'";';
@@ -267,4 +260,4 @@ function ShowPostPicker(sender) {
267
  document.getElementById('fromBox').focus();
268
  return false;
269
  }
270
- </script>
227
  divPopup = CreatePopUp("Select Posts/Pages", 525, 390, YPos(sender) - 375, XPos(sender) + 150);
228
 
229
  <?php
230
+ $pages = get_pages('numberposts=100&sort_column=menu_order');
231
+ $posts = get_posts('numberposts=100&sort_column=desc');
 
232
  $allposts = "<select multiple name='fromBox' id='fromBox'>";
233
  $selectedposts = "<select multiple name='toBox' id='toBox'></select>";
234
  foreach($pages as $page) {
235
+ $allposts .= "<option value='".$page->ID."'>".$page->post_title."</option>";
 
 
 
236
  }
237
  foreach($posts as $post) {
238
+ $allposts .= "<option value='".$post->ID."'>".$post->post_title."</option>";
 
 
 
239
  }
240
  $allposts .= "</select>";
241
  echo 'divPopup.innerHTML = "'.$allposts.$selectedposts.'";';
260
  document.getElementById('fromBox').focus();
261
  return false;
262
  }
263
+ </script>
readme.txt CHANGED
@@ -3,8 +3,8 @@ 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 RC
7
- Stable tag: 1.7
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
 
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
7
+ Stable tag: 1.7.1
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
 
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
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.1
7
  Author: Namith Jawahar
8
  Author URI: http://www.smartlogix.co.in/
9
  WP-INSERT by SMARTLOGIX : The ultimate wordpress plugin