Changeset 610099
- Timestamp:
- 10/09/2012 05:55:15 PM (13 years ago)
- Location:
- nextgen-gallery-voting
- Files:
-
- 14 added
- 2 edited
-
tags/2.0.1 (added)
-
tags/2.0.1/css (added)
-
tags/2.0.1/css/star_rating.css (added)
-
tags/2.0.1/images (added)
-
tags/2.0.1/images/loading.gif (added)
-
tags/2.0.1/images/star.gif (added)
-
tags/2.0.1/images/thumbs_down.png (added)
-
tags/2.0.1/images/thumbs_up.png (added)
-
tags/2.0.1/js (added)
-
tags/2.0.1/js/admin_gallery.js (added)
-
tags/2.0.1/js/ajaxify-likes.js (added)
-
tags/2.0.1/js/ajaxify-stars.js (added)
-
tags/2.0.1/ngg-voting.php (added)
-
tags/2.0.1/readme.txt (added)
-
trunk/ngg-voting.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nextgen-gallery-voting/trunk/ngg-voting.php
r608674 r610099 4 4 Plugin URI: http://shauno.co.za/wordpress-nextgen-gallery-voting/ 5 5 Description: This plugin allows users to add user voting to NextGEN Gallery Images 6 Version: 2.0 6 Version: 2.0.1 7 7 Author: Shaun Alberts 8 8 Author URI: http://shauno.co.za … … 47 47 48 48 $this->adminUrl = get_bloginfo('url').'/wp-admin/admin.php?page='; //not sure this is ideal? TODO, research better way of getting pre-slug admin page URL 49 //use of dirname(__FILE__) as __DIR__ is only available from 5.3 49 50 $this->slug = basename(dirname(__FILE__)); 50 51 51 $dir = array_pop(explode('/', str_replace('\\', '/', __DIR__)));52 $dir = array_pop(explode('/', str_replace('\\', '/', dirname(__FILE__)))); 52 53 $this->pluginUrl = trailingslashit(WP_PLUGIN_URL.'/'.$dir); 53 $this->pluginPath = trailingslashit(str_replace('\\', '/', __DIR__));54 $this->pluginPath = trailingslashit(str_replace('\\', '/', dirname(__FILE__))); 54 55 55 56 //general hooks - admin -
nextgen-gallery-voting/trunk/readme.txt
r608674 r610099 5 5 Requires at least: 2.9.1 6 6 Tested up to: 3.4.2 7 Stable tag: 2.0 7 Stable tag: 2.0.1 8 8 9 9 This plugin adds the ability for users to vote on NextGEN Galleries and Images. A few basic options give the ability to limit who can vote on what. … … 47 47 48 48 == Changelog == 49 50 = 2.0.1 = 51 * Changed a reference of `__DIR__` to `dirname(__FILE__)`, as I didn't realise `__DIR__` isn't available until PHP 5.3. 49 52 50 53 = 2.0 =
Note: See TracChangeset
for help on using the changeset viewer.