Skip to content

Commit

Permalink
Add a TGMPA version number constant.
Browse files Browse the repository at this point in the history
This can/will be useful for theme/plugin owners to determine which version of TGMPA has been loaded. Possibly useful for us as well for v3.0.
  • Loading branch information
jrfnl committed May 4, 2015
1 parent a3f5a4f commit 5787241
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions class-tgm-plugin-activation.php
Expand Up @@ -60,6 +60,15 @@
*/
class TGM_Plugin_Activation {

/**
* TGMPA version number.
*
* @since 2.5.0
*
* @const string Version number.
*/
const TGMPA_VERSION = '2.5.0';

/**
* Regular expression to test if a URL is a WP plugin repo URL.
*
Expand Down

0 comments on commit 5787241

Please sign in to comment.