Plugin Directory

Changeset 3251292


Ignore:
Timestamp:
03/05/2025 07:09:41 PM (12 months ago)
Author:
flexmls
Message:

Flexmls WordPress plugin 3.14.29

Location:
flexmls-idx/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • flexmls-idx/trunk/README.txt

    r3244001 r3251292  
    55Tested up to: 6.7.2
    66Requires PHP: 7.4
    7 Stable tag: 3.14.28
     7Stable tag: 3.14.29
    88
    99Add Flexmls® IDX listings, market statistics, IDX searches, and a contact form on your web site.
     
    8686
    8787== Changelog ==
     88= 3.14.29 =
     89Efficiency Update
     90* Security Improvements
     91
    8892= 3.14.28 =
    8993Efficiency Update
  • flexmls-idx/trunk/flexmls_connect.php

    r3244001 r3251292  
    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.28
     8Version: 3.14.29
    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.28';
     19const FMC_PLUGIN_VERSION = '3.14.29';
    2020
    2121define( 'FMC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • flexmls-idx/trunk/lib/base.php

    r3209984 r3251292  
    271271    }
    272272
    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   
    274286  }
    275287
  • flexmls-idx/trunk/lib/flexmlsAPI/Core.php

    r3244001 r3251292  
    4444        'Accept-Encoding' => "gzip,deflate",
    4545        'Content-Type' => "application/json",
    46         'User-Agent' => "FlexMLS WordPress Plugin/3.14.28",
    47         'X-SparkApi-User-Agent' => "flexmls-WordPress-Plugin/3.14.28"
     46        'User-Agent' => "FlexMLS WordPress Plugin/3.14.29",
     47        'X-SparkApi-User-Agent' => "flexmls-WordPress-Plugin/3.14.29"
    4848    );
    4949
  • flexmls-idx/trunk/views/admin-settings-portal.php

    r3209984 r3251292  
    2323                <td>
    2424                    <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' ]) : '' ); ?>">
    2626                    </p>
    2727                </td>
     
    3232                </th>
    3333                <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>
    3535                </td>
    3636            </tr>
Note: See TracChangeset for help on using the changeset viewer.