Post Snippets (free) 4.0.7

Does Post Snippets (free) work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

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

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 9

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=e9341bf7f6
Aspect after-activation
HTTP status 200
Load time 1.123 s
Memory usage 3.82 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.180 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Post Snippets → Add Custom Code

Page screenshot: Post Snippets → Add Custom Code
URL /wp-admin/admin.php?page=post-snippets-edit
Aspect menu-item
HTTP status 200
Load time 1.032 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Post Snippets → Add Custom CSS

Page screenshot: Post Snippets → Add Custom CSS
URL /wp-admin/admin.php?page=post-snippets-edit-css
Aspect menu-item
HTTP status 200
Load time 0.782 s
Memory usage 3.79 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'fromTextArea')\n    at Object.1 (/wp-content/plugins/post-snippets/assets/edit.js?ver=6.7.1:104:8)\n    at o (/wp-content/plugins/post-snippets/assets/edit.js?ver=6.7.1:64:12)\n    at e (/wp-content/plugins/post-snippets/assets/edit.js?ver=6.7.1:84:3)\n    at /wp-content/plugins/post-snippets/assets/edit.js?ver=6.7.1:86:3",
        "trace": null,
        "code": null
    }
]
Resource errors None

Post Snippets → Add Custom JS

Page screenshot: Post Snippets → Add Custom JS
URL /wp-admin/admin.php?page=post-snippets-edit-js
Aspect menu-item
HTTP status 200
Load time 0.646 s
Memory usage 3.78 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'fromTextArea')\n    at Object.1 (/wp-content/plugins/post-snippets/assets/edit.js?ver=6.7.1:104:8)\n    at o (/wp-content/plugins/post-snippets/assets/edit.js?ver=6.7.1:64:12)\n    at e (/wp-content/plugins/post-snippets/assets/edit.js?ver=6.7.1:84:3)\n    at /wp-content/plugins/post-snippets/assets/edit.js?ver=6.7.1:86:3",
        "trace": null,
        "code": null
    }
]
Resource errors None

Post Snippets → Options

Page screenshot: Post Snippets → Options
URL /wp-admin/admin.php?page=post-snippets-options
Aspect menu-item
HTTP status 200
Load time 0.230 s
Memory usage 3.67 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-imp-exp
Aspect menu-item
HTTP status 200
Load time 0.322 s
Memory usage 3.77 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.219 s
Memory usage 3.67 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.226 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.375 s0.352 s-0.023 s3.48 MiB3.75 MiB+ 277.63 KiB
/wp-admin/edit.php0.219 s0.216 s-0.003 s3.54 MiB3.78 MiB+ 238.96 KiB
/wp-admin/post-new.php0.922 s0.892 s-0.030 s5.92 MiB6.08 MiB+ 161.49 KiB
/wp-admin/upload.php0.558 s0.358 s-0.200 s3.5 MiB3.69 MiB+ 200.38 KiB
/wp-admin/options-writing.php0.213 s0.211 s-0.002 s3.47 MiB3.67 MiB+ 204.77 KiB
/wp-admin/media-new.php0.342 s0.337 s-0.005 s3.46 MiB3.67 MiB+ 212.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.278 s+0.102 s3.48 MiB3.69 MiB+ 218.62 KiB
/wp-admin/post-new.php?post_type=page0.620 s0.982 s+0.362 s5.92 MiB6.07 MiB+ 157.63 KiB
/wp-admin/options-discussion.php0.266 s0.277 s+0.011 s3.47 MiB3.67 MiB+ 201.89 KiB
/wp-admin/edit-comments.php0.202 s0.225 s+0.023 s3.49 MiB3.71 MiB+ 216.54 KiB
/0.282 s0.209 s-0.073 s3.41 MiB3.5 MiB+ 97.76 KiB
Average 0.380 s0.394 s+0.015 s3.92 MiB4.12 MiB+ 198.97 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
PHP47.7%38,50818,586154
JavaScript22.6%18,24834,21258
PO File21.1%17,0489,12626
CSS3.6%2,8775721
Sass3.2%2,5537831
SVG1.4%1,15957
Markdown0.3%21601
JSON0.0%2701
XML0.0%1401
Total 80,650 62,064 300

PHP Code Analysis | More results »

Lines of code 27,582
Total complexity 6,775
Median class complexity 19.0
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 65
Methods 1,461
Functions 109

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.

Database Tables 2

Options wp_options 6

PHP Error Log 1 lines

[22-Nov-2024 00:52:56 UTC] PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>post-snippets</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /wp-includes/functions.php on line 6114
See also: All tests for this plugin, How to Hide Post Snippets (free) Admin Menus