No External Links 5.0.4.2

Does Mihdan: No External Links work with WordPress 6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
6PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 154.87 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/mihdan-no-external-links/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 12

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=mihdan-no-external-links%2Fmihdan-no-external-links.php&plugin_status=all&paged=1&s&_wpnonce=d0c64d2b66
Aspect after-activation
HTTP status 200
Load time 0.287 s
Memory usage 3.18 MiB
JS errors None
Resource errors None

External Links

Page screenshot: External Links
URL /wp-admin/admin.php?page=mihdan-no-external-links
Aspect menu-item
HTTP status 200
Load time 0.170 s
Memory usage 3.18 MiB
JS errors None
Resource errors None

External Links → Links

Page screenshot: External Links → 
			Links
URL /wp-admin/admin.php?page=mihdan-no-external-links&tab=links
Aspect menu-item-tab
HTTP status 200
Load time 0.155 s
Memory usage 3.13 MiB
JS errors None
Resource errors None

External Links → SEO hide

Page screenshot: External Links → 
			SEO hide
URL /wp-admin/admin.php?page=mihdan-no-external-links&tab=seo_hide
Aspect menu-item-tab
HTTP status 200
Load time 0.157 s
Memory usage 3.13 MiB
JS errors None
Resource errors None

External Links → Include / Exclude

Page screenshot: External Links → 
			Include / Exclude
URL /wp-admin/admin.php?page=mihdan-no-external-links&tab=include_exclude
Aspect menu-item-tab
HTTP status 200
Load time 0.158 s
Memory usage 3.13 MiB
JS errors None
Resource errors None

External Links → Advanced

Page screenshot: External Links → 
			Advanced
URL /wp-admin/admin.php?page=mihdan-no-external-links&tab=advanced
Aspect menu-item-tab
HTTP status 200
Load time 0.151 s
Memory usage N/A
JS errors None
Resource errors None

External Links → Plugins

Page screenshot: External Links → 
			Plugins
URL /wp-admin/admin.php?page=mihdan-no-external-links&tab=plugins
Aspect menu-item-tab
HTTP status 200
Load time 0.662 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

External Links → Masks

Page screenshot: External Links → Masks
URL /wp-admin/admin.php?page=mihdan-no-external-links-masks
Aspect menu-item
HTTP status 200
Load time 0.156 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

External Links → Logs

Page screenshot: External Links → Logs
URL /wp-admin/admin.php?page=mihdan-no-external-links-logs
Aspect menu-item
HTTP status 200
Load time 0.147 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.222 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.711 s
Memory usage 5.17 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.566 s
Memory usage 5.16 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.261 s0.249 s-0.012 s3.07 MiB3.22 MiB+ 149.98 KiB
/wp-admin/edit.php0.175 s0.197 s+0.022 s3.1 MiB3.29 MiB+ 198.97 KiB
/wp-admin/post-new.php0.738 s0.971 s+0.233 s5.02 MiB5.17 MiB+ 151.63 KiB
/wp-admin/upload.php0.518 s0.444 s-0.074 s3.02 MiB3.15 MiB+ 132.98 KiB
/wp-admin/options-writing.php0.173 s0.166 s-0.007 s3.01 MiB3.15 MiB+ 142.34 KiB
/wp-admin/media-new.php0.268 s0.239 s-0.029 s2.99 MiB3.13 MiB+ 146.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.173 s0.193 s+0.020 s3.01 MiB3.17 MiB+ 170.69 KiB
/wp-admin/post-new.php?post_type=page0.554 s0.599 s+0.045 s5.01 MiB5.16 MiB+ 147.23 KiB
/wp-admin/options-discussion.php0.214 s0.256 s+0.042 s3 MiB3.15 MiB+ 156.08 KiB
/wp-admin/edit-comments.php0.195 s0.201 s+0.006 s3.03 MiB3.18 MiB+ 152.66 KiB
/0.309 s0.198 s-0.111 s2.97 MiB3.12 MiB+ 154.93 KiB
Average 0.325 s0.338 s+0.012 s3.38 MiB3.54 MiB+ 154.87 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP96.4%3,7011,53919
JavaScript2.6%9802
CSS1.1%4202
Total 3,841 1,539 23

PHP Code Analysis | More results »

Lines of code 3,513
Total complexity 479
Median class complexity 21.5
Median method complexity 1.0
Most complex class Mihdan\No_External_Links\Frontend
Most complex function Mihdan\No_External_Links\Upgrader::upgrade()
Classes 12
Methods 136
Functions 0

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 2

Options wp_options 3

Meta Boxes

{
    "post": {
        "mihdan-no-external-links-meta-box": {
            "title": "Link Masking",
            "context": "side"
        }
    },
    "page": {
        "mihdan-no-external-links-meta-box": {
            "title": "Link Masking",
            "context": "side"
        }
    }
}

PHP Error Log 19 lines

[01-Apr-2023 00:33:14 UTC] PHP Warning:  Undefined property: stdClass::$custom_parser in /wp-content/plugins/mihdan-no-external-links/admin/Admin.php on line 2171
[01-Apr-2023 00:33:15 UTC] PHP Warning:  Undefined property: stdClass::$custom_parser in /wp-content/plugins/mihdan-no-external-links/admin/Admin.php on line 2171
[01-Apr-2023 00:33:16 UTC] PHP Warning:  Undefined property: stdClass::$custom_parser in /wp-content/plugins/mihdan-no-external-links/admin/Admin.php on line 2171
[01-Apr-2023 00:33:16 UTC] PHP Warning:  Undefined property: stdClass::$custom_parser in /wp-content/plugins/mihdan-no-external-links/admin/Admin.php on line 2171
[01-Apr-2023 00:33:17 UTC] PHP Warning:  Undefined property: stdClass::$custom_parser in /wp-content/plugins/mihdan-no-external-links/admin/Admin.php on line 2171
[01-Apr-2023 00:33:17 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /wp-content/plugins/mihdan-no-external-links/admin/Admin.php:1397
Stack trace:
#0 /wp-content/plugins/mihdan-no-external-links/admin/Admin.php(1397): in_array()
#1 /wp-admin/includes/template.php(1826): Mihdan\No_External_Links\Admin\Admin->bot_targeting_cb()
#2 /wp-admin/includes/template.php(1780): do_settings_fields()
#3 /wp-content/plugins/mihdan-no-external-links/admin/partials/settings.php(72): do_settings_sections()
#4 /wp-content/plugins/mihdan-no-external-links/admin/Admin.php(357): include_once('...')
#5 /wp-includes/class-wp-hook.php(308): Mihdan\No_External_Links\Admin\Admin->display_settings_page()
#6 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#7 /wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /wp-admin/admin.php(259): do_action()
#9 {main}
  thrown in /wp-content/plugins/mihdan-no-external-links/admin/Admin.php on line 1397
[01-Apr-2023 00:33:18 UTC] PHP Warning:  Undefined property: stdClass::$custom_parser in /wp-content/plugins/mihdan-no-external-links/admin/Admin.php on line 2171
See also: All tests for this plugin, How to Hide No External Links Admin Menus and Meta Boxes