PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.2
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.2
4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 All 200 releases
← All changes | includes/Editors/Elementor/Helper.php +3 -1 4.5.24.9.2 View file →
@@ -52,9 +52,11 @@
52 52 );
53 53
54 54 if ( ! empty( $terms ) && ! is_wp_error( $terms ) ) {
55 55 foreach ( $terms as $term ) {
56 - $options[ $term->{$key} ] = $term->name;
56 + // Decode HTML entities (e.g. "&" → "&") so the select2 control
57 + // shows the real term name instead of the escaped entity.
58 + $options[ $term->{$key} ] = wp_specialchars_decode( $term->name, ENT_QUOTES );
57 59 }
58 60 }
59 61
60 62 return $options;