Changeset 14674
- Timestamp:
- 03/04/2026 04:49:12 AM (3 months ago)
- Location:
- sites/trunk
- Files:
-
- 2 edited
-
trac.wordpress.org/templates/site.html (modified) (1 diff)
-
wordpress.org/public_html/style/trac/wp-trac.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/trac.wordpress.org/templates/site.html
r14612 r14674 5 5 6 6 <?python 7 scripts_version = '23 2'7 scripts_version = '233' 8 8 project_slug = req.environ['HTTP_HOST'].split(':')[0].split('.')[0] 9 9 wporg_endpoint = 'https://make.wordpress.org/' + project_slug + '/' -
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js
r14554 r14674 1751 1751 1752 1752 // This seems to be the easiest place to find the current Ticket ID.. 1753 var canonical = $( 'link[rel="canonical"]' ).prop( 'href' ); 1754 if ( canonical ) { 1755 ticket = canonical.match( /\/ticket\/(\d+)$/ )[1]; 1756 } 1757 1753 ticket = $( 'link[rel="canonical"]' )?.prop( 'href')?.match( /\/ticket\/(\d+)$/ )?.[1]; 1758 1754 if ( ! ticket ) { 1759 1755 return;
Note: See TracChangeset
for help on using the changeset viewer.