No External Links 5.1.3

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

Summary

Errors
No PHP errors, warnings or notices
6JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 155.55 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.5.3
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=4698040f73
Aspect after-activation
HTTP status 200
Load time 0.276 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

No External Links

Page screenshot: No External Links
URL /wp-admin/admin.php?page=mihdan-no-external-links
Aspect menu-item
HTTP status 200
Load time 0.445 s
Memory usage 3.55 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'value')\n    at Function.fg [as fromTextArea] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.5.3:2:1977)\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=mihdan-no-external-links:53:36)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

No External Links → Links

Page screenshot: No 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.244 s
Memory usage 3.5 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'value')\n    at Function.fg [as fromTextArea] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.5.3:2:1977)\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=mihdan-no-external-links&tab=links:53:36)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

No External Links → SEO hide

Page screenshot: No 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.180 s
Memory usage 3.5 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'value')\n    at Function.fg [as fromTextArea] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.5.3:2:1977)\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=mihdan-no-external-links&tab=seo_hide:53:36)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

No External Links → Include / Exclude

Page screenshot: No 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.191 s
Memory usage 3.5 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'value')\n    at Function.fg [as fromTextArea] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.5.3:2:1977)\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=mihdan-no-external-links&tab=include_exclude:53:36)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

No External Links → Advanced

Page screenshot: No 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.203 s
Memory usage 3.54 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'value')\n    at Function.fg [as fromTextArea] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.5.3:2:1977)\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=mihdan-no-external-links&tab=advanced:53:36)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

No External Links → Plugins

Page screenshot: No 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.578 s
Memory usage 4.09 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'value')\n    at Function.fg [as fromTextArea] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.5.3:2:1977)\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=mihdan-no-external-links&tab=plugins:53:36)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,wp-codemirror&ver=6.5.3:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

No External Links → Masks

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

No External Links → Logs

Page screenshot: No External Links → Logs
URL /wp-admin/admin.php?page=mihdan-no-external-links-logs
Aspect menu-item
HTTP status 200
Load time 0.174 s
Memory usage 3.52 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.226 s
Memory usage 3.44 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.683 s
Memory usage 5.77 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.550 s
Memory usage 5.76 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.318 s0.316 s-0.002 s3.44 MiB3.59 MiB+ 153.72 KiB
/wp-admin/edit.php0.181 s0.206 s+0.025 s3.46 MiB3.67 MiB+ 216.03 KiB
/wp-admin/post-new.php0.774 s0.560 s-0.214 s5.59 MiB5.77 MiB+ 186.3 KiB
/wp-admin/upload.php0.524 s0.364 s-0.160 s3.38 MiB3.53 MiB+ 157.09 KiB
/wp-admin/options-writing.php0.250 s0.184 s-0.066 s3.37 MiB3.52 MiB+ 149.57 KiB
/wp-admin/media-new.php0.261 s0.220 s-0.041 s3.35 MiB3.5 MiB+ 150.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.320 s+0.123 s3.37 MiB3.54 MiB+ 174.79 KiB
/wp-admin/post-new.php?post_type=page0.484 s0.842 s+0.358 s5.59 MiB5.76 MiB+ 181.9 KiB
/wp-admin/options-discussion.php0.405 s0.237 s-0.168 s3.36 MiB3.51 MiB+ 160.18 KiB
/wp-admin/edit-comments.php0.248 s0.201 s-0.047 s3.39 MiB3.54 MiB+ 156.77 KiB
/0.265 s0.196 s-0.069 s3.42 MiB3.44 MiB+ 24.51 KiB
Average 0.355 s0.331 s-0.024 s3.79 MiB3.94 MiB+ 155.55 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.0%3,8641,54219
JavaScript2.9%116112
CSS1.1%4502
Total 4,025 1,553 23

PHP Code Analysis | More results »

Lines of code 3,571
Total complexity 487
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 135
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

The log file is empty.

See also: All tests for this plugin, How to Hide No External Links Admin Menus and Meta Boxes