Changeset 3278954
- Timestamp:
- 04/22/2025 10:55:36 AM (9 months ago)
- Location:
- api-bing-map-2018/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-bing-map-pro.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
api-bing-map-2018/trunk/readme.txt
r3204342 r3278954 3 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HH7J3U2U9YYQ2 4 4 Tags: bing map, api bing map, maps, bing 5 Requires at least: 5. 26 Tested up to: 6. 77 Stable tag: 5.0. 25 Requires at least: 5.3 6 Tested up to: 6.8 7 Stable tag: 5.0.3 8 8 Requires PHP: 5.2.4 9 9 License: GPLv2 or later … … 77 77 78 78 == Changelog == 79 = 2024-04-22 80 * Tested with Wordpress version 6.8 81 * Removed notification for PHP version less than 5.4 82 79 83 = 2024-12-08 80 Tested with Wordpress 6.781 Changed actions and Active columns in Maps view84 * Tested with Wordpress 6.7 85 * Changed actions and Active columns in Maps view 82 86 83 87 = 2024-04-03 -
api-bing-map-2018/trunk/wp-bing-map-pro.php
r3204342 r3278954 3 3 * Plugin Name: WP Bing Map Pro 4 4 * Plugin URI: https://tuskcode.com 5 * Version: 5.0. 25 * Version: 5.0.3 6 6 * Author: dan009 7 7 * Description: Simple, and easy to use, unlimited maps, pins, and infoboxes for every page on your website … … 12 12 if( ! defined('ABSPATH') ) die('No Access to this page'); 13 13 14 $BingMapPro_MinimalRequiredPhpVersion = '5.2'; 14 15 15 $BMP_PLUGIN_VERSION = '5.0.2'; 16 define( 'BMP_PLUGIN_URL', plugins_url( '', __FILE__ ) ); 17 18 /* Check the php version, and display a message if the running version is lower than the required on */ 19 function BingMapPro_noticePhpVersionWrong(){ 20 global $BingMapPro_MinimalRequiredPhpVersion; 21 echo '<div class="updated fade">' . 22 esc_html__( 'Error: plugin "Bing Map Pro" requires a higher version of PHP to be running.', 'bing-map-pro'). 23 '<br/>' . esc_html__('Minimal version of PHP required: ', 'bing-map-pro') . '<strong>' . $BingMapPro_MinimalRequiredPhpVersion . '</strong>'. 24 '<br/>' . esc_html__('Your server\'s PHP version: ', 'bing-map-pro') . '<strong>' . phpversion() . '</strong>'; 25 } 26 27 function BingMapPro_PhpVersionCheck(){ 28 global $BingMapPro_MinimalRequiredPhpVersion; 29 if( version_compare(phpversion(), $BingMapPro_MinimalRequiredPhpVersion ) < 0 ){ 30 add_action('admin_notices', 'BingMapPro_noticePhpVersionWrong'); 31 return false; 32 } 33 return true; 34 } 16 if( ! defined( 'BMP_PLUGIN_URL' ) ) define( 'BMP_PLUGIN_URL', plugins_url( '', __FILE__ ) ); 35 17 36 18 /* Initialize internationalization */ … … 42 24 add_action( 'plugins_loaded', 'BingMapPro_i18n_init'); 43 25 44 if( BingMapPro_PhpVersionCheck() ){ 45 include_once( 'wp-bing-map-pro_init.php'); 46 BingMapPro_Plugin_init::BingMapPro_init( __FILE__ ); 47 } 26 27 include_once( 'wp-bing-map-pro_init.php'); 28 BingMapPro_Plugin_init::BingMapPro_init( __FILE__ );
Note: See TracChangeset
for help on using the changeset viewer.