Mark New Posts 7.3.2

Does Mark New Posts work with WordPress 6.3.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 6.3 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.3.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 400+
WordPress.org page https://wordpress.org/plugins/mark-new-posts/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=mark-new-posts%2Fmark-new-posts.php&plugin_status=all&paged=1&s&_wpnonce=07f1e06d5d
Aspect after-activation
HTTP status 200
Load time 0.226 s
Memory usage 2.77 MiB
JS errors None
Resource errors None

Settings → Mark New Posts

Page screenshot: Settings → Mark New Posts
URL /wp-admin/options-general.php?page=mark-new-posts.php
Aspect menu-item
HTTP status 200
Load time 0.143 s
Memory usage 2.82 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.155 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.324 s0.265 s-0.059 s2.82 MiB2.84 MiB+ 13.91 KiB
/wp-admin/edit.php0.181 s0.174 s-0.007 s2.85 MiB2.86 MiB+ 13.91 KiB
/wp-admin/post-new.php0.712 s0.524 s-0.188 s5.21 MiB5.23 MiB+ 18.27 KiB
/wp-admin/upload.php0.531 s0.397 s-0.134 s2.77 MiB2.76 MiB- 4.2 KiB
/wp-admin/options-writing.php0.199 s0.181 s-0.018 s2.76 MiB2.75 MiB- 12.23 KiB
/wp-admin/media-new.php0.267 s0.234 s-0.033 s2.74 MiB2.75 MiB+ 7.99 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.180 s-0.010 s2.76 MiB2.77 MiB+ 13.16 KiB
/wp-admin/post-new.php?post_type=page0.543 s0.520 s-0.023 s5.21 MiB5.22 MiB+ 13.86 KiB
/wp-admin/options-discussion.php0.366 s0.353 s-0.013 s2.75 MiB2.74 MiB- 3.7 KiB
/wp-admin/edit-comments.php0.224 s0.215 s-0.009 s2.78 MiB2.77 MiB- 4.2 KiB
/0.258 s0.187 s-0.071 s3.13 MiB3.14 MiB+ 12.52 KiB
Average 0.345 s0.294 s-0.051 s3.25 MiB3.26 MiB+ 6.3 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
JavaScript
CSS
PO File
Language % Lines of code Comment lines Files
PHP53.2%422423
JavaScript19.4%15402
CSS18.5%14702
PO File8.8%7041
Total 793 46 8

PHP Code Analysis | More results »

Lines of code 317
Total complexity 101
Median class complexity 0.0
Median method complexity 2.0
Most complex class MarkNewPosts
Most complex function MarkNewPosts::mark_posts_as_read()
Classes 5
Methods 29
Functions 2

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.

No new entries found.

PHP Error Log 1 lines

[04-Sep-2023 15:00:24 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-content/plugins/mark-new-posts/mark-new-posts.php on line 112
See also: All tests for this plugin, How to Hide the "Mark New Posts" Admin Menu