Post Snippets (free) 4.0.11

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.74 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=416a5702b6
Aspect after-activation
HTTP status 200
Load time 0.761 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.222 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.249 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 0.899 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 0.718 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.216 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.202 s
Memory usage 3.8 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.458 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.261 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.360 s0.464 s+0.104 s3.51 MiB3.78 MiB+ 278.87 KiB
/wp-admin/edit.php0.215 s0.267 s+0.052 s3.57 MiB3.8 MiB+ 237.41 KiB
/wp-admin/post-new.php0.835 s1.027 s+0.192 s6.06 MiB6.33 MiB+ 280.01 KiB
/wp-admin/upload.php0.813 s0.446 s-0.367 s3.52 MiB3.72 MiB+ 201.56 KiB
/wp-admin/options-writing.php0.238 s0.236 s-0.002 s3.5 MiB3.7 MiB+ 205.63 KiB
/wp-admin/media-new.php0.290 s0.248 s-0.042 s3.49 MiB3.7 MiB+ 213.81 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.490 s+0.281 s3.5 MiB3.72 MiB+ 219.48 KiB
/wp-admin/post-new.php?post_type=page0.777 s0.719 s-0.058 s6.05 MiB6.32 MiB+ 276.03 KiB
/wp-admin/options-discussion.php0.346 s0.318 s-0.028 s3.5 MiB3.7 MiB+ 202.76 KiB
/wp-admin/edit-comments.php0.479 s0.269 s-0.210 s3.52 MiB3.73 MiB+ 214.98 KiB
/0.647 s0.216 s-0.431 s3.43 MiB3.53 MiB+ 97.56 KiB
Average 0.474 s0.427 s-0.046 s3.97 MiB4.19 MiB+ 220.74 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,61218,617153
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,735 61,932 294

PHP Code Analysis | More results »

Lines of code 27,680
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

[06-May-2025 13:03:16 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