Skip to content

Commit

Permalink
Pulling style sheet incorrectly.
Browse files Browse the repository at this point in the history
Closes UCFGH-2.
  • Loading branch information
beck committed Jun 9, 2011
1 parent 39259aa commit d281f99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: A theme updater for GitHub hosted Wordpress themes. This Wordpress plugin automatically checks GitHub for theme updates and enables automatic install. For more information read <a href="https://github.com/UCF/Theme-Updater/blob/master/readme.markdown">plugin documentation</a>.
Author: Douglas Beck
Author: UCF Web Communications
Version: 1.3.2
Version: 1.3.3
*/

require_once('assets.php');
Expand All @@ -18,7 +18,7 @@ function transient_update_themes_filter($data){

// Get Theme's URI
if(isset($theme['Stylesheet Files'][0]) && is_readable($theme['Stylesheet Files'][0])){
$theme_file = $theme['Stylesheet Files'][0];
$theme_file = $theme['Stylesheet Dir'] . '/style.css';
$default_headers = array('UpdateURI' => 'Github Theme URI');
$theme_data = get_file_data( $theme_file, $default_headers, 'theme' );
if(empty($theme_data['UpdateURI'])){
Expand Down

0 comments on commit d281f99

Please sign in to comment.