Making WordPress.org


Ignore:
Timestamp:
04/24/2023 01:29:15 AM (4 years ago)
Author:
dd32
Message:

Trac: Don't throw a JS error on non-ticket pages for non-Gardeners.

In r12415 I failed to gate the code properly which has caused a JS error, which caused some functionalities of the page to not be rendered for logged out users.

See #6783.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/trac.wordpress.org/templates/site.html

    r12546 r12555  
    55
    66<?python
    7         scripts_version = '211'
     7        scripts_version = '212'
    88        project_slug = req.environ['HTTP_HOST'].split(':')[0].split('.')[0]
    99        wporg_endpoint = 'https://make.wordpress.org/' + project_slug + '/'
Note: See TracChangeset for help on using the changeset viewer.