Plugin Directory

Changeset 3419850


Ignore:
Timestamp:
12/15/2025 09:33:47 AM (4 months ago)
Author:
formdev
Message:

1.2.7 enable default style

Location:
formdev/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • formdev/trunk/formdev.php

    r3407093 r3419850  
    55 * Plugin URI: https://www.form-dev.fr
    66 * Description: Synchroniser automatiquement les formations présentes dans votre CRM Formdev
    7  * Version: 1.2.6
     7 * Version: 1.2.7
    88 * Author: Formdev
    99 * Author URI: https://app.form-dev.fr
     
    1616// Définition de la version du plugin
    1717if (!defined('FORMEDEV_VERSION')) {
    18     define('FORMEDEV_VERSION', '1.2.6');
     18    define('FORMEDEV_VERSION', '1.2.7');
    1919}
    2020
     
    805805
    806806function 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);
    812811}
    813812
  • formdev/trunk/readme.txt

    r3407090 r3419850  
    55Tested up to: 6.8 
    66Requires PHP: 7.4 
    7 Stable tag: 1.2.6
     7Stable tag: 1.2.7
    88License: GPLv2 or later 
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html 
     
    6868
    6969== Changelog ==
     70= 1.2.7 =
     71* enable default style
     72
    7073= 1.2.6 =
    7174* add public concerné
Note: See TracChangeset for help on using the changeset viewer.