No External Links 5.1.8

Does No External Links work with WordPress 6.9.4 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: 240.77 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.9.4
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=bb04bb4983
Aspect after-activation
HTTP status 200
Load time 0.418 s
Memory usage 3.97 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.627 s
Memory usage 3.94 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.9.4:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.9.4:2:1977)\n    at HTMLDocument.<anonymous> (code-editor-js-after:51: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.9.4: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.9.4: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.353 s
Memory usage 3.94 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.9.4:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.9.4:2:1977)\n    at HTMLDocument.<anonymous> (code-editor-js-after:51: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.9.4: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.9.4: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.507 s
Memory usage 3.94 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.9.4:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.9.4:2:1977)\n    at HTMLDocument.<anonymous> (code-editor-js-after:51: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.9.4: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.9.4: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.324 s
Memory usage 3.94 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.9.4:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.9.4:2:1977)\n    at HTMLDocument.<anonymous> (code-editor-js-after:51: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.9.4: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.9.4: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.338 s
Memory usage 3.94 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.9.4:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.9.4:2:1977)\n    at HTMLDocument.<anonymous> (code-editor-js-after:51: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.9.4: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.9.4: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.603 s
Memory usage 4.27 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.9.4:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.9.4:2:1977)\n    at HTMLDocument.<anonymous> (code-editor-js-after:51: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.9.4: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.9.4: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.282 s
Memory usage 3.94 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.271 s
Memory usage 3.94 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.231 s
Memory usage 4.17 MiB
JS errors None
Resource errors None

Add Post ‹ Test site — WordPress

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

Add Page ‹ Test site — WordPress

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

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.446 s0.396 s-0.050 s3.78 MiB4.01 MiB+ 238.38 KiB
/wp-admin/edit.php0.372 s0.413 s+0.041 s3.78 MiB4.13 MiB+ 358.98 KiB
/wp-admin/post-new.php0.875 s0.882 s+0.007 s6.31 MiB6.61 MiB+ 308.73 KiB
/wp-admin/upload.php0.676 s0.538 s-0.138 s3.74 MiB3.96 MiB+ 225.76 KiB
/wp-admin/options-writing.php0.324 s0.317 s-0.007 s3.71 MiB3.93 MiB+ 224.39 KiB
/wp-admin/media-new.php0.507 s0.566 s+0.059 s3.7 MiB3.93 MiB+ 232.57 KiB
/wp-admin/edit-tags.php?taxonomy=category0.343 s0.343 s+0.000 s3.72 MiB3.95 MiB+ 242.96 KiB
/wp-admin/post-new.php?post_type=page0.695 s0.684 s-0.011 s6.3 MiB6.59 MiB+ 302.23 KiB
/wp-admin/options-discussion.php0.355 s0.581 s+0.226 s3.71 MiB3.93 MiB+ 220.89 KiB
/wp-admin/edit-comments.php0.341 s0.364 s+0.023 s3.74 MiB3.96 MiB+ 225.89 KiB
/0.289 s0.198 s-0.091 s4.11 MiB4.17 MiB+ 67.66 KiB
Average 0.475 s0.480 s+0.005 s4.24 MiB4.47 MiB+ 240.77 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
PHP95.8%3,9161,53919
JavaScript2.8%116112
CSS1.1%4502
Markdown0.2%1001
Total 4,087 1,550 24

PHP Code Analysis | More results »

Lines of code 3,623
Total complexity 480
Median class complexity 20.0
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 134
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