• lofesa


    In your plugin file public/class-sassy-social-share-public.php at line 88:
    if ( isset( $this->options['amp_enable'] ) && function_exists( 'is_amp_endpoint' ) )

    if you have enabled the AMP plugin from Automattic and marked the amp option in the plugin you get the amp css loaded in normal pages, cause both are true.
    I see you have a is_amp_page function in this same file and check for AMP from Automattic and others amp plugins, so I think is better:
    if ( isset( $this->options['amp_enable'] ) && $this->is_amp_page() )

    • This topic was modified 2 months ago by lofesa.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.