Changeset 3226484
- Timestamp:
- 01/21/2025 08:36:27 PM (13 months ago)
- Location:
- flexmls-idx/trunk
- Files:
-
- 5 edited
-
Admin/Settings.php (modified) (1 diff)
-
README.txt (modified) (2 diffs)
-
flexmls_connect.php (modified) (2 diffs)
-
lib/flexmlsAPI/Core.php (modified) (1 diff)
-
views/admin-intro-api.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
flexmls-idx/trunk/Admin/Settings.php
r3219800 r3226484 267 267 $old_api_secret = $fmc_settings[ 'api_secret' ]; 268 268 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' ] ); 271 271 272 272 $fmc_settings[ 'api_key' ] = $new_api_key; -
flexmls-idx/trunk/README.txt
r3219800 r3226484 5 5 Tested up to: 6.7.1 6 6 Requires PHP: 7.4 7 Stable tag: 3.14.2 67 Stable tag: 3.14.27 8 8 9 9 Add Flexmls® IDX listings, market statistics, IDX searches, and a contact form on your web site. … … 86 86 87 87 == Changelog == 88 = 3.14.27 = 89 * More Security Improvements For Plugin Settings Pages 90 88 91 = 3.14.26 = 89 92 Efficiency Update -
flexmls-idx/trunk/flexmls_connect.php
r3219800 r3226484 6 6 Description: Provides Flexmls® Customers with Flexmls® IDX features on their WordPress websites. <strong>Tips:</strong> <a href="admin.php?page=fmc_admin_settings">Activate your Flexmls® 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® IDX Widget Short-Code Generator on the Visual page editor. 7 7 Author: FBS 8 Version: 3.14.2 68 Version: 3.14.27 9 9 Author URI: https://www.flexmls.com 10 10 Requires at least: 5.0 … … 17 17 const FMC_API_BASE = 'sparkapi.com'; 18 18 const FMC_API_VERSION = 'v1'; 19 const FMC_PLUGIN_VERSION = '3.14.2 6';19 const FMC_PLUGIN_VERSION = '3.14.27'; 20 20 21 21 define( 'FMC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -
flexmls-idx/trunk/lib/flexmlsAPI/Core.php
r3219800 r3226484 44 44 'Accept-Encoding' => "gzip,deflate", 45 45 'Content-Type' => "application/json", 46 'User-Agent' => "FlexMLS WordPress Plugin/3.14.2 6",47 'X-SparkApi-User-Agent' => "flexmls-WordPress-Plugin/3.14.2 6"46 'User-Agent' => "FlexMLS WordPress Plugin/3.14.27", 47 'X-SparkApi-User-Agent' => "flexmls-WordPress-Plugin/3.14.27" 48 48 ); 49 49 -
flexmls-idx/trunk/views/admin-intro-api.php
r3071738 r3226484 20 20 </th> 21 21 <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> 23 23 </td> 24 24 </tr> … … 28 28 </th> 29 29 <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> 31 31 </td> 32 32 </tr>
Note: See TracChangeset
for help on using the changeset viewer.