Header breaking when logged in
-
The plugin is breaking how the <head> tag of my pages are being written. I’ve tried using a different theme (wp 2020) and the error still occurs. To reproduce the issue I enable the
wp-external-links
plugin and then visit any page on my site while logged in. If I am logged out then the website loads normally. The error also only occurs on pages, not posts.Result:
Everything from the opening <html> tag to a <script> tag is removed. It is not the first script tag.The technical information below:
WP url: https://grmdgs.com
WP version: 5.4.1
PHP version: 7.3.17
Active Plugins:
– Akismet Anti-Spam, version: 4.1.5
– Blocks Kit – Gutenberg Blocks for Freelancers, version: 1.0.4
– CodeMirror Blocks, version: 1.2.3
– Custom CSS, version: 2.0.3
– EditorsKit, version: 1.29
– Enable Media Replace, version: 3.3.12
– Encyclopedia Lite, version: 1.7.34
– Highlighting Code Block, version: 1.1.0
– Internal Link Juicer, version: 1.1.5.2
– Nested Pages, version: 3.1.10
– Simple Code Block, version: 1.2.2
– Simple Definition List Blocks, version: 0.1.5
– Site Kit by Google, version: 1.8.0
– WP External Links, version: 2.43
– WP Force SSL, version: 1.55
– Yoast SEO, version: 14.0.4WPEL Settings:
array(
‘wpel-external-link-settings’ => array (
‘apply_settings’ => ‘1’,
‘target’ => ‘_blank’,
‘target_overwrite’ => ”,
‘rel_follow’ => ”,
‘rel_follow_overwrite’ => ”,
‘rel_noopener’ => ‘1’,
‘rel_noreferrer’ => ‘1’,
‘rel_external’ => ‘1’,
‘rel_sponsored’ => ”,
‘rel_ugc’ => ”,
‘title’ => ‘{title}’,
‘class’ => ”,
‘icon_type’ => ‘image’,
‘icon_image’ => ‘6’,
‘icon_dashicon’ => ‘dashicons-smartphone’,
‘icon_fontawesome’ => ‘fa-bath’,
‘icon_position’ => ‘right’,
‘no_icon_for_img’ => ”,
),
‘wpel-internal-link-settings’ => array (
‘apply_settings’ => ”,
‘target’ => ”,
‘target_overwrite’ => ”,
‘rel_follow’ => ”,
‘rel_follow_overwrite’ => ”,
‘rel_noopener’ => ‘1’,
‘rel_noreferrer’ => ‘1’,
‘title’ => ‘{title}’,
‘class’ => ”,
‘icon_type’ => ”,
‘icon_image’ => ‘1’,
‘icon_dashicon’ => ”,
‘icon_fontawesome’ => ”,
‘icon_position’ => ‘right’,
‘no_icon_for_img’ => ‘1’,
),
‘wpel-excluded-link-settings’ => array (
‘apply_settings’ => ”,
‘target’ => ”,
‘target_overwrite’ => ”,
‘rel_follow’ => ”,
‘rel_follow_overwrite’ => ”,
‘rel_noopener’ => ‘1’,
‘rel_noreferrer’ => ‘1’,
‘title’ => ‘{title}’,
‘class’ => ”,
‘icon_type’ => ”,
‘icon_image’ => ‘1’,
‘icon_dashicon’ => ”,
‘icon_fontawesome’ => ”,
‘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’ => ”,
‘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 topic ‘Header breaking when logged in’ is closed to new replies.