Post Snippets 3.1.2

Does Post Snippets work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 505.83 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 30,000+
WordPress.org page https://wordpress.org/plugins/post-snippets/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

Post Snippets ‹ Test site — WordPress

Page screenshot: Post Snippets ‹ Test site — WordPress
URL /wp-admin/admin.php?page=post-snippets
Requested URL /wp-admin/plugins.php?action=activate&plugin=post-snippets%2Fpost-snippets.php&plugin_status=all&paged=1&s&_wpnonce=0b378475c7
Aspect after-activation
HTTP status 200
Load time 1.914 s
Memory usage 4 MiB
JS errors None
Resource errors None

Post Snippets

Page screenshot: Post Snippets
URL /wp-admin/admin.php?page=post-snippets
Aspect menu-item
HTTP status 200
Load time 0.187 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Post Snippets → Options

Page screenshot: Post Snippets → Options
URL /wp-admin/admin.php?page=post-snippets&tab=options
Aspect menu-item-tab
HTTP status 200
Load time 0.228 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Post Snippets → Import/Export

Page screenshot: Post Snippets → Import/Export
URL /wp-admin/admin.php?page=post-snippets&tab=tools
Aspect menu-item-tab
HTTP status 200
Load time 0.185 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Post Snippets → Upgrade

Page screenshot: Post Snippets → Upgrade
URL /wp-admin/admin.php?billing_cycle=annual&page=post-snippets-pricing
Aspect menu-item-tab
HTTP status 200
Load time 0.190 s
Memory usage 3.82 MiB
JS errors None
Resource errors None

Post Snippets → News

Page screenshot: Post Snippets → News
URL /wp-admin/admin.php?page=post-snippets-news
Aspect menu-item
HTTP status 200
Load time 0.414 s
Memory usage 3.49 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.182 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.295 s0.282 s-0.013 s3.08 MiB3.71 MiB+ 637.9 KiB
/wp-admin/edit.php0.214 s0.237 s+0.023 s3.11 MiB3.74 MiB+ 643.64 KiB
/wp-admin/post-new.php1.240 s1.281 s+0.041 s5.27 MiB5.78 MiB+ 522.34 KiB
/wp-admin/upload.php0.580 s0.527 s-0.053 s3.03 MiB3.49 MiB+ 476.48 KiB
/wp-admin/options-writing.php0.196 s0.170 s-0.026 s3.02 MiB3.48 MiB+ 463.13 KiB
/wp-admin/media-new.php0.264 s0.178 s-0.086 s3.01 MiB3.48 MiB+ 481.54 KiB
/wp-admin/edit-tags.php?taxonomy=category0.210 s0.258 s+0.048 s3.04 MiB3.5 MiB+ 476.51 KiB
/wp-admin/post-new.php?post_type=page0.999 s0.770 s-0.229 s5.26 MiB5.76 MiB+ 517.35 KiB
/wp-admin/options-discussion.php0.296 s0.386 s+0.090 s3 MiB3.47 MiB+ 480.26 KiB
/wp-admin/edit-comments.php0.232 s0.246 s+0.014 s3.04 MiB3.51 MiB+ 482.18 KiB
/0.364 s0.247 s-0.117 s2.94 MiB3.32 MiB+ 382.82 KiB
Average 0.445 s0.417 s-0.028 s3.44 MiB3.93 MiB+ 505.83 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
Language % Lines of code Comment lines Files
PHP60.5%32,41616,678129
JavaScript34.4%18,42312752
PO File3.4%1,82668214
CSS1.0%5522515
Markdown0.4%21401
SVG0.1%8013
JSON0.1%2701
Sass0.0%1111
Total 53,549 17,514 216

PHP Code Analysis | More results »

Lines of code 22,577
Total complexity 5,668
Median class complexity 18.0
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 53
Methods 1,199
Functions 100

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

PHP Error Log 2 lines

[21-Jul-2021 01:25:49 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. 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.7.0.) in /wp-includes/functions.php on line 5535
[21-Jul-2021 01:25:52 UTC] PHP Notice:  WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. 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.7.0.) in /wp-includes/functions.php on line 5535
See also: All tests for this plugin, How to Hide Post Snippets (free) Admin Menus