Post Snippets 3.1.6

Does Post Snippets work with WordPress 5.9.1 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: 489.99 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.9.1
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=6817b00bf3
Aspect after-activation
HTTP status 200
Load time 1.749 s
Memory usage 4.21 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.189 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.180 s
Memory usage 3.73 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.168 s
Memory usage 3.77 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.177 s
Memory usage 4.03 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.289 s
Memory usage 3.71 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.205 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.353 s0.362 s+0.009 s3.37 MiB3.91 MiB+ 553.87 KiB
/wp-admin/edit.php0.223 s0.222 s-0.001 s3.4 MiB3.95 MiB+ 558.51 KiB
/wp-admin/post-new.php1.102 s1.406 s+0.304 s6.14 MiB6.57 MiB+ 434.61 KiB
/wp-admin/upload.php0.392 s0.553 s+0.161 s3.25 MiB3.71 MiB+ 468.45 KiB
/wp-admin/options-writing.php0.347 s0.184 s-0.163 s3.24 MiB3.69 MiB+ 454.97 KiB
/wp-admin/media-new.php0.258 s0.207 s-0.051 s3.23 MiB3.69 MiB+ 473.51 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.209 s+0.022 s3.27 MiB3.71 MiB+ 460.48 KiB
/wp-admin/post-new.php?post_type=page1.084 s1.047 s-0.037 s6.14 MiB6.56 MiB+ 430.24 KiB
/wp-admin/options-discussion.php0.212 s0.246 s+0.034 s3.22 MiB3.68 MiB+ 472.23 KiB
/wp-admin/edit-comments.php0.215 s0.217 s+0.002 s3.27 MiB3.88 MiB+ 622.15 KiB
/0.247 s0.204 s-0.043 s3.4 MiB3.85 MiB+ 460.84 KiB
Average 0.420 s0.442 s+0.022 s3.81 MiB4.29 MiB+ 489.99 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,43716,728130
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,309 26,085 259

PHP Code Analysis | More results »

Lines of code 22,568
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

[23-Feb-2022 02:26: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
[23-Feb-2022 02:26:40 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