No External Links 5.1.2

Does No External Links work with WordPress 6.4.2 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: 151.96 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.4.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=c660bfd194
Aspect after-activation
HTTP status 200
Load time 0.516 s
Memory usage 3.49 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.540 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.4.2:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.4.2: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.4.2: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.4.2: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.275 s
Memory usage 3.44 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.4.2:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.4.2: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.4.2: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.4.2: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.217 s
Memory usage 3.44 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.4.2:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.4.2: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.4.2: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.4.2: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.259 s
Memory usage 3.44 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.4.2:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.4.2: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.4.2: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.4.2: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.225 s
Memory usage 3.49 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.4.2:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.4.2: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.4.2: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.4.2: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.695 s
Memory usage 3.78 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.4.2:32:31506)\n    at Object.d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.4.2: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.4.2: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.4.2: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.199 s
Memory usage 3.46 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.210 s
Memory usage 3.46 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.217 s
Memory usage 3.38 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.915 s
Memory usage 5.62 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.585 s
Memory usage 5.61 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.382 s0.576 s+0.194 s3.38 MiB3.53 MiB+ 153.72 KiB
/wp-admin/edit.php0.232 s0.286 s+0.054 s3.41 MiB3.62 MiB+ 216.03 KiB
/wp-admin/post-new.php0.952 s0.930 s-0.022 s5.46 MiB5.62 MiB+ 166.24 KiB
/wp-admin/upload.php0.615 s0.470 s-0.145 s3.32 MiB3.48 MiB+ 157.09 KiB
/wp-admin/options-writing.php0.224 s0.231 s+0.007 s3.32 MiB3.46 MiB+ 150.2 KiB
/wp-admin/media-new.php0.331 s0.323 s-0.008 s3.29 MiB3.44 MiB+ 150.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.398 s+0.183 s3.31 MiB3.48 MiB+ 174.79 KiB
/wp-admin/post-new.php?post_type=page0.624 s0.644 s+0.020 s5.45 MiB5.61 MiB+ 161.84 KiB
/wp-admin/options-discussion.php0.385 s0.279 s-0.106 s3.3 MiB3.46 MiB+ 160.18 KiB
/wp-admin/edit-comments.php0.263 s0.229 s-0.034 s3.34 MiB3.49 MiB+ 156.77 KiB
/0.300 s0.226 s-0.074 s3.36 MiB3.38 MiB+ 24.51 KiB
Average 0.411 s0.417 s+0.006 s3.72 MiB3.87 MiB+ 151.96 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.1%3,8611,54119
JavaScript2.8%111102
CSS1.1%4502
Total 4,017 1,551 23

PHP Code Analysis | More results »

Lines of code 3,568
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