Permalink
Browse files

No need for quotes around $stylesheet variable.

  • Loading branch information...
1 parent 9415e58 commit 2564f0eb0252c0a3588031b92a1e123c04df40c5 @justintadlock committed Sep 12, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 extensions/post-stylesheets.php
@@ -138,13 +138,13 @@ function post_stylesheets_stylesheet_uri( $stylesheet_uri, $stylesheet_dir_uri )
if ( !empty( $stylesheet ) ) {
/* If the stylesheet is found in the child theme, use it. */
- if ( file_exists( trailingslashit( get_stylesheet_directory() ) . "{$stylesheet}" ) ) {
- $stylesheet_uri = trailingslashit( $stylesheet_dir_uri ) . "{$stylesheet}";
+ if ( file_exists( trailingslashit( get_stylesheet_directory() ) . $stylesheet ) ) {
+ $stylesheet_uri = trailingslashit( $stylesheet_dir_uri ) . $stylesheet;
}
/* Else, if the stylesheet is found in the parent theme, use it. */
- elseif ( file_exists( trailingslashit( get_template_directory() ) . "{$stylesheet}" ) ) {
- $stylesheet_uri = trailingslashit( get_template_directory_uri() ) . "{$stylesheet}";
+ elseif ( file_exists( trailingslashit( get_template_directory() ) . $stylesheet ) ) {
+ $stylesheet_uri = trailingslashit( get_template_directory_uri() ) . $stylesheet;
}
/* @deprecated 0.4.0 Back compatibility. */

0 comments on commit 2564f0e

Please sign in to comment.