No External Links 5.1.7

Does No External Links work with WordPress 6.8.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: 237.8 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.8.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=05952487d7
Aspect after-activation
HTTP status 200
Load time 0.325 s
Memory usage 3.76 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.479 s
Memory usage 3.72 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.8.3:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.8.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.8.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.8.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.245 s
Memory usage 3.72 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.8.3:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.8.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.8.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.8.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.200 s
Memory usage 3.72 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.8.3:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.8.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.8.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.8.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.216 s
Memory usage 3.72 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.8.3:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.8.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.8.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.8.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.208 s
Memory usage 3.72 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.8.3:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.8.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.8.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.8.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.408 s
Memory usage 4.07 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.8.3:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.8.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.8.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.8.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.185 s
Memory usage 3.72 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.310 s
Memory usage 3.72 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.239 s
Memory usage 3.51 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.608 s
Memory usage 6.36 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.601 s
Memory usage 6.35 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.293 s0.404 s+0.111 s3.51 MiB3.74 MiB+ 237.8 KiB
/wp-admin/edit.php0.198 s0.235 s+0.037 s3.57 MiB3.89 MiB+ 324.07 KiB
/wp-admin/post-new.php0.930 s0.917 s-0.013 s6.06 MiB6.36 MiB+ 309.1 KiB
/wp-admin/upload.php0.553 s0.540 s-0.013 s3.52 MiB3.74 MiB+ 220.44 KiB
/wp-admin/options-writing.php0.216 s0.199 s-0.017 s3.5 MiB3.72 MiB+ 224.76 KiB
/wp-admin/media-new.php0.275 s0.239 s-0.036 s3.49 MiB3.72 MiB+ 232.94 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.199 s+0.004 s3.5 MiB3.74 MiB+ 243.64 KiB
/wp-admin/post-new.php?post_type=page0.606 s0.819 s+0.213 s6.05 MiB6.35 MiB+ 304.64 KiB
/wp-admin/options-discussion.php0.479 s0.489 s+0.010 s3.5 MiB3.72 MiB+ 221.57 KiB
/wp-admin/edit-comments.php0.236 s0.211 s-0.025 s3.52 MiB3.74 MiB+ 220.76 KiB
/0.295 s0.191 s-0.104 s3.43 MiB3.51 MiB+ 76.04 KiB
Average 0.389 s0.404 s+0.015 s3.97 MiB4.2 MiB+ 237.8 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,54119
JavaScript2.8%116112
CSS1.1%4502
Markdown0.2%1001
Total 4,087 1,552 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