Changeset 3419850
- Timestamp:
- 12/15/2025 09:33:47 AM (4 months ago)
- Location:
- formdev/trunk
- Files:
-
- 2 edited
-
formdev.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
formdev/trunk/formdev.php
r3407093 r3419850 5 5 * Plugin URI: https://www.form-dev.fr 6 6 * Description: Synchroniser automatiquement les formations présentes dans votre CRM Formdev 7 * Version: 1.2. 67 * Version: 1.2.7 8 8 * Author: Formdev 9 9 * Author URI: https://app.form-dev.fr … … 16 16 // Définition de la version du plugin 17 17 if (!defined('FORMEDEV_VERSION')) { 18 define('FORMEDEV_VERSION', '1.2. 6');18 define('FORMEDEV_VERSION', '1.2.7'); 19 19 } 20 20 … … 805 805 806 806 function formdev_fdcontent($content) { 807 $content = str_replace(["<p>", "</p>"], "<br>", $content); 808 $content = str_replace(["<div>", "</div>"], "<br>", $content); 809 $content = strip_tags($content, '<br><img>'); 810 //$content = str_replace('- ','</li><li class="list">',$content); 811 return $content; 807 // Préserve la mise en forme en autorisant les balises standard d'un contenu WordPress 808 // (paragraphes, listes, titres, liens, images, etc.) tout en filtrant les balises non sûres. 809 $allowed_tags = wp_kses_allowed_html('post'); 810 return wp_kses($content, $allowed_tags); 812 811 } 813 812 -
formdev/trunk/readme.txt
r3407090 r3419850 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 1.2. 67 Stable tag: 1.2.7 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 68 68 69 69 == Changelog == 70 = 1.2.7 = 71 * enable default style 72 70 73 = 1.2.6 = 71 74 * add public concerné
Note: See TracChangeset
for help on using the changeset viewer.