Changeset 594261
- Timestamp:
- 09/04/2012 03:02:12 AM (13 years ago)
- Location:
- adoption
- Files:
-
- 19 added
- 2 edited
-
tags/0.1.1 (added)
-
tags/0.1.1/adoption.php (added)
-
tags/0.1.1/css (added)
-
tags/0.1.1/css/jquery.jqplot.css (added)
-
tags/0.1.1/css/style.css (added)
-
tags/0.1.1/js (added)
-
tags/0.1.1/js/dashboard_script.js (added)
-
tags/0.1.1/js/jqplot.barRenderer.min.js (added)
-
tags/0.1.1/js/jqplot.categoryAxisRenderer.min.js (added)
-
tags/0.1.1/js/jqplot.highlighter.min.js (added)
-
tags/0.1.1/js/jqplot.pointLabels.min.js (added)
-
tags/0.1.1/js/jquery.jqplot.js (added)
-
tags/0.1.1/js/spin.min.js (added)
-
tags/0.1.1/languages (added)
-
tags/0.1.1/languages/adoption.pot (added)
-
tags/0.1.1/languages/en_GB.po (added)
-
tags/0.1.1/license.txt (added)
-
tags/0.1.1/readme.txt (added)
-
tags/0.1.1/screenshot-1.png (added)
-
trunk/adoption.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
adoption/trunk/adoption.php
r587707 r594261 22 22 23 23 // Enqueue scripts only for dashboard (i.e. /wp-admin/) 24 add_action( 'admin_ head-index.php', array( $this, 'enqueue_dashboard_resources' ) );24 add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_dashboard_resources' ) ); 25 25 26 26 // Handle ajax request for logged in users … … 71 71 } 72 72 73 function enqueue_dashboard_resources(){ 73 function enqueue_dashboard_resources( $hook ){ 74 75 if( $hook != 'index.php' ) 76 return; 74 77 75 78 // Enqueue our scripts scripts … … 545 548 } 546 549 547 $adoption_instance = new Adoption(); 550 // Start up this plugin 551 add_action( 'init', 'RegenerateThumbnails' ); 552 function RegenerateThumbnails() { 553 global $Adoption; 554 $Adoption = new Adoption(); 555 } 548 556 549 557 ?> -
adoption/trunk/readme.txt
r587725 r594261 15 15 **This plugin requires PHP 5.3 or later, please check with your web host if you're unsure.** 16 16 17 Adoption uses the timezone that is set in the WordPres sadmin panel. Ensure you have set your local timezone in Settings > General.17 Adoption uses the timezone that is set in the WordPres admin panel. Ensure you have set your local timezone in Settings > General. 18 18 19 19 Features: … … 54 54 == Changelog == 55 55 56 = 0.1.1 = 57 * Code clean up. 58 56 59 = 0.1 = 57 Initial release.60 * Initial release.
Note: See TracChangeset
for help on using the changeset viewer.