Changeset 427074
- Timestamp:
- 08/22/2011 12:49:52 PM (15 years ago)
- File:
-
- 1 edited
-
prophoto-beta-tester/trunk/pp-beta-tester.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
prophoto-beta-tester/trunk/pp-beta-tester.php
r426027 r427074 5 5 Description: Facilitates beta-testing for future releases of the ProPhoto theme 6 6 Author: Jared Henderson 7 Version: 0.1 47 Version: 0.15 8 8 Author URI: http://www.prophotoblogs.com/beta-testing-plugin/ 9 9 */ … … 287 287 288 288 function ProPhotoBetaTester() { 289 $this->init(); 289 if ( function_exists( 'spl_autoload_register' ) && floatval( $GLOBALS['wp_version'] ) >= 3.2 ) { 290 $this->init(); 291 } else { 292 add_action( 'admin_notices', create_function( '', 'echo "<div class=\'error\' style=\'padding:4px 9px;\'> 293 <em>ProPhoto Beta Testing Plugin</em> and 294 <em>ProPhoto4</em> <b>require WordPress version 3.2 or higher</b>.</div>";' ) ); 295 } 290 296 } 291 297
Note: See TracChangeset
for help on using the changeset viewer.