Plugin Directory

Changeset 3226484


Ignore:
Timestamp:
01/21/2025 08:36:27 PM (13 months ago)
Author:
flexmls
Message:

Flexmls WordPress plugin 3.14.27

Location:
flexmls-idx/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • flexmls-idx/trunk/Admin/Settings.php

    r3219800 r3226484  
    267267            $old_api_secret = $fmc_settings[ 'api_secret' ];
    268268
    269             $new_api_key = esc_html( sanitize_text_field( $_POST[ 'fmc_settings' ][ 'api_key' ] ) );
    270             $new_api_secret = esc_html( sanitize_text_field( $_POST[ 'fmc_settings' ][ 'api_secret' ] ) );
     269            $new_api_key = sanitize_text_field( $_POST[ 'fmc_settings' ][ 'api_key' ] );
     270            $new_api_secret = sanitize_text_field( $_POST[ 'fmc_settings' ][ 'api_secret' ] );
    271271
    272272            $fmc_settings[ 'api_key' ] = $new_api_key;
  • flexmls-idx/trunk/README.txt

    r3219800 r3226484  
    55Tested up to: 6.7.1
    66Requires PHP: 7.4
    7 Stable tag: 3.14.26
     7Stable tag: 3.14.27
    88
    99Add Flexmls® IDX listings, market statistics, IDX searches, and a contact form on your web site.
     
    8686
    8787== Changelog ==
     88= 3.14.27 =
     89* More Security Improvements For Plugin Settings Pages
     90
    8891= 3.14.26 =
    8992Efficiency Update
  • flexmls-idx/trunk/flexmls_connect.php

    r3219800 r3226484  
    66Description: Provides Flexmls&reg; Customers with Flexmls&reg; IDX features on their WordPress websites. <strong>Tips:</strong> <a href="admin.php?page=fmc_admin_settings">Activate your Flexmls&reg; IDX plugin</a> on the settings page; <a href="widgets.php">add widgets to your sidebar</a> using the Widgets Admin under Appearance; and include widgets on your posts or pages using the Flexmls&reg; IDX Widget Short-Code Generator on the Visual page editor.
    77Author: FBS
    8 Version: 3.14.26
     8Version: 3.14.27
    99Author URI:  https://www.flexmls.com
    1010Requires at least: 5.0
     
    1717const FMC_API_BASE = 'sparkapi.com';
    1818const FMC_API_VERSION = 'v1';
    19 const FMC_PLUGIN_VERSION = '3.14.26';
     19const FMC_PLUGIN_VERSION = '3.14.27';
    2020
    2121define( 'FMC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • flexmls-idx/trunk/lib/flexmlsAPI/Core.php

    r3219800 r3226484  
    4444        'Accept-Encoding' => "gzip,deflate",
    4545        'Content-Type' => "application/json",
    46         'User-Agent' => "FlexMLS WordPress Plugin/3.14.26",
    47         'X-SparkApi-User-Agent' => "flexmls-WordPress-Plugin/3.14.26"
     46        'User-Agent' => "FlexMLS WordPress Plugin/3.14.27",
     47        'X-SparkApi-User-Agent' => "flexmls-WordPress-Plugin/3.14.27"
    4848    );
    4949
  • flexmls-idx/trunk/views/admin-intro-api.php

    r3071738 r3226484  
    2020                </th>
    2121                <td>
    22                     <input type="text" class="regular-text" name="fmc_settings[api_key]" id="api_key" value="<?php echo $fmc_settings[ 'api_key' ]; ?>" autocomplete="off" required>
     22                    <input type="text" class="regular-text" name="fmc_settings[api_key]" id="api_key" value="<?php echo esc_attr($fmc_settings[ 'api_key' ]); ?>" autocomplete="off" required>
    2323                </td>
    2424            </tr>
     
    2828                </th>
    2929                <td>
    30                     <input type="<?php if( $auth_token ): ?>password<?php else: ?>text<?php endif; ?>" class="regular-text" name="fmc_settings[api_secret]" id="api_secret" value="<?php echo $fmc_settings[ 'api_secret' ]; ?>" autocomplete="off" required>
     30                    <input type="<?php if( $auth_token ): ?>password<?php else: ?>text<?php endif; ?>" class="regular-text" name="fmc_settings[api_secret]" id="api_secret" value="<?php echo esc_attr($fmc_settings[ 'api_secret' ]); ?>" autocomplete="off" required>
    3131                </td>
    3232            </tr>
Note: See TracChangeset for help on using the changeset viewer.