Packages
This lesson explains how to bundle classes and interfaces into packages, how to use classes that are in packages, and how to arrange your file system so that the compiler can find your source files.
| ( ! ) Deprecated: 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. in /var/www/html/wp-includes/functions.php on line 6131 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0000 | 484048 | {main}( ) | .../index.php:0 |
| 2 | 0.0000 | 484400 | require( '/var/www/html/wp-blog-header.php ) | .../index.php:17 |
| 3 | 0.1459 | 4083712 | require_once( '/var/www/html/wp-includes/template-loader.php ) | .../wp-blog-header.php:19 |
| 4 | 0.1465 | 4112704 | include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ) | .../template-loader.php:125 |
| 5 | 0.1465 | 4112704 | get_header( $name = ???, $args = ??? ) | .../single.php:10 |
| 6 | 0.1465 | 4112920 | locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ) | .../general-template.php:48 |
| 7 | 0.1465 | 4113016 | load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ) | .../template.php:749 |
| 8 | 0.1465 | 4113560 | require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ) | .../template.php:814 |
| 9 | 0.1467 | 4120968 | wp_head( ) | .../header.php:18 |
| 10 | 0.1467 | 4120968 | do_action( $hook_name = 'wp_head' ) | .../general-template.php:3197 |
| 11 | 0.1467 | 4121184 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:522 |
| 12 | 0.1467 | 4121184 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:365 |
| 13 | 0.1469 | 4124600 | wp_enqueue_scripts( '' ) | .../class-wp-hook.php:341 |
| 14 | 0.1469 | 4124600 | do_action( $hook_name = 'wp_enqueue_scripts' ) | .../script-loader.php:2311 |
| 15 | 0.1469 | 4124816 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:522 |
| 16 | 0.1469 | 4124816 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:365 |
| 17 | 0.1470 | 4126704 | twentyfifteen_scripts( '' ) | .../class-wp-hook.php:341 |
| 18 | 0.1471 | 4128224 | wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ) | .../functions.php:440 |
| 19 | 0.1471 | 4128224 | WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ) | .../functions.wp-styles.php:245 |
| 20 | 0.1472 | 4128224 | WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ) | .../class-wp-styles.php:385 |
| 21 | 0.1472 | 4128224 | _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 |
| 22 | 0.1472 | 4128544 | wp_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 |
| 23 | 0.1472 | 4134928 | trigger_error( $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:6131 |
| ( ! ) Deprecated: 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. in /var/www/html/wp-includes/functions.php on line 6131 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0000 | 484048 | {main}( ) | .../index.php:0 |
| 2 | 0.0000 | 484400 | require( '/var/www/html/wp-blog-header.php ) | .../index.php:17 |
| 3 | 0.1459 | 4083712 | require_once( '/var/www/html/wp-includes/template-loader.php ) | .../wp-blog-header.php:19 |
| 4 | 0.1465 | 4112704 | include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ) | .../template-loader.php:125 |
| 5 | 0.1465 | 4112704 | get_header( $name = ???, $args = ??? ) | .../single.php:10 |
| 6 | 0.1465 | 4112920 | locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ) | .../general-template.php:48 |
| 7 | 0.1465 | 4113016 | load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ) | .../template.php:749 |
| 8 | 0.1465 | 4113560 | require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ) | .../template.php:814 |
| 9 | 0.1467 | 4120968 | wp_head( ) | .../header.php:18 |
| 10 | 0.1467 | 4120968 | do_action( $hook_name = 'wp_head' ) | .../general-template.php:3197 |
| 11 | 0.1467 | 4121184 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:522 |
| 12 | 0.1467 | 4121184 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:365 |
| 13 | 0.1469 | 4124600 | wp_enqueue_scripts( '' ) | .../class-wp-hook.php:341 |
| 14 | 0.1469 | 4124600 | do_action( $hook_name = 'wp_enqueue_scripts' ) | .../script-loader.php:2311 |
| 15 | 0.1469 | 4124816 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:522 |
| 16 | 0.1469 | 4124816 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:365 |
| 17 | 0.1470 | 4126704 | twentyfifteen_scripts( '' ) | .../class-wp-hook.php:341 |
| 18 | 0.1764 | 4136032 | wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ) | .../functions.php:444 |
| 19 | 0.1764 | 4136032 | WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ) | .../functions.wp-styles.php:245 |
| 20 | 0.1764 | 4136032 | WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ) | .../class-wp-styles.php:385 |
| 21 | 0.1764 | 4136032 | _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 |
| 22 | 0.1764 | 4136352 | wp_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 |
| 23 | 0.1765 | 4136576 | trigger_error( $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:6131 |
This lesson explains how to bundle classes and interfaces into packages, how to use classes that are in packages, and how to arrange your file system so that the compiler can find your source files.