Changeset 9695
- Timestamp:
- 04/03/2020 04:55:32 AM (5 years ago)
- Location:
- sites/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk
-
Property
svn:global-ignores
set to
.gitignore
.git
-
Property
svn:global-ignores
set to
-
sites/trunk/api.wordpress.org/public_html/dotorg/trac/pr/functions.php
r9564 r9695 177 177 // For now, we assume everything is destined for the Core Trac. 178 178 switch ( $pr->base->repo->full_name ) { 179 case 'WordPress/wordpress.org': 180 $trac = 'meta'; 181 break; 179 182 case 'WordPress/wordpress-develop': 180 183 default: -
sites/trunk/trac.wordpress.org/templates/site.html
r9629 r9695 5 5 6 6 <?python 7 scripts_version = '1 39'7 scripts_version = '140' 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
r9628 r9695 1550 1550 authenticated = !! ( wpTracCurrentUser && wpTracCurrentUser !== "anonymous" ), 1551 1551 trac = false, ticket = 0, 1552 container;1552 primaryGitRepo, primaryGitRepoDesc, container; 1553 1553 1554 1554 function init() { … … 1556 1556 if ( $body.hasClass( 'core' ) ) { 1557 1557 trac = 'core'; 1558 primaryGitRepo = 'WordPress/wordpress-develop'; 1559 primaryGitRepoDesc = 'WordPress GitHub mirror'; 1560 } else if ( $body.hasClass( 'meta' ) ) { 1561 trac = 'meta'; 1562 primaryGitRepo = 'WordPress/wordpress.org'; 1563 primaryGitRepoDesc = 'WordPress.org Meta GitHub mirror'; 1558 1564 } 1559 1565 … … 1596 1602 } else { 1597 1603 // Change the loading placeholder 1598 prContainer.find( '.loading div' ).html( 'To link a Pull Request to this ticket, create a new Pull Request in the <a href="https://github.com/ WordPress/wordpress-develop">WordPress GitHub mirror</a> and include this ticket’s URL in the description.' );1604 prContainer.find( '.loading div' ).html( 'To link a Pull Request to this ticket, create a new Pull Request in the <a href="https://github.com/' + primaryGitRepo + '">' + primaryGitRepoDesc + '</a> and include this ticket’s URL in the description.' ); 1599 1605 } 1600 1606 });
Note: See TracChangeset
for help on using the changeset viewer.