Plugin Directory

Changeset 3278954


Ignore:
Timestamp:
04/22/2025 10:55:36 AM (9 months ago)
Author:
dan009
Message:

2024-04-22

  • Tested with Wordpress version 6.8
  • Removed notification for PHP version less than 5.4
Location:
api-bing-map-2018/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • api-bing-map-2018/trunk/readme.txt

    r3204342 r3278954  
    33Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HH7J3U2U9YYQ2
    44Tags: bing map, api bing map, maps, bing
    5 Requires at least: 5.2
    6 Tested up to: 6.7
    7 Stable tag: 5.0.2
     5Requires at least: 5.3
     6Tested up to: 6.8
     7Stable tag: 5.0.3
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    7777
    7878== Changelog ==
     79= 2024-04-22
     80* Tested with Wordpress version 6.8
     81* Removed notification for PHP version less than 5.4
     82
    7983= 2024-12-08
    80 Tested with Wordpress 6.7
    81 Changed actions and Active columns in Maps view
     84* Tested with Wordpress 6.7
     85* Changed actions and Active columns in Maps view
    8286
    8387= 2024-04-03
  • api-bing-map-2018/trunk/wp-bing-map-pro.php

    r3204342 r3278954  
    33* Plugin Name: WP Bing Map Pro
    44* Plugin URI: https://tuskcode.com
    5 * Version: 5.0.2
     5* Version: 5.0.3
    66* Author: dan009
    77* Description: Simple, and easy to use, unlimited maps, pins, and infoboxes for every page on your website
     
    1212if( ! defined('ABSPATH') ) die('No Access to this page');
    1313
    14 $BingMapPro_MinimalRequiredPhpVersion = '5.2';
     14
    1515$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 }
     16if( ! defined( 'BMP_PLUGIN_URL' ) ) define( 'BMP_PLUGIN_URL', plugins_url( '', __FILE__ ) );
    3517
    3618/* Initialize internationalization */
     
    4224add_action( 'plugins_loaded', 'BingMapPro_i18n_init');
    4325
    44 if( BingMapPro_PhpVersionCheck() ){
    45     include_once( 'wp-bing-map-pro_init.php'); 
    46     BingMapPro_Plugin_init::BingMapPro_init( __FILE__ );
    47 }
     26
     27include_once( 'wp-bing-map-pro_init.php'); 
     28BingMapPro_Plugin_init::BingMapPro_init( __FILE__ );
Note: See TracChangeset for help on using the changeset viewer.