Skip to content

Commit

Permalink
Merge pull request #1092 from matipojo/release/1.0.8
Browse files Browse the repository at this point in the history
post-css-file: fix https issue
  • Loading branch information
KingYes committed Dec 27, 2016
2 parents d4897b7 + effcd6e commit d20e498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/posts-css/post-css-file.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ protected function set_path_and_url() {
$wp_upload_dir = wp_upload_dir( null, false );
$relative_path = sprintf( self::FILE_NAME_PATTERN, self::FILE_BASE_DIR, self::FILE_PREFIX, $this->post_id );
$this->path = $wp_upload_dir['basedir'] . $relative_path;
$this->url = $wp_upload_dir['baseurl'] . $relative_path;
$this->url = set_url_scheme( $wp_upload_dir['baseurl'] . $relative_path );
}

protected function get_meta() {
Expand Down

0 comments on commit d20e498

Please sign in to comment.