[wp-trac] [WordPress Trac] #64882: Twenty Fourteen's "featured" tag is being removed from posts

WordPress Trac noreply at wordpress.org
Fri Mar 27 06:08:45 UTC 2026


#64882: Twenty Fourteen's "featured" tag is being removed from posts
--------------------------------------+------------------------------
 Reporter:  poena                     |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Bundled Theme             |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+------------------------------

Comment (by roshniahuja14):

 I've submitted a pull request for this issue: https://github.com/WordPress
 /wordpress-develop/pull/11372

   Changes:
   - Added wp_is_serving_rest_request() check alongside is_admin() in both
 hide_featured_term() and hide_the_featured_term() methods in
 twentyfourteen/inc/featured-content.php
   - Used function_exists() guard for backward compatibility with WordPress
 < 6.5

   How to reproduce:
   1. Activate Twenty Fourteen theme
   2. Go to Appearance → Customize → Featured Content, set tag to
 "featured", enable "Hide tag from displaying in post details"
   3. Create a post with the "featured" tag
   4. Open the post in the block editor — the tag is missing from the Tags
 panel
   5. Save the post — the "featured" tag gets permanently removed

   After the fix:
   - The "featured" tag is visible in the block editor and preserved on
 save
   - The REST API (/wp-json/wp/v2/posts/{id}) correctly returns the tag
   - The tag remains hidden on the front end as intended

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64882#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list