Opened 10 years ago
Closed 10 years ago
#30206 closed defect (bug) (invalid)
get_stylesheet_directory_uri() includes space
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.0 |
Component: | General | Keywords: | |
Focuses: | Cc: |
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.
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.