Making WordPress.org


Ignore:
Timestamp:
02/07/2016 05:06:20 PM (10 years ago)
Author:
ocean90
Message:

WP i18n teams: Make locale filters sharable by using fragment identifiers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wp-i18n-teams/views/all-locales.php

    r2229 r2478  
    1717            $string = translate_nooped_plural( $nooped_plural, $locale_data['status_counts'][ $status ] );
    1818            $string = sprintf( $string, sprintf( '<strong class="i18n-label %s">%s</strong>', $status, $locale_data['status_counts'][ $status ] ) );
    19             printf( ' <a href="#" class="i18n-filter" data-filter="%s">%s</a>', $status, $string );
     19            printf( ' <a href="#%s" class="i18n-filter" data-filter="%s">%s</a>', $status, $status, $string );
    2020        }
    2121    ?>
     
    3838            $string = translate_nooped_plural( $nooped_plural, $locale_data['status_counts'][ $status ] );
    3939            $string = sprintf( $string, sprintf( '<strong class="i18n-label %s">%s</strong>', $status, $locale_data['status_counts'][ $status ] ) );
    40             printf( ' <a href="#" class="i18n-filter" data-filter="%s">%s</a>', $status, $string );
     40            printf( ' <a href="#%s" class="i18n-filter" data-filter="%s">%s</a>', $status, $status, $string );
    4141        }
    4242    ?>
Note: See TracChangeset for help on using the changeset viewer.