[wp-trac] [WordPress Trac] #30206: get_stylesheet_directory_uri() includes space
WordPress Trac
noreply at wordpress.org
Fri Oct 31 01:21:35 UTC 2014
#30206: get_stylesheet_directory_uri() includes space
--------------------------+-----------------------------
Reporter: kosher_12 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.0
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30206>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list