Opened 12 years ago
Closed 12 years ago
#30206 closed defect (bug) (invalid)
get_stylesheet_directory_uri() includes space
| Reported by: | kosher_12 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 4.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
for some reason, when I print or echo get_stylesheet_directory_uri() or get_template_directory_uri() it has a space before the slash that separates the domainame/IP and wp-content folder.
e.g.
echo get_stylesheet_directory_uri().'<br />'; echo get_template_directory_uri(); ##the output is something like this http://104.131.79.136 /wp-content/themes/insanity/ http://104.131.79.136 /wp-content/themes/twentyfourteen/
Server Info
CentOS Linux release 7.0.1406 (Core)
nginx version: nginx/1.6.2
PHP 5.4.16 (cli)
PHP 5.4.16 (fpm-fcgi)
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I suspect something like your stylesheet/template root or your content dir definition has a space in it. Recommend trying the support forums to confirm whether it's a setup or a core issue.