[wp-trac] [WordPress Trac] #61044: Interactivity API: Debug - Warning about Server Directives Processing errors.

WordPress Trac noreply at wordpress.org
Fri Apr 19 15:34:03 UTC 2024


#61044: Interactivity API: Debug - Warning about Server Directives Processing
errors.
--------------------------+-----------------------------
 Reporter:  cbravobernal  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 == What problem does this address?

 Right now, if there is an error during the server directives processing,
 there is no way to determine that the error occurred. There is only a
 layout shift (a brief screen flash) when loading the website, and if the
 developer has a fast connection or a fast local environment, it is really
 hard to notice.


 == What is your proposed solution?
 If debugging is enabled, the client could send a console error if the
 source differs from the virtual DOM, or the server could send a PHP
 warning notice if the server directive processing is aborted (due to
 malformed HTML or unsupported tags).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61044>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list