WP News and Scrolling Widgets 4.4.5

Does WP News and Scrolling Widgets work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP notices
4PHP deprecation warnings
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 141.41 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 version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/sp-news-and-widget/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

News ‹ Test site — WordPress

Page screenshot: News ‹ Test site — WordPress
URL /wp-admin/admin.php?page=wp-news-and-scrolling-widgets
Requested URL /wp-admin/plugins.php?action=activate&plugin=sp-news-and-widget%2Fsp-news-and-widget.php&plugin_status=all&paged=1&s&_wpnonce=e557dbb15d
Aspect after-activation
HTTP status 200
Load time 0.897 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

News

Page screenshot: News
URL /wp-admin/admin.php?page=wp-news-and-scrolling-widgets
Aspect menu-item
HTTP status 200
Load time 0.143 s
Memory usage 3.11 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.197 s
Memory usage 3 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.682 s
Memory usage 4.69 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:2802)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:4104)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:2802)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:4104)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:2802)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:4104)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.289 s0.253 s-0.036 s3.08 MiB3.2 MiB+ 119.2 KiB
/wp-admin/edit.php0.174 s0.197 s+0.023 s3.11 MiB3.3 MiB+ 187.77 KiB
/wp-admin/post-new.php1.174 s1.074 s-0.100 s5.27 MiB5.54 MiB+ 284.06 KiB
/wp-admin/upload.php0.527 s0.280 s-0.247 s3.03 MiB3.14 MiB+ 108.88 KiB
/wp-admin/options-writing.php0.167 s0.140 s-0.027 s3.02 MiB3.11 MiB+ 92.23 KiB
/wp-admin/media-new.php0.228 s0.176 s-0.052 s3.01 MiB3.11 MiB+ 109.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.167 s-0.039 s3.04 MiB3.15 MiB+ 110.58 KiB
/wp-admin/post-new.php?post_type=page0.695 s0.764 s+0.069 s5.26 MiB5.53 MiB+ 279.65 KiB
/wp-admin/options-discussion.php0.217 s0.282 s+0.065 s3 MiB3.11 MiB+ 108.73 KiB
/wp-admin/edit-comments.php0.193 s0.254 s+0.061 s3.04 MiB3.15 MiB+ 108.9 KiB
/0.371 s0.222 s-0.149 s2.96 MiB3 MiB+ 46.43 KiB
Average 0.386 s0.346 s-0.039 s3.44 MiB3.58 MiB+ 141.41 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
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP74.0%2,88094326
PO File11.3%4381914
JavaScript10.2%395207
CSS4.5%17685
JSON0.1%202
Total 3,891 1,162 44

PHP Code Analysis | More results »

Lines of code 2,037
Total complexity 502
Median class complexity 14.0
Median method complexity 2.0
Most complex class Wpos_Anylc_Admin
Most complex function wpnw_get_news_shortcode()
Classes 11
Methods 58
Functions 41

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.

Options wp_options 5

Custom Post Types 1

ID Name
newsNews

Sidebar Widgets 3

ID Name
sp_news_widgetLatest News Widget
sp_news_s_widgetLatest News Scrolling Widget
sp_news_sthumb_widgetLatest News with Thumb

Meta Boxes

{
    "news": {
        "wpnw-post-metabox-pro": {
            "title": "More Premium - Settings",
            "context": "normal"
        }
    }
}

PHP Error Log 5 lines

[21-Jul-2021 03:52:23 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 03:52:23 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 03:52:26 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 03:52:26 UTC] PHP Deprecated:  block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5458
[21-Jul-2021 03:52:29 UTC] PHP Notice:  wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5535
See also: All tests for this plugin, How to Hide WP News and Scrolling Widgets Admin Menus and Meta Boxes