( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0001484048{main}( ).../index.php:0
20.0008484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.31904097208require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.32534126200include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.32534126200get_header( $name = ???, $args = ??? ).../single.php:10
60.32534126416locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.32534126512load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.32574127056require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.32594134464wp_head( ).../header.php:18
100.32594134464do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.32594134680WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.32594134680WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.32624138096wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.32624138096do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.32624138312WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.32624138312WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.32644140200twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.32664141720wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.32664141720WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.32664141720WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.32664141720_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.32674147672wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.32674267208trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0001484048{main}( ).../index.php:0
20.0008484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.31904097208require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.32534126200include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.32534126200get_header( $name = ???, $args = ??? ).../single.php:10
60.32534126416locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.32534126512load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.32574127056require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.32594134464wp_head( ).../header.php:18
100.32594134464do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.32594134680WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.32594134680WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.32624138096wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.32624138096do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.32624138312WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.32624138312WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.32644140200twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.35514268312wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.35514268312WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.35514268312WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.35514268312_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.35514268632wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.35524268856trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

Removing HTML tags using mysql

Try this (ported from a T-SQL func by Robert Davis):


SET GLOBAL log_bin_trust_function_creators=1;
DROP FUNCTION IF EXISTS fnStripTags;
DELIMITER |
CREATE FUNCTION fnStripTags( Dirty varchar(4000) )
RETURNS varchar(4000)
DETERMINISTIC
BEGIN
  DECLARE iStart, iEnd, iLength int;
    WHILE Locate( ‘<‘, Dirty ) > 0 And Locate( ‘>’, Dirty, Locate( ‘<‘, Dirty )) > 0 DO
      BEGIN
        SET iStart = Locate( ‘<‘, Dirty ), iEnd = Locate( ‘>’, Dirty, Locate(‘<‘, Dirty ));
        SET iLength = ( iEnd – iStart) + 1;
        IF iLength > 0 THEN
          BEGIN
            SET Dirty = Insert( Dirty, iStart, iLength, ”);
          END;
        END IF;
      END;
    END WHILE;
    RETURN Dirty;
END;
|
DELIMITER ;
SELECT fnStripTags(‘this <html>is <b>a test</b>, nothing more</html>’);


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.