- Timestamp:
- 03/19/2012 12:28:23 AM (13 years ago)
- Location:
- bsuite/trunk
- Files:
-
- 3 edited
-
bsuite.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
ui_stats.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bsuite/trunk/bsuite.php
r483093 r520611 4 4 Plugin URI: http://maisonbisson.com/bsuite/ 5 5 Description: Stats tracking, improved sharing, related posts, CMS features, and a kitchen sink. <a href="http://maisonbisson.com/bsuite/">Documentation here</a>. 6 Version: 5 alpha 26 Version: 5 alpha 3 7 7 Author: Casey Bisson 8 8 Author URI: http://maisonbisson.com/blog/ -
bsuite/trunk/readme.txt
r520603 r520611 5 5 Requires at least: 3.2 6 6 Tested up to: 3.3.1 7 Stable tag: 5a27 Stable tag: trunk 8 8 9 9 A suite of tools used to help surface interesting and popular stories as well as improve WordPress' CMS capabilities as an application platform. -
bsuite/trunk/ui_stats.php
r312038 r520611 244 244 if( count( $results ) ) 245 245 foreach( $results as $res ) 246 echo '<li><a href="'. $res->name .'">'. wordwrap( urldecode( str_replace( get_settings( 'siteurl' ), '', $res->name)), 25, "\n", TRUE ) .'</a><br><small>Avg: '. number_format( $res->hit_avg ) .' Total: '. number_format( $res->hit_count ) ."</small></li>\n";246 echo '<li><a href="'. sanitize_url( $res->name ).'">'. wordwrap( htmlspecialchars( urldecode( str_replace( get_settings( 'siteurl' ), '', $res->name ))), 25, "\n", TRUE ) .'</a><br><small>Avg: '. number_format( $res->hit_avg ) .' Total: '. number_format( $res->hit_count ) ."</small></li>\n"; 247 247 else 248 248 echo '<li>No Data Yet.</li>'; … … 277 277 foreach( $results as $res ){ 278 278 if( 1 == $res->object_type ) 279 echo '<li><a href="'. $res->name .'">'. wordwrap( urldecode( str_replace( get_settings( 'siteurl' ), '', $res->name)), 25, "\n", TRUE ) .'</a><br><small>'. number_format( $res->hit_count ) .' hits since '. $res->date_min .'</small></li>';279 echo '<li><a href="'. sanitize_url( $res->name ) .'">'. wordwrap( htmlspecialchars( urldecode( str_replace( get_settings( 'siteurl' ), '', $res->name ))), 25, "\n", TRUE ) .'</a><br><small>'. number_format( $res->hit_count ) .' hits since '. $res->date_min .'</small></li>'; 280 280 else 281 281 echo '<li><a href="'. get_permalink( $res->object_id ) .'">'. wordwrap( get_the_title( $res->object_id ), 25, "\n", TRUE ) .'</a><br><small>'. number_format( $res->hit_count ) .' hits since '. $res->date_min .'</small></li>';
Note: See TracChangeset
for help on using the changeset viewer.