Changeset 837104
- Timestamp:
- 01/12/2014 12:07:22 PM (12 years ago)
- Location:
- map-pins/trunk
- Files:
-
- 2 edited
-
map-pins.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
map-pins/trunk/map-pins.php
r836923 r837104 4 4 * Plugin URI: http://mappins.innovader.nl 5 5 * Description: Show pins on a map from an admin defined table 6 * Version: 1.0 6 * Version: 1.01 7 7 * Author: Innovader BV 8 8 * Author URI: http://innovader.nl … … 14 14 define('MAPPINS_PICS_URL', MAPPINS_PLUGIN_URL.'/pics'); 15 15 define('MAPPINS_PICS_DIR', MAPPINS_PLUGIN_DIR.'/pics'); 16 define('MINIMAL_PHP_VERSION','5.2.4'); 16 17 17 18 require (MAPPINS_PLUGIN_DIR.'/include/xcos.php'); // helpers … … 51 52 function mappins_install() { 52 53 global $wpdb; 54 55 if ( version_compare( PHP_VERSION, MINIMAL_PHP_VERSION, '<' ) ) { 56 deactivate_plugins( basename( __FILE__ ) ); 57 wp_die('<p>The <strong>map-pins</strong> plugin requires PHP version '.MINIMAL_PHP_VERSION.' or greater.</p>','Plugin Activation Error', array( 'response'=>200, 'back_link'=>TRUE ) ); 58 return; 59 } 60 53 61 $table_name = $wpdb->prefix . "mappins_markers"; 54 62 $sql = " -
map-pins/trunk/readme.txt
r836926 r837104 84 84 = 0.1 = 85 85 * Initial release. 86 = 0.2=86 = 1.0 = 87 87 * After hours notification with moon icon 88 88 * screenshots and other nice info on wordpress.org 89 89 * made responsive 90 = 1.01 = 91 * php 5.2 compatible and php version check 90 92 91 93 == Upgrade Notice == 92 94 93 95 = 0.1 = 94 * Initial release. 96 * Initial release 97 = 1.0 = 98 * release on wordpress.org 99 = 1.01 = 100 * bugfixes 95 101 102 103
Note: See TracChangeset
for help on using the changeset viewer.