| @@ -15,9 +15,9 @@ | ||
| 15 | 15 | * @wordpress-plugin |
| 16 | 16 | * Plugin Name: WP Directory Kit |
| 17 | 17 | * Plugin URI: https://wpdirectorykit.com/plugins/wpdirectorykit.html |
| 18 | 18 | * Description: Build your Directory portal, demos for Real Estate Agencies and Car Dealership included |
| 19 | - * Version: 1.6.0 | |
| 19 | + * Version: 1.5.9 | |
| 20 | 20 | * Requires PHP: 7.0 |
| 21 | 21 | * Author: wpdirectorykit.com |
| 22 | 22 | * Author URI: https://wpdirectorykit.com |
| 23 | 23 | * License: GPL-2.0+ |
| @@ -41,9 +41,9 @@ | ||
| 41 | 41 | * Currently plugin version. |
| 42 | 42 | * Start at version 1.0.0 and use SemVer - https://semver.org |
| 43 | 43 | * Rename this for your plugin and update it as you release new versions. |
| 44 | 44 | */ |
| 45 | -define('WPDIRECTORYKIT_VERSION', '1.6.1'); | |
| 45 | +define('WPDIRECTORYKIT_VERSION', '1.5.9'); | |
| 46 | 46 | define('WPDIRECTORYKIT_NAME', 'wdk'); |
| 47 | 47 | define('WPDIRECTORYKIT_PATH', plugin_dir_path(__FILE__)); |
| 48 | 48 | define('WPDIRECTORYKIT_URL', plugin_dir_url(__FILE__)); |
| 49 | 49 | |
| @@ -133,9 +133,9 @@ | ||
| 133 | 133 | ); |
| 134 | 134 | |
| 135 | 135 | ?> |
| 136 | 136 | <div class="<?php echo esc_attr($class); ?> is-dismissible"> |
| 137 | - <p><?php echo wp_kses_post($text); // safe if you control it | |
| 137 | + <p><?php echo esc_html($text); // safe if you control it | |
| 138 | 138 | ?></p> |
| 139 | 139 | <a href="<?php echo esc_url($url); ?>"><button type="button" class="notice-dismiss"></button></a> |
| 140 | 140 | </div> |
| 141 | 141 | <?php |