Changeset 914245
- Timestamp:
- 05/14/2014 10:18:12 PM (12 years ago)
- Location:
- author-stats/trunk
- Files:
-
- 2 added
- 3 deleted
- 4 edited
-
author-stats.php (modified) (3 diffs)
-
css/images (deleted)
-
css/jquery-ui-1.10.4.custom.min.css (added)
-
css/jquery-ui-1.8.17.custom.css (deleted)
-
js/jquery-ui-1.10.4.custom.min.js (added)
-
js/jquery-ui-1.8.17.custom.min.js (deleted)
-
license.txt (modified) (2 diffs)
-
php/stats.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
author-stats/trunk/author-stats.php
r525914 r914245 4 4 Plugin URI: http://yourdomain.com/ 5 5 Description: Displays various metrics for a selected author 6 Version: 1. 1.36 Version: 1.2 7 7 Author: Don Kukral 8 8 Author URI: http://yourdomain.com … … 30 30 function author_stats_admin_scripts() { 31 31 if ((array_key_exists('page', $_GET)) && ($_GET['page'] == 'author-stats')) { 32 wp_enqueue_script("ui", AUTHOR_STATS_URL . "js/jquery-ui-1. 8.17.custom.min.js", array('jquery'), '1.0');32 wp_enqueue_script("ui", AUTHOR_STATS_URL . "js/jquery-ui-1.10.4.custom.min.js", array('jquery'), '1.0'); 33 33 } else { 34 34 wp_deregister_script("ui"); … … 39 39 function author_stats_admin_styles() { 40 40 if ((array_key_exists('page', $_GET)) && ($_GET['page'] == 'author-stats')) { 41 wp_enqueue_style( 'author-stats-css', AUTHOR_STATS_URL . 'css/jquery-ui-1. 8.17.custom.css', false );41 wp_enqueue_style( 'author-stats-css', AUTHOR_STATS_URL . 'css/jquery-ui-1.10.4.custom.min.css', false ); 42 42 } else { 43 43 wp_deregister_style("author-stats-css"); -
author-stats/trunk/license.txt
r493595 r914245 1 1 WordPress - Web publishing software 2 2 3 Copyright 201 2by the contributors3 Copyright 2014 by the contributors 4 4 5 5 This program is free software; you can redistribute it and/or modify … … 32 32 WordPress - Web publishing software 33 33 34 Copyright 2003-201 2by the contributors34 Copyright 2003-2014 by the contributors 35 35 36 36 WordPress is released under the GPL -
author-stats/trunk/php/stats.php
r498201 r914245 85 85 .addClass( "ui-widget ui-widget-content ui-corner-left" ); 86 86 87 input.data( " autocomplete" )._renderItem = function( ul, item ) {87 input.data( "ui-autocomplete" )._renderItem = function( ul, item ) { 88 88 return $( "<li></li>" ) 89 89 .data( "item.autocomplete", item ) … … 209 209 array_push($d, array('id' => $row->ID, 'c' => count($result))); 210 210 } 211 212 return intval(array_sum($c)/count($c)); 211 if (count($c)) { 212 return intval(array_sum($c)/count($c)); 213 } else { 214 return 0; 215 } 213 216 } 214 217 -
author-stats/trunk/readme.txt
r621890 r914245 1 1 === Author Stats === 2 Contributors: jboydston, dkukral , Droyal2 Contributors: jboydston, dkukral 3 3 Tags: author, statistics 4 4 Requires at least: 3.0 5 Tested up to: 3. 3.16 Stable Tag: 1. 1.35 Tested up to: 3.9.1 6 Stable Tag: 1.2 7 7 8 8 Plugin for WordPress displays various author metrics. … … 43 43 44 44 == Changelog == 45 = 1.2 = 46 Upgraded jquery-ui to 1.10 and verified compat with WP 3.9.1 45 47 46 48 = 1.1.3 =
Note: See TracChangeset
for help on using the changeset viewer.