[wp-trac] [WordPress Trac] #64527: Fix missing whitespace before troubleshooting link in fatal error handler

WordPress Trac noreply at wordpress.org
Tue Jan 20 14:43:15 UTC 2026


#64527: Fix missing whitespace before troubleshooting link in fatal error handler
---------------------------------------+------------------------------
 Reporter:  Presskopp                  |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Upgrade/Install            |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:
---------------------------------------+------------------------------
Changes (by wildworks):

 * keywords:  has-screenshots => has-patch has-screenshots


Comment:

 The only solution I can think of is to combine
 [https://github.com/t-hamano/wordpress-
 develop/blob/b47e1c7c5985fff02153cd89cbba912aa85b8a02/src/wp-includes
 /class-wp-fatal-error-handler.php#L203-L209 these two paragraphs] and make
 them translatable:

 {{{
 #!php
 $message = '<p>' . sprintf(
         /* translators: %s: Error message. */
         __( '%s <a href="%s">Learn more about troubleshooting
 WordPress.</a>' ),
         $message,
         /* translators: Documentation about troubleshooting. */
         __( 'https://wordpress.org/documentation/article/faq-
 troubleshooting/' ),
 ) . '</p>';
 }}}

 That would at least solve the spacing issue. However, this change would
 also affect the layout of PHP critical error page.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64527#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list