[wp-trac] [WordPress Trac] #39165: Add page to assist with debugging and support

WordPress Trac noreply at wordpress.org
Thu Sep 21 12:33:12 UTC 2017


#39165: Add page to assist with debugging and support
-------------------------+-----------------------
 Reporter:  jorbin       |       Owner:  Clorith
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  4.9
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+-----------------------

Comment (by Clorith):

 in [attachment:39165.6.patch] :

 * Get active drop-ins
 * Attempts to get server OS and architecture if possible
 * MySQL client is included when possible
 * Add check for function existing (being enabled) before using non-core
 functions, this avoids fatal errors
 * Fixed the priority ordering, core sections come first
 * Fixed text area indents on the first line
 * Added permalink structure
 * Added a `private` field to the section as well as single fields
 * Floated the ''back to ToC'' link based on language direction

 I've also introduced a new section, *PHP Information*, this is essentially
 `phpinfo()` being output within wp-admin. It includes a notice about the
 information contained in that page, it is intended for all those weird
 edge cases where there's that one specific setting you need to know about
 that wouldn't make sense to include in the debug output in the first
 place.

 Basically that new "page" is there to not overload the normal debugging
 process with edge case scenario data, and instead allow individual
 developers to request information from specific fields in those rare
 cases.

 As for some of the input provided:
 Automatically copying text to the clipboard isn't possible, or rather, the
 API for it isn't there yet, those sites that do have this feature use a
 flash-polyfill where the clipboard is populated by a flash-video, it's a
 terrible hack and not worth it.

 Linking to just `#` takes you to the very top of the page, that's counter
 intuitive both for regular users, and screen reader users who might need
 it to jump between sections, it is much more logical to take you back to
 the table of contents list (although if I'm incorrect and there's a11y
 improvements to be had I'm all ears).

 Extra hooks, I'm on the fence about, it's a debug page, the copy-field
 should really be enough for most situations, I'm not convinced the need to
 send them by email from within wp-admin is a legitimate purpose (and is
 more likely to get you picked up by a spam filter than anything else I'm
 afraid).

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


More information about the wp-trac mailing list