Plugin Directory

Changeset 3259601


Ignore:
Timestamp:
03/21/2025 09:44:09 AM (10 months ago)
Author:
SaifuMak
Message:

fixed a bug with css inputs

Location:
add-custom-codes/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • add-custom-codes/trunk/add-custom-codes.php

    r3255819 r3259601  
    33 * Plugin Name: Add Custom Codes - Insert Header, Footer, Custom Code Snippets
    44 * Description: Light-weight plugin to add Custom CSS, Javascript, Google Analytics, Search console verification tags and other custom code snippets to your Wordpress website. Go to <em>Appearance -> Add Custom Codes</em> after installing the plugin.
    5  * Version: 4.7
     5 * Version: 4.71
    66 * Author: Saifudheen Mak
    77 * Author URI: https://maktalseo.com
     
    200200        $accodes_global_css = get_global_custom_css();
    201201        //escape
    202         echo '<!-- Global CSS by Add Custom Codes --> <style type="text/css"> '.esc_html($accodes_global_css).' </style> <!-- End - Global CSS by Add Custom Codes -->';
     202        echo '<!-- Global CSS by Add Custom Codes --> <style type="text/css"> '.wp_strip_all_tags($accodes_global_css).' </style> <!-- End - Global CSS by Add Custom Codes -->';
    203203    }
    204204}
     
    213213        $accodes_global_css = get_global_custom_css();
    214214        //escape
    215         echo '<!-- Global CSS by Add Custom Codes --> <style type="text/css"> '.esc_html($accodes_global_css).' </style> <!-- End - Global CSS by Add Custom Codes -->';
     215        echo '<!-- Global CSS by Add Custom Codes --> <style type="text/css"> '.wp_strip_all_tags($accodes_global_css).' </style> <!-- End - Global CSS by Add Custom Codes -->';
    216216    }
    217217}
  • add-custom-codes/trunk/readme.txt

    r3255819 r3259601  
    66Tested up to: 6.7.2
    77Requires PHP: 7.4
    8 Stable tag: 4.7
     8Stable tag: 4.71
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    105105* Option to Add custom codes to taxonomy pages
    106106
     107= 4.71 =
     108* Fixed a bug with css inputs
     109
    107110== Upgrade Notice ==
    108111
     
    139142= 4.7 =
    140143Bug fixes & improvements. Option to add Custom Codes to taxonomy pages.
     144
     145= 4.71 =
     146Fixed a bug with css inputs
Note: See TracChangeset for help on using the changeset viewer.