( ! ) 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.0003484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.31834087504require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.32324116496include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.32324116496get_header( $name = ???, $args = ??? ).../single.php:10
60.32324116712locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.32324116808load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.32364117352require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.32374124760wp_head( ).../header.php:18
100.32374124760do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.32374124976WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.32374124976WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.32394128392wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.32394128392do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.32394128608WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.32394128608WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.32404130496twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.32424132016wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.32424132016WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.32424132016WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.32424132016_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.32424132336wp_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.32424138720trigger_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.0003484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.31834087504require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.32324116496include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.32324116496get_header( $name = ???, $args = ??? ).../single.php:10
60.32324116712locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.32324116808load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.32364117352require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.32374124760wp_head( ).../header.php:18
100.32374124760do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.32374124976WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.32374124976WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.32394128392wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.32394128392do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.32394128608WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.32394128608WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.32404130496twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.34924139824wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.34924139824WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.34924139824WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.34924139824_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.34924140144wp_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.34934140368trigger_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

Font Style in XHTML MP

You can use tags to change the font style of the text in XHTML MP. However, some WAP browsers only support a subset of these tags, even though these tags are defined by the XHTML MP specification. This is because the WAP browser can only make use of the fonts available on the mobile device. For example, if the italic font is not available, the italic style is not supported. Unsupported XHTML MP tags will be ignored by WAP browsers and will not cause any errors.



<?xml version=”1.0″?>
<!DOCTYPE html PUBLIC “-//WAPFORUM//DTD XHTML Mobile 1.0//EN” “http://www.wapforum.org/DTD/xhtml-mobile10.dtd”>

<html xmlns=”http://www.w3.org/1999/xhtml”>
  <head>
    <title>Font Style</title>
  </head>

  <body>
    <p>
      <b>Bold</b><br/>
      <i>Italic</i><br/>
      <b><i>Bold italic</i></b><br/>
      <small>Small</small><br/>
      <big>Big</big><br/>
      <em>Emphasis</em><br/>
      <strong>Strong</strong>
    </p>
  </body>
</html>




The <b> and <i> tags means bold and italic respectively. The <small> tag reduces the text size. The <big> tag increases the text size. The <em> and <strong> styles are similar. The WAP browser will display text with emphasis (<em>) or strong (<strong>) style in some way that makes it more noticeable. The effect depends on the actual wireless device.


The following screenshots show the output of the above XHTML MP markup code in some WAP browsers. The result will be somewhat different on other mobile phone models.












Sony Ericsson T610



Nokia Mobile Browser 4.0




You can have more precise control over font formats with WAP CSS. For example, you can control the font family to be used or set a specific font size (e.g. 12pt) to some text.


The <u> tag of HTML does not exist in XHTML MP. So, if you want to underline some text, WAP CSS has to be used.

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.