[wp-trac] [WordPress Trac] #50080: wp_set_post_tags() adds terms to post types that don't support the term's taxonomy

WordPress Trac noreply at wordpress.org
Mon May 4 16:46:30 UTC 2020


#50080: wp_set_post_tags() adds terms to post types that don't support the term's
taxonomy
-------------------------------+------------------------------
 Reporter:  paulschreiber      |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Taxonomy           |     Version:  2.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by paulschreiber):

 On The Undefeated, we noticed some posts from a private CPT showing up on
 tag archive pages. We eventually tracked it down to the private CPT
 getting tags via some filter/actions.

 In addition to putting broken links on the tag archive page, was an
 inadvertent (and in this case harmless) information disclosure. Such a
 disclosure could have worse consequences for others.

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


More information about the wp-trac mailing list