Changeset 3251292
- Timestamp:
- 03/05/2025 07:09:41 PM (12 months ago)
- Location:
- flexmls-idx/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (2 diffs)
-
flexmls_connect.php (modified) (2 diffs)
-
lib/base.php (modified) (1 diff)
-
lib/flexmlsAPI/Core.php (modified) (1 diff)
-
views/admin-settings-portal.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
flexmls-idx/trunk/README.txt
r3244001 r3251292 5 5 Tested up to: 6.7.2 6 6 Requires PHP: 7.4 7 Stable tag: 3.14.2 87 Stable tag: 3.14.29 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.29 = 89 Efficiency Update 90 * Security Improvements 91 88 92 = 3.14.28 = 89 93 Efficiency Update -
flexmls-idx/trunk/flexmls_connect.php
r3244001 r3251292 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 88 Version: 3.14.29 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 8';19 const FMC_PLUGIN_VERSION = '3.14.29'; 20 20 21 21 define( 'FMC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -
flexmls-idx/trunk/lib/base.php
r3209984 r3251292 271 271 } 272 272 273 return "<iframe src='{$show_link}' width='{$attr['width']}' height='{$attr['height']}' frameborder='0'></iframe>"; 273 $flexmls_iframe = "<iframe src='{$show_link}' width='{$attr['width']}' height='{$attr['height']}' frameborder='0'></iframe>"; 274 275 $allowed_tags = array( 276 'iframe' => array( 277 'src' => true, // Allow src attribute 278 'width' => true, // Allow width 279 'height' => true, // Allow height 280 'frameborder' => true 281 ), 282 ); 283 284 return wp_kses($flexmls_iframe, $allowed_tags); 285 274 286 } 275 287 -
flexmls-idx/trunk/lib/flexmlsAPI/Core.php
r3244001 r3251292 44 44 'Accept-Encoding' => "gzip,deflate", 45 45 'Content-Type' => "application/json", 46 'User-Agent' => "FlexMLS WordPress Plugin/3.14.2 8",47 'X-SparkApi-User-Agent' => "flexmls-WordPress-Plugin/3.14.2 8"46 'User-Agent' => "FlexMLS WordPress Plugin/3.14.29", 47 'X-SparkApi-User-Agent' => "flexmls-WordPress-Plugin/3.14.29" 48 48 ); 49 49 -
flexmls-idx/trunk/views/admin-settings-portal.php
r3209984 r3251292 23 23 <td> 24 24 <p> 25 <input type="text" class="regular-text" name="fmc_settings[oauth_key]" id="oauth_key" autocomplete="off" value="<?php echo ( isset( $fmc_settings[ 'oauth_key' ] ) ? $fmc_settings[ 'oauth_key' ]: '' ); ?>">25 <input type="text" class="regular-text" name="fmc_settings[oauth_key]" id="oauth_key" autocomplete="off" value="<?php echo ( isset( $fmc_settings[ 'oauth_key' ] ) ? esc_attr($fmc_settings[ 'oauth_key' ]) : '' ); ?>"> 26 26 </p> 27 27 </td> … … 32 32 </th> 33 33 <td> 34 <p><input type="<?php if( isset( $fmc_settings[ 'oauth_secret' ] ) ): ?>password<?php else: ?>text<?php endif; ?>" class="regular-text" name="fmc_settings[oauth_secret]" id="oauth_secret" autocomplete="off" value="<?php echo ( isset( $fmc_settings[ 'oauth_secret' ] ) ? $fmc_settings[ 'oauth_secret' ]: '' ); ?>"></p>34 <p><input type="<?php if( isset( $fmc_settings[ 'oauth_secret' ] ) ): ?>password<?php else: ?>text<?php endif; ?>" class="regular-text" name="fmc_settings[oauth_secret]" id="oauth_secret" autocomplete="off" value="<?php echo ( isset( $fmc_settings[ 'oauth_secret' ] ) ? esc_attr($fmc_settings[ 'oauth_secret' ]) : '' ); ?>"></p> 35 35 </td> 36 36 </tr>
Note: See TracChangeset
for help on using the changeset viewer.