Making WordPress.org


Ignore:
Timestamp:
02/20/2025 01:52:52 AM (18 months ago)
Author:
dd32
Message:

Trac: GitHub PRs: Support diff code blocks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/dotorg/trac/pr/functions.php

    r14343 r14394  
    401401                         * See https://trac.edgewall.org/wiki/1.1/WikiProcessors#AvailableProcessors
    402402                         */
    403                         $supported_formats = [ 'xml', 'php', 'js', 'javascript', 'sql', 'sh' ];
     403                        $supported_formats = [ 'xml', 'php', 'js', 'javascript', 'sql', 'sh', 'diff' ];
    404404                        if ( ! in_array( $format, $supported_formats ) ) {
    405405                                $format = 'default';
Note: See TracChangeset for help on using the changeset viewer.