Mark New Posts 7.4.0

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: 5.1 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=6b80a8cb4a
Aspect after-activation
HTTP status 200
Load time 0.264 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.171 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.167 s
Memory usage 3.13 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.367 s0.307 s-0.060 s2.82 MiB2.84 MiB+ 12.31 KiB
/wp-admin/edit.php0.217 s0.196 s-0.021 s2.85 MiB2.86 MiB+ 12.31 KiB
/wp-admin/post-new.php0.808 s0.717 s-0.091 s5.21 MiB5.23 MiB+ 16.68 KiB
/wp-admin/upload.php0.750 s0.490 s-0.260 s2.77 MiB2.76 MiB- 5.06 KiB
/wp-admin/options-writing.php0.231 s0.199 s-0.032 s2.76 MiB2.75 MiB- 13.09 KiB
/wp-admin/media-new.php0.302 s0.247 s-0.055 s2.74 MiB2.75 MiB+ 7.13 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.192 s-0.001 s2.76 MiB2.77 MiB+ 12.3 KiB
/wp-admin/post-new.php?post_type=page0.928 s0.606 s-0.322 s5.21 MiB5.22 MiB+ 12.27 KiB
/wp-admin/options-discussion.php0.236 s0.226 s-0.010 s2.75 MiB2.74 MiB- 4.56 KiB
/wp-admin/edit-comments.php0.437 s0.218 s-0.219 s2.78 MiB2.77 MiB- 5.07 KiB
/0.286 s0.205 s-0.081 s3.13 MiB3.14 MiB+ 10.93 KiB
Average 0.432 s0.328 s-0.105 s3.25 MiB3.26 MiB+ 5.1 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.5%426423
JavaScript19.3%15402
CSS18.4%14702
PO File8.8%7041
Total 797 46 8

PHP Code Analysis | More results »

Lines of code 318
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

[23-Sep-2023 13:16:03 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