[wp-trac] [WordPress Trac] #32705: `includes_url` shouldn't use `site_url()` on the frontend

WordPress Trac noreply at wordpress.org
Thu Jun 18 15:18:10 UTC 2015


#32705: `includes_url` shouldn't use `site_url()` on the frontend
----------------------------+-----------------
 Reporter:  wonderboymusic  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  4.3
Component:  Permalinks      |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------
 Multisite / Domain Mapping

 1. `site_url()` is your admin, `home_url()` is your frontend
 1. The site url is blocked behind a firewall
 1. You call `includes_url()` for a script on the frontend: your script is
 blocked, because it loads your admin domain on the frontend

 I noticed this because we are trying to upgrade the NYT to 4.2.* and emoji
 scripts are showing up everywhere.
 I can remove the action for now.

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


More information about the wp-trac mailing list