( ! ) 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.0001484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.09484085520require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.09544114512include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.09544114512get_header( $name = ???, $args = ??? ).../single.php:10
60.09544114728locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.09544114824load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.09544115368require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.09554122776wp_head( ).../header.php:18
100.09554122776do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.09554122992WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.09554122992WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.09574126408wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.09574126408do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.09574126624WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.09574126624WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.09584128512twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.09604130032wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.09604130032WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.09604130032WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.09604130032_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.09604130352wp_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.09604136736trigger_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.0001484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.09484085520require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.09544114512include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.09544114512get_header( $name = ???, $args = ??? ).../single.php:10
60.09544114728locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.09544114824load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.09544115368require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.09554122776wp_head( ).../header.php:18
100.09554122776do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.09554122992WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.09554122992WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.09574126408wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.09574126408do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.09574126624WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.09574126624WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.09584128512twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.12354137840wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.12354137840WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.12354137840WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.12354137840_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.12354138160wp_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.12364138384trigger_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

Resin多域名绑定 one resin two hosts


Resin多域名绑定



需求:
group.XXX.com
XXX.group.XXX.com
都指向同一系统


 <host id=”group.aaa.com”>
 <host-alias-regexp>([a-zA-Z0-9.]+)roup\.([^.]+)\.com</host-alias-regexp>
 <host-name>${host-alias-regexp.regexp[1]}roup.${host-alias-regexp.regexp[2]}.com</host-name>
 <root-directory>.</root-directory>
 <web-app id=”/” document-directory=”e:\group_aaa”/>
 </host>
 
启动Resin后,访问
1234567
 http://a.group.aaa.com/
 http://group.aaa.com/
 http://group.bbb.com/
 http://a.group.bbb.com/
 


都能访问到同一系统。


本站使用的域名是
<host id=”strongd.net”>
  <host-alias-regexp>([a-zA-Z0-9.]+).strongd\.net</host-alias-regexp>
  <host-name>${host-alias-regexp.regexp[1]}.strongd.net</host-name>
  <root-directory>.</root-directory>


绑定指定的几个域名的方法也一样.例如只允许abc.cn/abc.com,gofor.cn,gofor.com,yes001.cn.yes001.com访问的话.可以这样写:


 <host id=”aaa.com”>
 <host-alias-regexp>([a-zA-Z0-9.]+).(abc|gofor|yes001+)\.(com|cn)</host-alias-regexp> 就在这个地方(abc|gofor|yes001+)\.(com|cn)
 <host-name>${host-alias-regexp.regexp[1]}.${host-alias-regexp.regexp[2]}.${host-alias-regexp.regexp[3]}</host-name> 使用了三个正则表达式,
 <root-directory>.</root-directory>
 <web-app id=”/” document-directory=”e:\group_aaa”/>
 </host>

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.