Changeset 21712
- Timestamp:
- 09/03/2012 11:57:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-theme.php
r21686 r21712 795 795 */ 796 796 public function get_stylesheet_directory_uri() { 797 return $this->get_theme_root_uri() . '/' . $this->stylesheet;797 return $this->get_theme_root_uri() . '/' . str_replace( '%2F', '/', rawurlencode( $this->stylesheet ) ); 798 798 } 799 799 … … 815 815 $theme_root_uri = $this->get_theme_root_uri(); 816 816 817 return $theme_root_uri . '/' . $this->template;817 return $theme_root_uri . '/' . str_replace( '%2F', '/', rawurlencode( $this->template ) ); 818 818 } 819 819
Note: See TracChangeset
for help on using the changeset viewer.