Making WordPress.org

Ticket #2979: 2979.diff

File 2979.diff, 1.2 KB (added by afzalmultani, 7 years ago)

fix for multiple placeholders should be ordered

  • wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference-archive.php

     .../themes/pub/wporg-developer/content-reference-archive.php          | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference-archive.php wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference-archive.php
    index bc6d5f9b..26e7ad3e 100644
     
    2626        ?>
    2727        <div class="meta">
    2828                <?php printf(
    29                         _n( 'Used by <a href="%s">1 function</a>', 'Used by <a href="%s">%d functions</a>', $used_by, 'wporg' ),
     29                        _n( 'Used by <a href="%1$s">1 function</a>', 'Used by <a href="%2$d"> functions</a>', $used_by, 'wporg' ),
    3030                        esc_url( apply_filters( 'the_permalink', get_permalink() ) ) . '#usage',
    3131                        $used_by
    3232                ); ?>
    3333                |
    3434                <?php printf(
    35                         _n( 'Uses <a href="%s">1 function</a>', 'Uses <a href="%s">%d functions</a>', $uses, 'wporg' ),
     35                        _n( 'Uses <a href="%1$s">1 function</a>', 'Uses <a href="%2$d"> functions</a>', $uses, 'wporg' ),
    3636                        esc_url( apply_filters( 'the_permalink', get_permalink() ) ) . '#usage',
    3737                        $uses
    3838                ); ?>