Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #62763, comment 2


Ignore:
Timestamp:
01/06/2025 04:44:37 AM (16 months ago)
Author:
hbhalodia
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62763, comment 2

    initial v1  
    1 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.
     1Hi @vineet2003, I guess this is a straightforward approach, But it may have some implications.
     2
     3For 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.
     4
     5So, we need to find a approach that plugin/theme developer would not need to change/add something to their codebase and we can achive the desired results or, if ultimately they need to change, then we should use directly wp_unique_id() and ask them to use new ID.