( ! ) 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.0000484048{main}( ).../index.php:0
20.0000484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.10524091600require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.10604120592include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.10604120592get_header( $name = ???, $args = ??? ).../single.php:10
60.10604120808locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.10604120904load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.10604121448require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.10624128856wp_head( ).../header.php:18
100.10624128856do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.10624129072WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.10624129072WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10654132488wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10654132488do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10654132704WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10654132704WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10674134592twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.10694136112wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.10694136112WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.10694136112WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.10694136112_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.10694136432wp_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.10704142816trigger_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.0000484048{main}( ).../index.php:0
20.0000484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.10524091600require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.10604120592include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.10604120592get_header( $name = ???, $args = ??? ).../single.php:10
60.10604120808locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.10604120904load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.10604121448require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.10624128856wp_head( ).../header.php:18
100.10624128856do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.10624129072WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.10624129072WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10654132488wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10654132488do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10654132704WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10654132704WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10674134592twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.13474143920wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.13474143920WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.13474143920WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.13474143920_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.13474144240wp_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.13484144464trigger_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

Comments in XHTML MP

Comments are placed inside <!– –> in XHTML MP. This is the same as HTML and WML 1.x. For example, the following lines are comments. WAP browsers ignore all comments.




<!– This is a comment in XHTML MP –>


<!– This is a multi-line
     comment –>




Line Breaking in XHTML MP


<br/> is the line breaking tag in XHTML MP, which is the same as that in HTML and WML 1.x. The following example demonstrates the usage of line breaks:



<?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>Line Break</title>
  </head>

  <body>
    <p>
      Line 1<br/>
      Line 2<br/><br/>
      Line 3
    </p>
  </body>
</html>




The result should look like this in WAP browsers:












Sony Ericsson T610



Nokia Mobile Browser 4.0




XHTML MP Horizontal Rules


The <hr/> tag is used to add a horizontal rule to your XHTML MP page. Note that <hr/> should not be enclosed in the <p></p> tag pair.


The following example demonstrates the usage of horizontal rules in XHTML MP:


<?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>XHTML MP Tutorial</title>
  </head>

  <body>
    <p>
      Table of Contents:<br/>
    </p>
    <hr/>
    <p>
      Part 1 XHTML MP Introduction<br/>
      Part 2 Development of Wireless Markup Languages<br/>
      Part 3 Advantages of XHTML MP<br/>
      Part 4 WML Features Lost in XHTML MP
    </p>
  </body>
</html>




The following screenshots show the result of the above XHTML MP example in some mobile phone browsers:













Sony Ericsson T610



Nokia Mobile Browser 4.0

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.