Ticket #21749: 21749.patch
| File 21749.patch, 713 bytes (added by SergeyBiryukov, 9 months ago) |
|---|
-
wp-includes/class-wp-theme.php
794 794 * @return string URL to the stylesheet directory. 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() . '/' . rawurlencode( $this->stylesheet ); 798 798 } 799 799 800 800 /** … … 814 814 else 815 815 $theme_root_uri = $this->get_theme_root_uri(); 816 816 817 return $theme_root_uri . '/' . $this->template;817 return $theme_root_uri . '/' . rawurlencode( $this->template ); 818 818 } 819 819 820 820 /**
