Post Snippets 3.1.3

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: 495.13 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.036 seconds
The average page load time increased by this amount after activating the plugin.

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=aafa25d83d
Aspect after-activation
HTTP status 200
Load time 2.077 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.322 s
Memory usage 3.69 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.186 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.175 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.199 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.300 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.271 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.348 s0.408 s+0.060 s3.36 MiB3.91 MiB+ 555.54 KiB
/wp-admin/edit.php0.195 s0.230 s+0.035 s3.39 MiB3.94 MiB+ 560.18 KiB
/wp-admin/post-new.php1.098 s1.358 s+0.260 s6.14 MiB6.57 MiB+ 440 KiB
/wp-admin/upload.php0.467 s0.428 s-0.039 s3.24 MiB3.7 MiB+ 470.12 KiB
/wp-admin/options-writing.php0.322 s0.350 s+0.028 s3.24 MiB3.68 MiB+ 456.64 KiB
/wp-admin/media-new.php0.251 s0.228 s-0.023 s3.22 MiB3.68 MiB+ 475.18 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.233 s+0.050 s3.25 MiB3.71 MiB+ 470.15 KiB
/wp-admin/post-new.php?post_type=page1.167 s1.183 s+0.016 s6.14 MiB6.57 MiB+ 435.63 KiB
/wp-admin/options-discussion.php0.243 s0.276 s+0.033 s3.22 MiB3.68 MiB+ 473.9 KiB
/wp-admin/edit-comments.php0.220 s0.250 s+0.030 s3.29 MiB3.87 MiB+ 599.09 KiB
/0.279 s0.221 s-0.058 s3.35 MiB3.85 MiB+ 509.95 KiB
Average 0.434 s0.470 s+0.036 s3.8 MiB4.29 MiB+ 495.13 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,46016,683130
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,332 26,040 259

PHP Code Analysis | More results »

Lines of code 22,604
Total complexity 5,679
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,198
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

[26-Jan-2022 06:24:57 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
[26-Jan-2022 06:25:01 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