• Resolved volker0101

    (@volker0101)


    Hello,
    this plugin has a side-effect in the following situation:

    i have managed WordPress-site:
    i use the plugin:
    Custom CSS & JS Settings

    and have a JS-Code:

    function backClick() {
    	if (document.referrer.indexOf(window.location.host) !== -1) {
    	history.go(-1);return false;
    	}
    	else { window.location.href = 'https://schoblatt.de'; }
        }

    When a user comes from a external link, from mail for example,
    then there is no history and when he click to the back button,
    the user is landing on the homepage.
    When a user comes from a internal site and click the back button he goes back exactly from where he came.

    Then in the other plugin:
    PRyC WP: Add custom content to top/bottom of post

    the code for the button in the frontend:
    <input type=”button” value=”Zurück” onclick=”backClick()”; />

    when i activate in your plugin: “internal links”
    then the code above fails.
    the user is landing every-time on the homepage and not from where he came.

    When i disable “Internal links” in your plugin all works fine.

    ————————————–

    WordPress-URL:  https://schoblatt.de
    WordPress-Version:  5.7.2
    PHP-Version:  7.4.18
    Aktivierte Plugins:
     - 301 Redirects, version: 2.70
     - Advanced Editor Tools (previously TinyMCE Advanced), version: 5.6.0
     - Antispam Bee, version: 2.9.4
     - ARI Fancy Lightbox, version: 1.3.8
     - Bounce Handler Mailpoet, version: 1.3.21
     - Broken Link Checker, version: 1.11.15
     - Catch Breadcrumb, version: 1.5.9
     - Code Widget, version: 1.0.13
     - Disable Google Fonts, version: 2.0
     - Disable REST API, version: 1.6
     - Display Posts, version: 3.0.2
     - EditorsKit, version: 1.29.3
     - Email Encoder - Protect Email Addresses, version: 2.1.1
     - EWWW Image Optimizer, version: 6.1.5
     - GD Security Headers, version: 1.5
     - Google XML Sitemaps, version: 4.1.1
     - Health Check & Troubleshooting, version: 1.4.5
     - Ivory Search, version: 4.6.4
     - LH Fresh Content, version: 1.10
     - Limit Login Attempts Reloaded, version: 2.22.1
     - Loco Translate, version: 2.5.2
     - MailPoet 3 (New), version: 3.62.1
     - MailPoet 3 Premium (New), version: 3.62.0
     - Mobile Menu, version: 2.8.2.2
     - My Custom Functions, version: 4.49
     - Options for Twenty Seventeen, version: 2.3.8
     - Posts in Sidebar, version: 4.15.1
     - Print-O-Matic, version: 1.7.14
     - PRyC WP: Add custom content to post and page (top/bottom), version: 2.6.5
     - Reading Progress Bar, version: 1.2.3
     - Remove XMLRPC Pingback Ping, version: 1.3
     - Reset Customizer, version: 1.0.8
     - Responsive Sidebar, version: 1.2.2
     - Reveal IDs, version: 1.5.4
     - SEOPress, version: 4.7.0.1
     - Shariff Wrapper, version: 4.6.5
     - Shortcode Widget, version: 1.5.3
     - Simple Custom CSS and JS, version: 3.36
     - Smart User Slug Hider, version: 4.0.1
     - Statify, version: 1.8.2
     - Statify – Extended Evaluation, version: 2.6.1
     - Taxonomy Dropdown Widget, version: 2.3.1
     - UpdraftPlus - Backup/Restore, version: 1.16.56
     - Very Simple Event List, version: 12.7
     - Website Security Check, version: 1.2.00
     - Widget Context, version: 1.3.2
     - WP-Font-Resizer, version: 2.3
     - WP-Optimize - Clean, Compress, Cache, version: 3.1.9
     - wp-Typography, version: 5.7.2
     - WP External Links, version: 2.48
     - WP Rollback, version: 1.7.1
     - XV Random Quotes, version: 1.37
    
    WP External Links - Einstellungen:
    array(
    'wpel-external-link-settings' => array (
      'apply_settings' => '1',
      'target' => '_self',
      'target_overwrite' => '1',
      'rel_follow' => 'follow',
      'rel_follow_overwrite' => '1',
      'rel_noopener' => '1',
      'rel_noreferrer' => '1',
      'rel_external' => '1',
      'rel_sponsored' => '',
      'rel_ugc' => '',
      'title' => '{title}',
      'class' => 'sb_extlink',
      'icon_type' => '',
      'icon_image' => '1',
      'icon_dashicon' => 'dashicons-menu',
      'icon_fontawesome' => 'fa-address-book',
      'icon_position' => 'right',
      'no_icon_for_img' => '1',
    ),
    'wpel-internal-link-settings' => array (
      'apply_settings' => '',
      'target' => '_self',
      'target_overwrite' => '',
      'rel_follow' => 'follow',
      'rel_follow_overwrite' => '1',
      'rel_noopener' => '1',
      'rel_noreferrer' => '1',
      'title' => '{title}',
      'class' => 'sb_intlink',
      'icon_type' => '',
      'icon_image' => '1',
      'icon_dashicon' => 'dashicons-menu',
      'icon_fontawesome' => 'fa-address-book',
      'icon_position' => 'right',
      'no_icon_for_img' => '1',
    ),
    'wpel-excluded-link-settings' => array (
      'apply_settings' => '1',
      'target' => '',
      'target_overwrite' => '',
      'rel_follow' => 'follow',
      'rel_follow_overwrite' => '',
      'rel_noopener' => '1',
      'rel_noreferrer' => '1',
      'title' => '{title}',
      'class' => 'sb_ignlink',
      'icon_type' => '',
      'icon_image' => '1',
      'icon_dashicon' => 'dashicons-menu',
      'icon_fontawesome' => 'fa-address-book',
      'icon_position' => 'right',
      'no_icon_for_img' => '1',
    ),
    'wpel-exceptions-settings' => array (
      'apply_all' => '1',
      'apply_post_content' => '1',
      'apply_comments' => '1',
      'apply_widgets' => '1',
      'skip_post_ids' => '',
      'ignore_classes' => 'site-branding-text, site-title, navigation-top, menu-item, entry-title',
      'subdomains_as_internal_links' => '',
      'include_urls' => '',
      'exclude_urls' => '',
      'excludes_as_internal_links' => '',
      'ignore_script_tags' => '1',
      'ignore_mailto_links' => '1',
    ),
    'wpel-admin-settings' => array (
      'own_admin_menu' => '1',
    ),
    );

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author WebFactory

    (@webfactory)

    Hi,
    Thank you for your detailed report. We’ll look into this but I really can’t promise anything. Resolving such conflicts with plugins we didn’t write is extremely difficult and time-consuming.

Viewing 1 replies (of 1 total)

The topic ‘side-effect with other plugin’ is closed to new replies.