Changeset 194580
- Timestamp:
- 01/16/2010 07:37:28 PM (16 years ago)
- Location:
- wp-reportpost
- Files:
-
- 25 added
- 1 deleted
- 2 edited
-
tags/1.2.4 (added)
-
tags/1.2.4/Readme.txt (added)
-
tags/1.2.4/ReportPost.class.php (added)
-
tags/1.2.4/ajax.php (added)
-
tags/1.2.4/archive-reports.php (added)
-
tags/1.2.4/assets (added)
-
tags/1.2.4/assets/loading.gif (added)
-
tags/1.2.4/assets/reports.png (added)
-
tags/1.2.4/assets/wprp-admin.css (added)
-
tags/1.2.4/assets/wprp.css (added)
-
tags/1.2.4/assets/wprp.js (added)
-
tags/1.2.4/main.php (added)
-
tags/1.2.4/new-reports.php (added)
-
tags/1.2.4/reports.php (added)
-
tags/1.2.4/screenshot-1.jpg (added)
-
tags/1.2.4/screenshot-2.jpg (added)
-
tags/1.2.4/screenshot-3.jpg (added)
-
tags/1.2.4/screenshot-4.jpg (added)
-
tags/1.2.4/screenshot-5.jpg (added)
-
tags/1.2.4/screenshot-6.jpg (added)
-
tags/1.2.4/screenshot-7.jpg (added)
-
tags/1.2.4/screenshot-8.jpg (added)
-
tags/1.2.4/screenshot-9.jpg (added)
-
tags/1.2.4/wprpsettings.php (added)
-
trunk/Readme.txt (modified) (2 diffs)
-
trunk/main.php (modified) (6 diffs)
-
trunk/settings.php (deleted)
-
trunk/wprpsettings.php (added)
Legend:
- Unmodified
- Added
- Removed
-
wp-reportpost/trunk/Readme.txt
r169581 r194580 4 4 Tags: broken link, broken, report, report post, post report, notify, inform, abuse, wp-report, error report 5 5 Requires at least: 2.8 6 Tested up to: 2. 8.57 Stable tag: 1.2. 36 Tested up to: 2.9.1 7 Stable tag: 1.2.4 8 8 9 9 Simple and powerful plugin to make your life easier, Report post plugin to automate links / contents error reporting in your website. … … 42 42 43 43 There have been many updates in the Past, I'm only going to specify the main changes made to archive this new version 1.2. 44 = 1.2.4 = 45 * Fixed: When excerpt is invoked; Report option Show up broken. Now Report option won't be attache to 'the_excerpt' 44 46 = 1.2.3 = 45 47 Bug Fixes Only -
wp-reportpost/trunk/main.php
r169581 r194580 2 2 /* 3 3 Plugin Name: WP-ReportPost 4 Plugin URI: http://ww w.rjeevan.com/en/projects/wordpress/plugins/wp-reportpost4 Plugin URI: http://ww2.rjeevan.com/projects/wordpress/wp-reportpost 5 5 Description: This plugin attach form (jQuery / Ajax) to your contents that can be Invoked by any end-user to make a report on posts / pages. This plugin gives you much flexibility as what to report and archive old reports... No coding skills needed, simply install and activate. 6 Version: 1.2. 36 Version: 1.2.4 7 7 Author: Rajeevan 8 Author URI: http:// rjeevan.com8 Author URI: http://ww2.rjeevan.com 9 9 */ 10 10 … … 51 51 52 52 if($rp_if != 3) // BY THEME EDIT 53 add_filter('the_content',wprp_attach_report); // Call Attach Report Option 53 { 54 add_filter('the_content',wprp_attach_report,100); // Call Attach Report Option 55 add_filter('get_the_excerpt', wprp_get_the_excerpt,1); 56 } 54 57 55 58 } // END IF … … 63 66 } 64 67 68 #Except Exception 69 function wprp_get_the_excerpt($output) 70 { 71 // Remove Content Filter 72 remove_filter('the_content', wprp_attach_report, 100); 73 return $output; 74 } 65 75 66 76 # Attach REPORT to THE_CONTENT … … 279 289 add_submenu_page( dirname(__FILE__)."/new-reports.php", 'New Reports', 'New Reports', 4, dirname(__FILE__)."/new-reports.php"); 280 290 add_submenu_page( dirname(__FILE__)."/new-reports.php", 'Archives', 'Archives', 4, dirname(__FILE__)."/archive-reports.php"); 281 add_submenu_page( dirname(__FILE__)."/new-reports.php", 'Settings', 'Settings', 8, dirname(__FILE__)."/ settings.php");291 add_submenu_page( dirname(__FILE__)."/new-reports.php", 'Settings', 'Settings', 8, dirname(__FILE__)."/wprpsettings.php"); 282 292 } 283 293 … … 301 311 302 312 } 303 /*304 add_action('wp_dashboard_setup', 'wprp_add_dashboard_widgets' );305 function wprp_add_dashboard_widgets()306 {307 wp_add_dashboard_widget('wprp_widget', 'WP REPORTPOST', 'wprp_widget_callback');308 }309 function wprp_widget_callback()310 {311 global $wpdb, $wprp;312 313 if($wprp == NULL)314 {315 $wprp = new ReportPost($wpdb);316 $wprp->findReports('ORDER BY id DESC',1,'WHERE status=1');317 }318 if($wprp->totalRows >0)319 {320 echo 'Hello, There is <strong>'.$wprp->totalRows.' New Reports</strong> Logged!';321 }else{322 echo 'There is no new reports!';323 }324 325 }*/326 327 313 # Install 328 314 register_activation_hook(__FILE__,'wprp_install'); … … 430 416 wp_enqueue_style('thickbox'); 431 417 } 418 432 419 ?>
Note: See TracChangeset
for help on using the changeset viewer.