Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #55664, comment 4


Ignore:
Timestamp:
05/03/2022 02:37:29 PM (22 months ago)
Author:
afercia
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55664, comment 4

    initial v1  
    11I did try `wp_unique_id()` as first thing but it always prints out `1` to me :) I think it's because the particular way `print_embed_sharing_dialog` is used but I didn't dive deep.
     2
     3Edit: I guess the `wp_unique_id()` counter variable is actually processed in the php that's used within the iframe so... it always restarts the count for each iframe.