Post Snippets 3.1.4

Does Post Snippets work with WordPress 5.9 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: 491.32 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.9
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=41d66b1c4e
Aspect after-activation
HTTP status 200
Load time 1.851 s
Memory usage 4.2 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.315 s
Memory usage 3.68 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.190 s
Memory usage 3.72 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.172 s
Memory usage 3.76 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.191 s
Memory usage 4.02 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.429 s
Memory usage 3.7 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.220 s
Memory usage 3.85 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.336 s0.320 s-0.016 s3.36 MiB3.9 MiB+ 553.87 KiB
/wp-admin/edit.php0.178 s0.235 s+0.057 s3.39 MiB3.94 MiB+ 558.51 KiB
/wp-admin/post-new.php0.802 s1.073 s+0.271 s6.14 MiB6.57 MiB+ 438.33 KiB
/wp-admin/upload.php0.356 s0.398 s+0.042 s3.24 MiB3.7 MiB+ 468.45 KiB
/wp-admin/options-writing.php0.237 s0.281 s+0.044 s3.24 MiB3.68 MiB+ 454.97 KiB
/wp-admin/media-new.php0.294 s0.213 s-0.081 s3.22 MiB3.68 MiB+ 473.51 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.215 s+0.032 s3.25 MiB3.71 MiB+ 468.48 KiB
/wp-admin/post-new.php?post_type=page0.991 s0.720 s-0.271 s6.14 MiB6.56 MiB+ 433.96 KiB
/wp-admin/options-discussion.php0.278 s0.280 s+0.002 s3.22 MiB3.68 MiB+ 472.23 KiB
/wp-admin/edit-comments.php0.203 s0.241 s+0.038 s3.26 MiB3.87 MiB+ 622.15 KiB
/0.265 s0.212 s-0.053 s3.4 MiB3.85 MiB+ 460.05 KiB
Average 0.375 s0.381 s+0.006 s3.81 MiB4.29 MiB+ 491.32 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
PO File
Language % Lines of code Comment lines Files
PHP45.5%32,44816,726130
JavaScript25.8%18,42312752
PO File23.9%17,0489,12626
Sass3.5%2,5267829
CSS0.8%5542517
Markdown0.3%21401
SVG0.1%8013
JSON0.0%2701
Total 71,320 26,083 259

PHP Code Analysis | More results »

Lines of code 22,566
Total complexity 5,698
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,197
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

[28-Jan-2022 07:46:31 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 5768
[28-Jan-2022 07:46:35 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 5768
See also: All tests for this plugin, How to Hide Post Snippets (free) Admin Menus