Support » Plugin: SAML SP Single Sign On - SSO login » Frontend Assets (JS/CSS)

  • Resolved fuchsws


    It seems the plugin is loading JS and CSS on the user frontend which are only required in the wp-admin backend.

    In the case of jquery UI this can actually lead to layout problems for existing elements.

    If thoses assets are not required, could you restrict the loading only to the backend please?


Viewing 2 replies - 1 through 2 (of 2 total)
  • jakebellacera


    These assets are actually required for the shortcode SSO button to work properly, which can be used on the frontend. I wasn’t going to utilize this feature, so I just removed the action that enqueued the assets in my theme’s functions.php file:

    if (function_exists('plugin_settings_style_widget')) {
      remove_action('wp_enqueue_scripts', 'plugin_settings_style_widget');
    if (function_exists('plugin_settings_script_widget')) {
      remove_action('wp_enqueue_scripts', 'plugin_settings_script_widget');
    • This reply was modified 3 years ago by jakebellacera. Reason: clarified that the code should go into the functions.php
    Plugin Author miniOrange



    We have handled this issue in the latest version of the plugin. You can upgrade to latest version of the plugin.

    miniOrange Team

    • This reply was modified 2 years, 7 months ago by miniOrange.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Frontend Assets (JS/CSS)’ is closed to new replies.