Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #46743, comment 5


Ignore:
Timestamp:
04/17/2019 01:38:35 AM (7 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #46743, comment 5

    v1 v2  
    1313Let's consider the use case from #12563: adding asynchronous JS code right after the opening `<body>` tag. How would the plugin author know if the code was successfully added? If the current theme does not support `wp_body_open()`, they would need to use some fallback code.
    1414
    15 > We should educate theme developers how to use wp_body_open() function (see #46679)
     15> We should educate theme developers how to use `wp_body_open()` function (see #46679)
    1616
    1717I agree, but that does not solve the immediate issue for plugin authors.