Mark New Posts 7.5.1

Does Mark New Posts work with WordPress 6.7.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: 1.7 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.7.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=1abbc55340
Aspect after-activation
HTTP status 200
Load time 0.264 s
Memory usage 3.5 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.184 s
Memory usage 3.5 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.209 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.339 s0.320 s-0.019 s3.48 MiB3.49 MiB+ 13.66 KiB
/wp-admin/edit.php0.215 s0.204 s-0.011 s3.54 MiB3.56 MiB+ 14.08 KiB
/wp-admin/post-new.php0.858 s0.649 s-0.209 s5.92 MiB5.94 MiB+ 18.09 KiB
/wp-admin/upload.php0.789 s0.316 s-0.473 s3.49 MiB3.49 MiB- 3.34 KiB
/wp-admin/options-writing.php0.212 s0.196 s-0.016 s3.47 MiB3.47 MiB+ 672 bytes
/wp-admin/media-new.php0.280 s0.427 s+0.147 s3.46 MiB3.47 MiB+ 8.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.259 s+0.081 s3.48 MiB3.49 MiB+ 19.52 KiB
/wp-admin/post-new.php?post_type=page0.695 s0.629 s-0.066 s5.92 MiB5.93 MiB+ 13.62 KiB
/wp-admin/options-discussion.php0.310 s0.250 s-0.060 s3.47 MiB3.47 MiB- 2.84 KiB
/wp-admin/edit-comments.php0.214 s0.220 s+0.006 s3.49 MiB3.49 MiB- 3.34 KiB
/0.350 s0.221 s-0.129 s3.48 MiB3.42 MiB- 60.28 KiB
Average 0.404 s0.336 s-0.068 s3.93 MiB3.93 MiB+ 1.7 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.6%435423
JavaScript19.2%15602
CSS18.1%14702
PO File9.1%7441
Total 812 46 8

PHP Code Analysis | More results »

Lines of code 321
Total complexity 107
Median class complexity 0.0
Median method complexity 2.5
Most complex class MarkNewPosts
Most complex function MarkNewPosts::mark_posts_as_read()
Classes 5
Methods 28
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

[25-Nov-2024 11:40:16 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