Post Snippets (free) 4.0.8

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: 196.4 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=5c22ecf2c8
Aspect after-activation
HTTP status 200
Load time 0.782 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.212 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.116 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.878 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 → 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.835 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.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.331 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.183 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.229 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.267 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.301 s0.422 s+0.121 s3.48 MiB3.75 MiB+ 278.59 KiB
/wp-admin/edit.php0.199 s0.247 s+0.048 s3.54 MiB3.78 MiB+ 239.92 KiB
/wp-admin/post-new.php0.816 s0.980 s+0.164 s5.92 MiB6.08 MiB+ 162.45 KiB
/wp-admin/upload.php0.865 s0.410 s-0.455 s3.5 MiB3.69 MiB+ 201.34 KiB
/wp-admin/options-writing.php0.253 s0.232 s-0.021 s3.47 MiB3.67 MiB+ 205.66 KiB
/wp-admin/media-new.php0.288 s0.499 s+0.211 s3.46 MiB3.67 MiB+ 213.84 KiB
/wp-admin/edit-tags.php?taxonomy=category0.211 s0.233 s+0.022 s3.48 MiB3.69 MiB+ 219.52 KiB
/wp-admin/post-new.php?post_type=page0.893 s0.685 s-0.208 s5.92 MiB6.07 MiB+ 154.11 KiB
/wp-admin/options-discussion.php0.293 s0.382 s+0.089 s3.47 MiB3.67 MiB+ 202.84 KiB
/wp-admin/edit-comments.php0.446 s0.248 s-0.198 s3.49 MiB3.71 MiB+ 217.55 KiB
/0.316 s0.210 s-0.106 s3.44 MiB3.5 MiB+ 64.54 KiB
Average 0.444 s0.413 s-0.030 s3.93 MiB4.12 MiB+ 196.4 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,58718,606153
JavaScript22.7%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,710 61,921 294

PHP Code Analysis | More results »

Lines of code 27,655
Total complexity 6,798
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,464
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

[09-Dec-2024 12:56:59 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