Making WordPress.org

Changeset 5894


Ignore:
Timestamp:
09/07/2017 06:07:42 PM (9 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Fix site title section URLs for non-CLI sections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php

    r5821 r5894  
    466466                        case 'plugins':
    467467                        case 'themes':
    468                                 return home_url( '/' . $parts[1] . '/' );
     468                                return home_url( '/' . $parts[0] . '/' );
    469469                        case 'cli':
    470470                                return home_url( '/cli/commands/' );
Note: See TracChangeset for help on using the changeset viewer.