WordPress.org

Making WordPress.org

Changes between Initial Version and Version 1 of Ticket #4994, comment 10


Ignore:
Timestamp:
03/04/2020 01:51:26 AM (5 months ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4994, comment 10

    initial v1  
    11Yup, looks like it's some kind of caching, the `$theme` data isn't available when the header functions run:
     2
     3edit: It's even weirder. `is_single()` returns `true`, but `get_post()` returns `null`.. 🤷
     4
    25
    36{{{