WordPress.org

Making WordPress.org

Changeset 188


Ignore:
Timestamp:
12/29/2013 11:30:31 PM (6 years ago)
Author:
nacin
Message:

Trac: Fix RSS feed links. fixes #21.

File:
1 edited

Legend:

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

    r186 r188  
    1717        support_link = 'http://wordpress.org/support/'
    1818        profile_link = 'http://profiles.wordpress.org/'
     19
     20    # Fix http://meta.trac.wordpress.org/ticket/21
     21    import urllib
     22    for link in chrome['links']['alternate']:
     23        if link['class'] == 'rss':
     24            new_link = link['href'].split('/login?referer=')
     25            link['href'] = urllib.unquote(new_link[1])
    1926?>
    2027
Note: See TracChangeset for help on using the changeset viewer.