Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #55230


Ignore:
Timestamp:
02/22/2022 11:03:27 PM (3 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55230

    • Property Component changed from Administration to Login and Registration
    • Property Milestone changed from Awaiting Review to 5.9.2
  • Ticket #55230 – Description

    initial v2  
    11The release 5.9.1 introduced a bug in script-loader.php with this new method:
    2 
     2{{{
    33/**
    44 * Render the SVG filters supplied by theme.json.
     
    2929        }
    3030}
    31 
     31}}}
    3232This method echos characters to the response stream before all "headers" and "cookies" have been pushed. This prevents the wp-login.php form to work properly because every calls to the "header" or "cookie" method then generates this warning: "Cannot modify header information – headers already sent by...”. This prevents the authentication cookie to be sent to the browser which breaks the authentication mechanism. To fix this issue, I had to add a "return;" in the new "wp_global_styles_render_svg_filters" method.