Plugin Directory

Changeset 3204342


Ignore:
Timestamp:
12/08/2024 11:59:04 AM (13 months ago)
Author:
dan009
Message:

2024-12-08

Tested with Wordpress 6.7
Changed actions and Active columns in Maps view

Location:
api-bing-map-2018/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • api-bing-map-2018/trunk/includes/BingMapPro_Includes.php

    r2970206 r3204342  
    114114                    <div id="bmp_feedback_container" style="display: none;">
    115115                        <div class="bmp-feedback-header">
    116                                 <h2><?php echo esc_html( __( "We're sorry to see you go", 'bing-map-pro' ) ); ?></h2>
     116                                <h2><?php esc_html_e("We're sorry to see you go", 'bing-map-pro' ); ?></h2>
    117117                                <div id="bmp_modal_close" >
    118118                                    <svg id="bmp_close_svg" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg">
     
    131131
    132132                                $radio_buttons = array(
    133                                     __( "Lack of functionality", 'bing-map-pro' ),
    134                                     __( "Too difficult to use", 'bing-map-pro' ),
    135                                     __( "The plugin isn't working", 'bing-map-pro' ),
    136                                     __( "The plugin isn't useful", 'bing-map-pro' ),
    137                                     __( 'Temporarily disabling or troubleshooting', 'bing-map-pro' )                                   
     133                                    esc_html__( "Lack of functionality", 'bing-map-pro' ),
     134                                    esc_html__( "Too difficult to use", 'bing-map-pro' ),
     135                                    esc_html__( "The plugin isn't working", 'bing-map-pro' ),
     136                                    esc_html__( "The plugin isn't useful", 'bing-map-pro' ),
     137                                    esc_html__( 'Temporarily disabling or troubleshooting', 'bing-map-pro' )                                   
    138138                                );
    139139
  • api-bing-map-2018/trunk/includes/BingMapPro_Infobox.php

    r2970206 r3204342  
    9898                                            echo(
    9999                                                wp_sprintf( '%s <a href="%s" target="_blank"> %s </a>',
    100                                                                  __('You can find the Advanced Version ', 'bing-map-pro'),
     100                                                                 esc_html__('You can find the Advanced Version ', 'bing-map-pro'),
    101101                                                                esc_url( BMP_URLS['adv_tinymce'] ) ,
    102                                                                 __('HERE', 'bing-map-pro')
     102                                                                esc_html__('HERE', 'bing-map-pro')
    103103                                                          )
    104104                                                );
  • api-bing-map-2018/trunk/includes/BingMapPro_LifeCycle.php

    r2970206 r3204342  
    608608                array(
    609609                    'error' => true,
    610                     'message' => __('Error. Sorry, the page did not verify.', 'bing-map-pro')
     610                    'message' => esc_html__('Error. Sorry, the page did not verify.', 'bing-map-pro')
    611611            ));
    612612            wp_die();
     
    710710                array(
    711711                    'error' => true,
    712                     'message' => __('Error. Sorry, the page did not verify.', 'bing-map-pro')
     712                    'message' => esc_html__('Error. Sorry, the page did not verify.', 'bing-map-pro')
    713713            ));
    714714            wp_die();
     
    737737                        array(
    738738                            'error' => true,
    739                             'message' => __('Error. Sorry, the page did not verify.', 'bing-map-pro')
     739                            'message' => esc_html__('Error. Sorry, the page did not verify.', 'bing-map-pro')
    740740                    ));
    741741                    wp_die();
     
    766766                    array(
    767767                        'error' => true,
    768                         'message' => __('Error. Sorry, the page did not verify.', 'bing-map-pro')
     768                        'message' => esc_html__('Error. Sorry, the page did not verify.', 'bing-map-pro')
    769769                ));
    770770
     
    10881088                array(
    10891089                    'error' => true,
    1090                     'message' => __('Error. Sorry, the page did not verify.', 'bing-map-pro')
     1090                    'message' => esc_html__('Error. Sorry, the page did not verify.', 'bing-map-pro')
    10911091            ));
    10921092
     
    11291129                    array(
    11301130                        'error' => true,
    1131                         'message' => __('Error. Sorry, the page did not verify.', 'bing-map-pro')
     1131                        'message' => esc_html__('Error. Sorry, the page did not verify.', 'bing-map-pro')
    11321132                ));
    11331133
     
    12141214                    array(
    12151215                        'error' => true,
    1216                         'message' => __('Error. Sorry, the page did not verify.', 'bing-map-pro')
     1216                        'message' => esc_html__('Error. Sorry, the page did not verify.', 'bing-map-pro')
    12171217                ));
    12181218
  • api-bing-map-2018/trunk/includes/BingMapPro_Maps.php

    r2970206 r3204342  
    3535                <table id="mapsTable"  class='table table-striped'>
    3636                    <thead> <tr>
    37                                 <th> <?php esc_html_e('Active', 'bing-map-pro');?>      </th>
     37                                <th> <?php esc_html_e('Actions', 'bing-map-pro');?>     </th>                             
    3838                                <th> <?php esc_html_e('Title', 'bing-map-pro');?>       </th>
    3939                                <th> <?php esc_html_e('Short Code', 'bing-map-pro');?>  </th>
    4040                                <th> <?php esc_html_e('Active Pins', 'bing-map-pro');?>        </th>
    4141                                <th> <?php esc_html_e('Shapes', 'bing-map-pro');?>      </th>
    42                                 <th> <?php esc_html_e('Actions', 'bing-map-pro');?>     </th>
     42                                <th> <?php esc_html_e('Active', 'bing-map-pro');?>      </th>
    4343                            </tr>
    4444                    </thead>
     
    4949                                $shortcode = esc_html(  ($map['shortcode'] == '' ) ? "[bing-map-pro id={$map['id']}]" : "[{$map['shortcode']}]" );
    5050                                echo    '<tr id="map_' . esc_html($map['id']) . '">'.
    51                                             '<td> '. bmp_showActive( $map['active'], $map['id'] ) . '</td>'.
     51                                            '<td> <button type="button" data-id='.esc_html($map['id']).'  id="edit_bmp_map" class="button btn-success edit-bmp-map"
     52                                                    data-toggle="tooltip" data-placement="bottom" title="'. esc_html__('Edit', 'bing-map-pro').'"> <i class="fa fa-edit"></i> </button> <span class="spacer"> </span> '.
     53                                                '<button type="button" data-id='.esc_html($map['id']).' onclick="BmpDeleteMap(this)" id="delete_bmp_map" class="button btn-danger delete-bmp-map"
     54                                                    data-toggle="tooltip" data-placement="bottom" title="'. esc_html__('Delete', 'bing-map-pro').'"> <i class="fa fa-trash"></i> </button>'.
     55                                            '</td>'.
    5256                                            '<td> '. str_replace('\\', '', esc_html( $map['title'] ) ) . '</td>'.
    5357                                            '<td> <input type="text" readonly value="'. $shortcode .'"  /> </td>'.
    5458                                            '<td>'.(isset($map['pin_no']) ? $map['pin_no'] : '0').'</td>' .
    5559                                            '<td> '.(isset($map['shape_no']) ? $map['shape_no'] : '0').'</td>' .
    56                                             '<td> <button type="button" data-id='.esc_html($map['id']).'  id="edit_bmp_map" class="button btn-success edit-bmp-map"
    57                                                   data-toggle="tooltip" data-placement="bottom" title="'. esc_html__('Edit', 'bing-map-pro').'"> <i class="fa fa-edit"></i> </button> <span class="spacer"> </span> '.
    58                                                 '<button type="button" data-id='.esc_html($map['id']).' onclick="BmpDeleteMap(this)" id="delete_bmp_map" class="button btn-danger delete-bmp-map"
    59                                                   data-toggle="tooltip" data-placement="bottom" title="'. esc_html__('Delete', 'bing-map-pro').'"> <i class="fa fa-trash"></i> </button>'.
    60                                             '</td>'.
     60 
     61                                             '<td> '. bmp_showActive( $map['active'], $map['id'] ) . '</td>'.
    6162                                        '</tr>';
    6263                               
  • api-bing-map-2018/trunk/js/bmp-script-ajax.js

    r2970206 r3204342  
    518518                    "</td>");
    519519
    520     elements.push( $ckbActive, $title, $shortcode, $active_pins, $active_shapes, $actions );   
     520    elements.push( $actions, $title, $shortcode, $active_pins, $active_shapes, $ckbActive );   
    521521               
    522522    bmpX( $row ).append( elements );
  • api-bing-map-2018/trunk/readme.txt

    r3064140 r3204342  
    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.0.1
    6 Tested up to: 6.5
    7 Stable tag: 5.0.1
     5Requires at least: 5.2
     6Tested up to: 6.7
     7Stable tag: 5.0.2
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    7777
    7878== Changelog ==
     79= 2024-12-08
     80Tested with Wordpress 6.7
     81Changed actions and Active columns in Maps view
    7982
    8083= 2024-04-03
  • api-bing-map-2018/trunk/uninstall.php

    r2970206 r3204342  
    3939$bmp_table_map_shortcodes = $wpdb->prefix . 'bingmappro_map_shortcodes';
    4040
    41 $bmp_query_map_pins     = $wpdb->query("DROP TABLE IF EXISTS {$bmp_table_map_pins}; ");
    42 $bmp_query_maps         = $wpdb->query("DROP TABLE IF EXISTS {$bmp_table_maps}; ");
    43 $bmp_query_pins         = $wpdb->query("DROP TABLE IF EXISTS {$bmp_table_pins}; ");
    44 $bmp_query_shapes       = $wpdb->query("DROP TABLE IF EXISTS {$bmp_table_shapes}; ");
    45 $bmp_query_map_shapes   = $wpdb->query("DROP TABLE IF EXISTS {$bmp_table_map_shapes}; ");
    46 $bmp_query_map_shortcodes = $wpdb->query("DROP TABLE IF EXISTS {$bmp_table_map_shortcodes}; ");
     41$bmp_query_map_pins     = $wpdb->query( $wpdb->prepare(
     42                                "DROP TABLE IF EXISTS %i;",
     43                            $bmp_table_map_pins));                               
     44
     45$bmp_query_maps         = $wpdb->query( $wpdb->prepare(
     46                                "DROP TABLE IF EXISTS %i;",
     47                            $bmp_table_maps ));
     48
     49$bmp_query_pins         = $wpdb->query( $wpdb->prepare(
     50                                "DROP TABLE IF EXISTS %i;",
     51                            $bmp_table_pins ));
     52
     53$bmp_query_shapes       = $wpdb->query( $wpdb->prepare(
     54                                "DROP TABLE IF EXISTS %i;",
     55                            $bmp_table_shapes ));
     56
     57$bmp_query_map_shapes   = $wpdb->query( $wpdb->prepare(
     58                                "DROP TABLE IF EXISTS %i;",
     59                            $bmp_table_map_shapes ));
     60
     61$bmp_query_map_shortcodes = $wpdb->query( $wpdb->prepare(
     62                                "DROP TABLE IF EXISTS %i;",
     63                            $bmp_table_map_shortcodes ));
  • api-bing-map-2018/trunk/wp-bing-map-pro.php

    r3064140 r3204342  
    33* Plugin Name: WP Bing Map Pro
    44* Plugin URI: https://tuskcode.com
    5 * Version: 5.0.1
     5* Version: 5.0.2
    66* Author: dan009
    77* Description: Simple, and easy to use, unlimited maps, pins, and infoboxes for every page on your website
     
    1313
    1414$BingMapPro_MinimalRequiredPhpVersion = '5.2';
    15 $BMP_PLUGIN_VERSION = '5.0.1';
     15$BMP_PLUGIN_VERSION = '5.0.2';
    1616define( 'BMP_PLUGIN_URL', plugins_url( '', __FILE__ ) );
    1717
Note: See TracChangeset for help on using the changeset viewer.