title: Tinymce error page category in Wordpress
body: <p>I put this piece of code in my wordpress function.php.</p>
  
  <pre><code>remove_filter( 'pre_term_description', 'wp_filter_kses' );
  remove_filter( 'term_description', 'wp_kses_data' );
  
  add_filter('edit_category_form_fields', 'cat_description');
  function cat_description($tag)
  {
      ?&gt;
          &lt;table class="form-table"&gt;
              &lt;tr class="form-field"&gt;
                  &lt;th scope="row" valign="top"&gt;&lt;label for="description"&gt;&lt;?php _ex('Description', 'Taxonomy Description'); ?&gt;&lt;/label&gt;&lt;/th&gt;
                  &lt;td&gt;
                  &lt;?php
                      $settings = array('wpautop' =&gt; true, 'media_buttons' =&gt; true, 'quicktags' =&gt; true, 'textarea_rows' =&gt; '15', 'textarea_name' =&gt; 'description' );
                      wp_editor(wp_kses_post($tag-&gt;description , ENT_QUOTES, 'UTF-8'), 'cat_description', $settings);
                  ?&gt;
                  &lt;br /&gt;
                  &lt;span class="description"&gt;&lt;?php _e('The description is not prominent by default; however, some themes may show it.'); ?&gt;&lt;/span&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
      &lt;?php
  }
  
  add_action('admin_head', 'remove_default_category_description');
  function remove_default_category_description()
  {
      global $current_screen;
      if ( $current_screen-&gt;id == 'edit-category' )
      {
      ?&gt;
          &lt;script type="text/javascript"&gt;
          jQuery(function($) {
              $('textarea#description').closest('tr.form-field').remove();
          });
          &lt;/script&gt;
      &lt;?php
      }
  }
  </code></pre>
  
  <p>Tinymce you see properly. </p>
  
  <p>But the text that should be showed in the "content-html" is shown in the "content-tmce".</p>
  
  <p>For example:</p>
  
  <pre><code>"content-html": &amp;lt;strong&amp;gt;hello&amp;lt;/strong&amp;gt;
  
  "content-tmce": &lt;strong&gt;hello&lt;/strong&gt;
  </code></pre>
  
  <p>I have follow this guide: <a href="https://paulund.co.uk/add-tinymce-editor-category-description" rel="nofollow noreferrer">https://paulund.co.uk/add-tinymce-editor-category-description</a></p>
  
  <p>How can I solve?</p>