( ! ) 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.02924085296require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.02974114288include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.02974114288get_header( $name = ???, $args = ??? ).../single.php:10
60.02974114504locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.02974114600load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.02984115144require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.09374122552wp_head( ).../header.php:18
100.09374122552do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.09374122768WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.09374122768WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.09414126184wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.09414126184do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.09414126400WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.09414126400WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.09424128288twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.09444129808wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.09444129808WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.09444129808WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.09444129808_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.09444130128wp_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.09444136512trigger_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.02924085296require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.02974114288include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.02974114288get_header( $name = ???, $args = ??? ).../single.php:10
60.02974114504locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.02974114600load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.02984115144require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.09374122552wp_head( ).../header.php:18
100.09374122552do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.09374122768WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.09374122768WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.09414126184wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.09414126184do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.09414126400WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.09414126400WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.09424128288twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.12014137616wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.12014137616WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.12014137616WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.12014137616_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.12014137936wp_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.12024138160trigger_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

Generating Code Automatically Using Custom code Template In Eclipse

One of the good features of Eclipse is its auto fill property. This can be further enhanced using its code template feature. Creation of code templates is necessary to improve development productivity. Templates add consistency and uniformity to your code. Eclipse has so many ready-to-use templates. And you can create your own code templates according to your requirements. To use these templates just type the starting characters of the template and then press “CTRL+SPACE”. For example in Ecipse IDE type “tr” and then press “CTRL+SPACE”, It will add “try-catch” block to the code.



This article will guide you to create your own code template. Let us take an example to generate a “if-else” template with one “else if” condition.



  1. Go to the Templates ( Window –> Preference –> java–> Editor –> Templates) .

  2. Click “New”. A window similiar to below appears.

  3. 1.JPG


  4. Fill the details as shown above.

  5. Click “OK”.

  6. Now you can use your custom template in the program like any other template by pressing “CTRL+SPACE” as shown in the below given screenshots.

2.JPG


3.JPG


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.