-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
128 lines (85 loc) · 4 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
=== JSM Show Term Metadata ===
Plugin Name: JSM Show Term Metadata
Plugin Slug: jsm-show-term-meta
Text Domain: jsm-show-term-meta
Domain Path: /languages
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl.txt
Assets URI: https://jsmoriss.github.io/jsm-show-term-meta/assets/
Tags: taxonomy, terms, metadata, categories, tags
Contributors: jsmoriss
Requires PHP: 7.4.33
Requires At Least: 5.9
Tested Up To: 6.7.1
Stable Tag: 4.6.2
Show term metadata in a metabox when editing terms - a great tool for debugging issues with term metadata.
== Description ==
The JSM Show Term Metadata plugin displays term (ie. categories, tags, and custom taxonomies) meta keys and their unserialized values in a metabox at the bottom of the term editing page.
There are no plugin settings - simply install and activate the plugin.
= Shows Yoast SEO Term Meta =
Yoast SEO stores its term (ie. categories, tags, and custom taxonomies) metadata in the WordPress options table, not the term meta table.
The JSM Show Term Metadata plugin can read and display Yoast SEO's term metadata, but it cannot be deleted (as it does not reside in the WordPress term meta table).
= Available Filters for Developers =
Filter the term meta shown in the metabox:
<pre><code>'jsmstm_metabox_table_metadata' ( array $metadata, $term_obj )</code></pre>
Array of regular expressions to exclude meta keys:
<pre><code>'jsmstm_metabox_table_exclude_keys' ( array $exclude_keys, $term_obj )</code></pre>
Capability required to show term meta:
<pre><code>'jsmstm_show_metabox_capability' ( 'manage_options', $term_obj )</code></pre>
Show term meta for a taxonomy (defaults to true):
<pre><code>'jsmstm_show_metabox_taxonomy' ( true, $taxonomy )</code></pre>
Capability required to delete term meta:
<pre><code>'jsmstm_delete_meta_capability' ( 'manage_options', $term_obj )</code></pre>
Icon for the delete term meta button:
<pre><code>'jsmstm_delete_meta_icon_class' ( 'dashicons dashicons-table-row-delete' )</code></pre>
= Related Plugins =
* [JSM Show Comment Metadata](https://wordpress.org/plugins/jsm-show-comment-meta/)
* [JSM Show Order Metadata for WooCommerce HPOS](https://wordpress.org/plugins/jsm-show-order-meta/)
* [JSM Show Post Metadata](https://wordpress.org/plugins/jsm-show-post-meta/)
* [JSM Show Term Metadata](https://wordpress.org/plugins/jsm-show-term-meta/)
* [JSM Show User Metadata](https://wordpress.org/plugins/jsm-show-user-meta/)
* [JSM Show Registered Shortcodes](https://wordpress.org/plugins/jsm-show-registered-shortcodes/)
== Installation ==
== Frequently Asked Questions ==
== Screenshots ==
01. The "Term Metadata" metabox added to admin term editing pages.
== Changelog ==
<h3 class="top">Version Numbering</h3>
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).
<h3>Repositories</h3>
* [GitHub](https://jsmoriss.github.io/jsm-show-term-meta/)
* [WordPress.org](https://plugins.trac.wordpress.org/browser/jsm-show-term-meta/)
<h3>Changelog / Release Notes</h3>
**Version 4.6.2 (2024/12/26)**
* **New Features**
* None.
* **Improvements**
* None.
* **Bugfixes**
* Fixed PHP v8.2 warning: Using `${var}` in strings is deprecated in lib/com/util.php.
* **Developer Notes**
* None.
* **Requires At Least**
* PHP v7.4.33.
* WordPress v5.9.
**Version 4.6.1 (2024/11/25)**
* **New Features**
* None.
* **Improvements**
* None.
* **Bugfixes**
* None.
* **Developer Notes**
* Updated the `SucomUtil` and `SucomUtilWP` classes.
* **Requires At Least**
* PHP v7.4.33.
* WordPress v5.9.
== Upgrade Notice ==
= 4.6.2 =
(2024/12/26) Fixed PHP v8.2 warning: Using `${var}` in strings is deprecated in lib/com/util.php.
= 4.6.1 =
(2024/11/25) Updated the `SucomUtil` and `SucomUtilWP` classes.