• Hello guys,

    Could you please consider updating the Font Awesome library to the latest one, because you messed up the latest version with your admin inline style?

    wp_add_inline_style( 'font-awesome', $this->get_inline_style( 'font-awesome' ) );

    You set CSS styles with an important selector and if anyone else uses that font inside the dashboard you will mess up icons.

    Or if you can’t update the font, improve your code to load that inline styles only on your pages.

    public function enqueue_scripts() {
    			wp_register_style( 'font-awesome', "https://maxcdn.bootstrapcdn.com/font-awesome/{$this->font_awesome_version}/css/font-awesome.min.css", array(), $this->font_awesome_version );
    
    			wp_add_inline_style( 'font-awesome', $this->get_inline_style( 'font-awesome' ) );
    
    			wp_add_inline_style( 'dashicons', $this->get_inline_style( 'dashicons' ) );
    		}

    Best regards,
    Nenad

Viewing 1 replies (of 1 total)
  • Plugin Support Antonio La Rocca

    (@therock130)

    Hi Nenad

    Thank you for your report
    I’ll forward this message to the team that handles plugin-fw updates, and we will be sure to look into it

    We sure want to update FontAwesome to latest version, but this isn’t immediately possible, given the amount of changes that were introduced in version 5
    On the other hand, I agree with the need to change our inline style, to avoid customizing any FontAwesome version

    Please, stay tuned with our update feeds to be informed about progress on this manner
    Thank you once more, have a nice day

Viewing 1 replies (of 1 total)
  • The topic ‘Out of dated Font Awesome pack’ is closed to new replies.