wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_start_cross_origin_isolation_output_buffer is deprecated since version 7.2.0!
Alternative: wp_send_document_isolation_policy_header()
Alternative: wp_send_document_isolation_policy_header()
wp_start_cross_origin_isolation_output_buffer › WordPress Function
Since7.1.0
已弃用7.2.0
› wp_start_cross_origin_isolation_output_buffer ( 没有参数 )
| 查看: | |
| 定义在: |
|
| 文档: |
Starts an output buffer that sends the Document-Isolation-Policy header and adds crossorigin="anonymous" to cross-origin resources.
The attribute injection was dropped becauseisolate-and-credentialless
loads cross-origin resources without it, and forcing CORS mode broke
resources served without Access-Control-Allow-Origin. Only the header
is sent now.