Make WordPress Core

Changeset 23021


Ignore:
Timestamp:
12/04/2012 02:49:44 PM (12 years ago)
Author:
nacin
Message:

Add context to the 'Random' string. It is now used in two places: gallery order and the links widget. props pavelevap, fixes #22724.

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-widgets.php

    r22481 r23021  
    162162            <option value="rating"<?php selected( $instance['orderby'], 'rating' ); ?>><?php _e( 'Link rating' ); ?></option>
    163163            <option value="id"<?php selected( $instance['orderby'], 'id' ); ?>><?php _e( 'Link ID' ); ?></option>
    164             <option value="rand"<?php selected( $instance['orderby'], 'rand' ); ?>><?php _e( 'Random' ); ?></option>
     164            <option value="rand"<?php selected( $instance['orderby'], 'rand' ); ?>><?php _ex( 'Random', 'Links widget' ); ?></option>
    165165        </select>
    166166        </p>
  • trunk/wp-includes/media.php

    r23011 r23021  
    18651865
    18661866        <label class="setting">
    1867             <span><?php _e('Random'); ?></span>
     1867            <span><?php _ex( 'Random', 'Gallery order' ); ?></span>
    18681868            <input type="checkbox" data-setting="_orderbyRandom" />
    18691869        </label>
Note: See TracChangeset for help on using the changeset viewer.