Skip to content

Commit

Permalink
Since plugins_url can relativize to the current file path, we do not …
Browse files Browse the repository at this point in the history
…need fwp_path global here.
  • Loading branch information
Rad Geek committed Oct 27, 2017
1 parent d9bc299 commit eac0e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feedwordpressadminpage.class.php
Expand Up @@ -382,7 +382,7 @@ public function display_feed_select_dropdown() {
public function display_sheet_header ($pagename = 'Syndication', $all = false) {
global $fwp_path;
?>
<div class="icon32"><img src="<?php print esc_html( plugins_url( '/'.$fwp_path.'/feedwordpress.png') ); ?>" alt="" /></div>
<div class="icon32"><img src="<?php print esc_attr( plugins_url( 'feedwordpress.png', __FILE__ ) ); ?>" alt="" /></div>
<h2><?php print esc_html(__($pagename.($all ? '' : ' Settings'))); ?><?php if ($this->for_feed_settings()) : ?>: <?php echo esc_html($this->link->name(/*from feed=*/ false)); ?><?php endif; ?></h2>
<?php
}
Expand Down

0 comments on commit eac0e85

Please sign in to comment.