The JSM Show Comment Metadata plugin displays comment meta keys and their unserialized values in a metabox at the bottom of comment editing pages.
There are no plugin settings - simply install and activate the plugin.
Available Filters for Developers
Filter the comment meta shown in the metabox:
'jsmscm_metabox_table_metadata' ( array $metadata, $comment_obj )
Array of regular expressions to exclude meta keys:
'jsmscm_metabox_table_exclude_keys' ( array $exclude_keys, $comment_obj )
Capability required to show comment meta:
'jsmscm_show_metabox_capability' ( 'manage_options', $comment_obj )
Capability required to delete comment meta:
'jsmscm_delete_meta_capability' ( 'manage_options', $comment_obj )
Icon for the delete comment meta button:
'jsmscm_delete_meta_icon_class' ( 'dashicons dashicons-table-row-delete' )
Related Plugins
Version Numbering
Version components: {major}.{minor}.{bugfix}[-{stage}.{level}]
- {major} = Major structural code changes and/or incompatible API changes (ie. breaking changes).
- {minor} = New functionality was added or improved in a backwards-compatible manner.
- {bugfix} = Backwards-compatible bug fixes or small improvements.
- {stage}.{level} = Pre-production release: dev < a (alpha) < b (beta) < rc (release candidate).
Repositories
Changelog / Release Notes
Version 4.6.0 (2024/08/29)
- New Features
- Improvements
- Bugfixes
- Developer Notes
- Updated the
SucomUtil
and SucomUtilWP
classes.
- Requires At Least
- PHP v7.2.34.
- WordPress v5.8.
Version 4.5.0 (2024/08/16)
- New Features
- Improvements
- Bugfixes
- Developer Notes
- Removed deprecated methods from the
SucomUtil
class.
- Requires At Least
- PHP v7.2.34.
- WordPress v5.8.
Version 4.4.0 (2024/08/12)
- New Features
- Improvements
- Bugfixes
- Developer Notes
- Updated the jquery-admin-page.js functions (version 20240810).
- Requires At Least
- PHP v7.2.34.
- WordPress v5.8.
Version 4.3.0 (2024/04/18)
- New Features
- Improvements
- Bugfixes
- Developer Notes
- Updated the
SucomUtil
class.
- Requires At Least
- PHP v7.2.34.
- WordPress v5.8.
Version 4.2.0 (2024/03/10)
- New Features
- Improvements
- Bugfixes
- Developer Notes
- Added extra sanitation for method arguments in
SucomUtilMetabox::get_table_metadata()
.
- Added extra sanitation for 'post_ID' and 'action' values in
SucomUtilWP::doing_block_editor()
.
- Requires At Least
- PHP v7.2.34.
- WordPress v5.8.
Version 4.1.0 (2024/02/03)
- New Features
- Improvements
- Bugfixes
- Developer Notes
- Added a new
SucomUtilWP::doing_dev()
method.
- Requires At Least
- PHP v7.2.34.
- WordPress v5.8.
Version 4.0.0 (2024/01/20)
- New Features
- Improvements
- Allow upper case and accents in metadata keys.
- Bugfixes
- Developer Notes
- Added
$comment_obj
argument to current_user_can()
.
- Added new
SucomUtil::sanitize_int()
method.
- Added new
SucomUtil::sanitize_meta_key()
method.
- Requires At Least
- PHP v7.2.34.
- WordPress v5.8.
Shows the metadata. Doesn’t junk up my backend.