Skip to content

Commit

Permalink
Updated Font Awesome from 4.7 to 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dmhendricks committed Dec 17, 2018
1 parent 80fbe1e commit 90454cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/EnqueueScripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private function enqueue_common_scripts() {
*/
public function enqueue_font_awesome() {

wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', null, '4.7.0', true );
wp_enqueue_style( 'font-awesome', 'https://use.fontawesome.com/releases/v5.6.1/css/all.css', null, null, true );

}

Expand Down
2 changes: 1 addition & 1 deletion app/Settings/Settings_Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private function create_tabbed_options_page() {
Field::make( 'checkbox', $this->prefix( 'remove_header_emojicons' ), __( 'Remove Emoji Code From Page Headers', self::$textdomain ) )
->help_text( __( 'Checking this box will remove the default Emoji code from page headers.', self::$textdomain ) ),
Field::make( 'set', $this->prefix( 'enqueue_font_awesome' ), __( 'Load Font Awesome from CDN', self::$textdomain ) )
->help_text( __( 'Load <a href="http:https://fontawesome.io/" target="_blank">Font Awesome</a> from <a href="https://www.bootstrapcdn.com/fontawesome/" target="_blank">CDN</a>.', self::$textdomain ) )
->help_text( __( 'Load <a href="http:https://fontawesome.io/" target="_blank">Font Awesome</a> from <a href="https://fontawesome.com/start" target="_blank">CDN</a>.', self::$textdomain ) )
->set_default_value( 'backend' )
->add_options( array(
'frontend' => __( 'Frontend', self::$textdomain ),
Expand Down

0 comments on commit 90454cb

Please sign in to comment.