[wp-trac] [WordPress Trac] #51759: WordPress the_tags() before not working at the loop

WordPress Trac noreply at wordpress.org
Thu Nov 12 09:17:32 UTC 2020


#51759: WordPress the_tags() before not working at the loop
--------------------------+-----------------------------
 Reporter:  dagmanolis    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.5.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I am using WP 5.5.3
 The code is

 **<?php the_tags("My tags:", ","); ?>**

 On a single post I get what I supposed to get

 **My tags: tag1, tag2 etc...**

 But on the loop I get the before string plus the default wordpress title

 **My tags: Tags: tag1, tag2 etc...**

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51759>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list