[wp-trac] [WordPress Trac] #54723: _wp_customize_loader_settings 'host'

WordPress Trac noreply at wordpress.org
Mon Jan 3 16:43:43 UTC 2022


#54723: _wp_customize_loader_settings 'host'
--------------------------+-----------------------------
 Reporter:  lagios.di     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Undefined array key "host" in <b>wp-includes/theme.php</b> on line
 <b>3511</b>

 Because i want relative permalinks to my site i use a filter like this

 add_filter( 'home_url', function ($url){
 return set_url_scheme( $url, 'relative' );
 } );

 So, $home_origin['host'] in file theme.php produces Undefined array

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54723>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list