Skip to content

Commit fbd9f06

Browse files
committed
Code cleanup
2 parents 26aee0f + 58b174f commit fbd9f06

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ethos-stats-plugin.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,13 @@ function ethos_stats_settings_init() {
5858

5959
function ethos_stats_plugin_styles() {
6060
wp_enqueue_style('EthosStatsStyles', plugins_url('style.css', __FILE__));
61+
wp_enqueue_style('EthosStatsStyles-FontAwesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
6162
}
63+
64+
function ethos_stats_plugin_scripts() {
65+
66+
}
67+
6268
function ethos_stats_settings_setup() {
6369
echo __('These default settings are used to connect to your panel', 'ethosstats') . '.';
6470
}

lib/EthosStatsWidget.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public function __construct()
2222
* @param $instance
2323
*/
2424
public function widget($args, $instance) {
25-
echo '<script src="https://use.fontawesome.com/d94b032d9e.js"></script>';
2625
echo '<h1 class="widget-title">' . $instance['title'] . '</h1>';
2726
echo '<div class="ethos-stats-widget-container">';
2827

0 commit comments

Comments
 (0)