Post Snippets (free) 4.0.10

Does Post Snippets (free) work with WordPress 6.8.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: 220.57 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.8.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=f5f221296a
Aspect after-activation
HTTP status 200
Load time 0.811 s
Memory usage 3.86 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.213 s
Memory usage 3.7 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.131 s
Memory usage 3.74 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 1.195 s
Memory usage 3.81 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.8.1:104:8)\n    at o (/wp-content/plugins/post-snippets/assets/edit.js?ver=6.8.1:64:12)\n    at e (/wp-content/plugins/post-snippets/assets/edit.js?ver=6.8.1:84:3)\n    at /wp-content/plugins/post-snippets/assets/edit.js?ver=6.8.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 1.075 s
Memory usage 3.8 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.8.1:104:8)\n    at o (/wp-content/plugins/post-snippets/assets/edit.js?ver=6.8.1:64:12)\n    at e (/wp-content/plugins/post-snippets/assets/edit.js?ver=6.8.1:84:3)\n    at /wp-content/plugins/post-snippets/assets/edit.js?ver=6.8.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.239 s
Memory usage 3.7 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.191 s
Memory usage 3.79 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.286 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.269 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.482 s+0.138 s3.51 MiB3.78 MiB+ 278.63 KiB
/wp-admin/edit.php0.201 s0.266 s+0.065 s3.57 MiB3.8 MiB+ 237.16 KiB
/wp-admin/post-new.php0.837 s0.988 s+0.151 s6.06 MiB6.33 MiB+ 280.05 KiB
/wp-admin/upload.php0.744 s0.538 s-0.206 s3.52 MiB3.72 MiB+ 201.32 KiB
/wp-admin/options-writing.php0.340 s0.220 s-0.120 s3.5 MiB3.7 MiB+ 205.39 KiB
/wp-admin/media-new.php0.269 s0.310 s+0.041 s3.49 MiB3.7 MiB+ 213.57 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.218 s+0.023 s3.5 MiB3.72 MiB+ 219.24 KiB
/wp-admin/post-new.php?post_type=page0.603 s0.689 s+0.086 s6.05 MiB6.32 MiB+ 276.09 KiB
/wp-admin/options-discussion.php0.455 s0.452 s-0.003 s3.5 MiB3.7 MiB+ 202.52 KiB
/wp-admin/edit-comments.php0.266 s0.234 s-0.032 s3.52 MiB3.73 MiB+ 214.74 KiB
/0.306 s0.198 s-0.108 s3.43 MiB3.53 MiB+ 97.56 KiB
Average 0.415 s0.418 s+0.003 s3.97 MiB4.19 MiB+ 220.57 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.8%38,61118,616153
JavaScript22.6%18,28134,05057
PO File21.1%17,0489,12626
CSS3.6%2,8775721
Sass3.1%2,5157728
SVG1.4%1,15957
Markdown0.3%21601
JSON0.0%2701
Total 80,734 61,931 294

PHP Code Analysis | More results »

Lines of code 27,679
Total complexity 6,802
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,465
Functions 107

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

[01-May-2025 01:39:57 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 6121
See also: All tests for this plugin, How to Hide Post Snippets (free) Admin Menus