Post Snippets (free) 4.0.9

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

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

Environment
WordPress version6.7.2
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=c0e24506c5
Aspect after-activation
HTTP status 200
Load time 0.785 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.249 s
Memory usage 3.68 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.223 s
Memory usage 3.71 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.887 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.2:104:8)\n    at o (/wp-content/plugins/post-snippets/assets/edit.js?ver=6.7.2:64:12)\n    at e (/wp-content/plugins/post-snippets/assets/edit.js?ver=6.7.2:84:3)\n    at /wp-content/plugins/post-snippets/assets/edit.js?ver=6.7.2: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.802 s
Memory usage 3.77 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.2:104:8)\n    at o (/wp-content/plugins/post-snippets/assets/edit.js?ver=6.7.2:64:12)\n    at e (/wp-content/plugins/post-snippets/assets/edit.js?ver=6.7.2:84:3)\n    at /wp-content/plugins/post-snippets/assets/edit.js?ver=6.7.2: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.209 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.236 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.311 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.275 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.403 s0.441 s+0.038 s3.48 MiB3.75 MiB+ 278.71 KiB
/wp-admin/edit.php0.194 s0.275 s+0.081 s3.54 MiB3.78 MiB+ 240.04 KiB
/wp-admin/post-new.php0.902 s1.094 s+0.192 s5.93 MiB6.08 MiB+ 162.57 KiB
/wp-admin/upload.php0.685 s0.523 s-0.162 s3.5 MiB3.69 MiB+ 201.46 KiB
/wp-admin/options-writing.php0.254 s0.246 s-0.008 s3.47 MiB3.67 MiB+ 205.84 KiB
/wp-admin/media-new.php0.274 s0.237 s-0.037 s3.46 MiB3.67 MiB+ 214.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.175 s0.274 s+0.099 s3.48 MiB3.69 MiB+ 219.7 KiB
/wp-admin/post-new.php?post_type=page0.704 s0.956 s+0.252 s5.92 MiB6.07 MiB+ 158.71 KiB
/wp-admin/options-discussion.php0.277 s0.373 s+0.096 s3.48 MiB3.67 MiB+ 202.97 KiB
/wp-admin/edit-comments.php0.208 s0.322 s+0.114 s3.5 MiB3.71 MiB+ 217.62 KiB
/0.359 s0.234 s-0.125 s3.48 MiB3.5 MiB+ 26.27 KiB
Average 0.403 s0.452 s+0.049 s3.93 MiB4.12 MiB+ 193.45 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

[12-Feb-2025 01:10:47 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