[wp-trac] [WordPress Trac] #62763: get_calendar(): IDs may be duplicated

WordPress Trac noreply at wordpress.org
Mon Jan 6 04:42:17 UTC 2025


#62763: get_calendar(): IDs may be duplicated
--------------------------+------------------------------
 Reporter:  wildworks     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by hbhalodia):

 Hi @vineet2003, I guess this is a straightforward approach, But it may
 have some implications. For example, We need to find an approach that
 plugin/theme developers does not need to do extra thing like to add the
 filter, if ultimately they need to, then we can just use wp_unique_id
 without any additional filters, and ask plugin/theme developer to change
 their code to use the generated id may be in JS. So we would not introduce
 any extra filter to the core codebase.

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


More information about the wp-trac mailing list