Making WordPress.org

Changeset 9913


Ignore:
Timestamp:
05/25/2020 01:46:45 AM (5 years ago)
Author:
dd32
Message:

Trac: Strip off any ticket-looking references from the start of PR titles, improves the display on Trac ticket pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js

    r9912 r9913  
    17971797                }
    17981798
     1799                // Strip off any ticket numbers from the start of the PR title for display.
     1800                data.title = data.title.replace( /^#\d+\s*/, '' );
     1801
    17991802                container.append(
    18001803                    '<li>' +
Note: See TracChangeset for help on using the changeset viewer.