Changeset 1228170
- Timestamp:
- 08/22/2015 08:03:04 PM (11 years ago)
- Location:
- code-analyzer
- Files:
-
- 2 edited
-
tags/0.2/classes/class-database.php (modified) (1 diff)
-
trunk/classes/class-database.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
code-analyzer/tags/0.2/classes/class-database.php
r1228166 r1228170 71 71 */ 72 72 public static function plugin_version(){ 73 if( ! function_exists( 'get_plugin_data' ) ){ 74 require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 75 } 76 73 77 $main_file = dirname( dirname( __FILE__ ) ) . '/code-analyzer.php'; 74 78 $plugin_data = get_plugin_data( $main_file, false, false ); -
code-analyzer/trunk/classes/class-database.php
r1228166 r1228170 71 71 */ 72 72 public static function plugin_version(){ 73 if( ! function_exists( 'get_plugin_data' ) ){ 74 require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 75 } 76 73 77 $main_file = dirname( dirname( __FILE__ ) ) . '/code-analyzer.php'; 74 78 $plugin_data = get_plugin_data( $main_file, false, false );
Note: See TracChangeset
for help on using the changeset viewer.