Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #58075


Ignore:
Timestamp:
04/04/2023 05:14:31 PM (3 years ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58075

    • Property Summary changed from `wp_enqueue_scripts` action not firing at the right time to Twenty Twenty-Three: wp_enqueue_scripts action not firing at the right time
  • Ticket #58075 – Description

    initial v1  
    11How to reproduce:
    22
    3 Use this piece of code somewhere in the theme or a plugin
     3Use this piece of code somewhere in the (child) theme or a plugin
    44
    55{{{#!php
     
    1313}}}
    1414
    15 It will print 0 despite being in the middle of processing the post content.
     15It will print `0` despite being in the middle of processing the post content.
    1616
    17 It cause problems for plugins that add inline JS (wp_add_inline_script) in the post content that are generated from plugin settings or a block attributes for instance.
     17It cause problems for plugins that add inline JS (`wp_add_inline_script`) in the post content that are generated from plugin settings or a block attributes for instance.
    1818
    1919Does not happen with any other theme