Plugin Directory

Changeset 3303582


Ignore:
Timestamp:
05/30/2025 12:31:09 PM (10 months ago)
Author:
belingo
Message:

tagging 1.12.1

Location:
belingogeo
Files:
50 added
3 edited

Legend:

Unmodified
Added
Removed
  • belingogeo/trunk/belingoGeo.php

    r3256988 r3303582  
    66 * Author URI:  https://belingo.ru
    77 * Author:      Belingo llc
    8  * Version:     1.12.0
     8 * Version:     1.12.1
    99 * Text Domain: belingogeo
    1010 * Domain Path: /languages
     
    3737require_once 'integrations/yoast.php';
    3838
    39 define("BELINGO_GEO_VERSION", '1.12.0');
     39define("BELINGO_GEO_VERSION", '1.12.1');
    4040
    4141add_action('template_redirect', 'belingoGeo_init_city');
  • belingogeo/trunk/includes/admin/settings.php

    r3256727 r3303582  
    2020function belingogeo_download_example() {
    2121
    22     if(isset($_GET['page']) && $_GET['page'] == 'belingogeo_import' && isset($_GET['example'])) {
    23         $example = BELINGO_GEO_PLUGIN_DIR.'/examples/'.sanitize_text_field($_GET['example']);
    24         belingogeo_download_csv_file($example);
    25         exit;
     22    if( isset( $_GET['page']) && $_GET['page'] == 'belingogeo_import' && isset( $_GET['example'] ) ) {
     23
     24        $example_file = '';
     25
     26        if( $_GET['example'] == 'example1.csv' ) {
     27            $example_file = 'example1.csv';
     28        }elseif( $_GET['example'] == 'all_cities_rf.csv' ) {
     29            $example_file = 'all_cities_rf.csv';       
     30        }
     31
     32        if( !empty( $example_file ) ) {
     33            $example = BELINGO_GEO_PLUGIN_DIR.'/examples/'.sanitize_text_field( $_GET['example'] );
     34            belingogeo_download_csv_file( $example );
     35            exit;
     36        }
     37
    2638    }
    2739
  • belingogeo/trunk/readme.txt

    r3256988 r3303582  
    44Requires at least: 5.0.0
    55Tested up to: 6.7.2
    6 Stable tag: 1.12.0
     6Stable tag: 1.12.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6666
    6767== Changelog ==
     68= 1.12.1 =
     69* Fix bug access violation vulnerability
     70
    6871= 1.12.0 =
    6972* Description update
Note: See TracChangeset for help on using the changeset viewer.