Make WordPress Core

Ticket #46809: 46809.patch

File 46809.patch, 711 bytes (added by Clorith, 6 years ago)
  • src/wp-admin/includes/class-wp-debug-data.php

     
    902902         * @return string The formatted data.
    903903         */
    904904        public static function format( $info_array, $type = 'text' ) {
    905                 $return = '';
     905                $return = "`\n";
    906906
    907907                foreach ( $info_array as $section => $details ) {
    908908                        // Skip this section if there are no fields, or the section has been declared as private.
     
    943943                        $return .= "\n";
    944944                }
    945945
     946                $return .= "`";
     947
    946948                return $return;
    947949        }
    948950