( ! ) 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.06194086496require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.06264115488include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.06264115488get_header( $name = ???, $args = ??? ).../single.php:10
60.06264115704locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.06264115800load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.06264116344require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.06274123752wp_head( ).../header.php:18
100.06274123752do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.06274123968WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.06274123968WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.06294127384wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.06294127384do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.06294127600WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.06294127600WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.06304129488twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.06324131008wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.06324131008WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.06324131008WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.06324131008_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.06324131328wp_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.06324137712trigger_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.06194086496require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.06264115488include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.06264115488get_header( $name = ???, $args = ??? ).../single.php:10
60.06264115704locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.06264115800load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.06264116344require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.06274123752wp_head( ).../header.php:18
100.06274123752do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.06274123968WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.06274123968WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.06294127384wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.06294127384do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.06294127600WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.06294127600WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.06304129488twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.09374138816wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.09374138816WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.09374138816WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.09374138816_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.09374139136wp_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.09384139360trigger_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

Modifying a Manifest File

Modifying a Manifest File

You use the m command-line option to add custom information to the manifest during creation of a JAR file. This section describes the m option.

The Jar tool automatically puts a default manifest with the pathname META-INF/MANIFEST.MF into any JAR file you create. You can enable special JAR file functionality, such as package sealing, by modifying the default manifest. Typically, modifying the default manifest involves adding special-purpose headers to the manifest that allow the JAR file to perform a particular desired function.


To modify the manifest, you must first prepare a text file containing the information you wish to add to the manifest. You then use the Jar tool’s m option to add the information in your file to the manifest.





Warning :  The text file from which you are creating the manifest must end with a new line or carriage return. The last line will not be parsed properly if it does not end with a new line or carriage return.




The basic command has this format:


jar cfm jar-file manifest-addition input-file(s)

Let’s look at the options and arguments used in this command:

The m and f options must be in the same order as the corresponding arguments.






Note : The contents of the manifest must be encoded in UTF8.




The remaining sections of this lesson demonstrate specific modifications you may want to make to the manifest file.


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.