mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 15:17:42 +02:00
Remove "Show" prefix from filter dropdowns, see #26743.
Built from https://develop.svn.wordpress.org/trunk@27626 git-svn-id: http://core.svn.wordpress.org/trunk@27469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
30fd56b3dc
commit
d1f3abe55c
@ -233,7 +233,7 @@ class WP_Comments_List_Table extends WP_List_Table {
|
|||||||
if ( 'top' == $which ) {
|
if ( 'top' == $which ) {
|
||||||
?>
|
?>
|
||||||
<select name="comment_type">
|
<select name="comment_type">
|
||||||
<option value=""><?php _e( 'Show all comment types' ); ?></option>
|
<option value=""><?php _e( 'All comment types' ); ?></option>
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Filter the comment types dropdown menu.
|
* Filter the comment types dropdown menu.
|
||||||
|
@ -398,7 +398,7 @@ class WP_List_Table {
|
|||||||
$m = isset( $_GET['m'] ) ? (int) $_GET['m'] : 0;
|
$m = isset( $_GET['m'] ) ? (int) $_GET['m'] : 0;
|
||||||
?>
|
?>
|
||||||
<select name='m'>
|
<select name='m'>
|
||||||
<option<?php selected( $m, 0 ); ?> value='0'><?php _e( 'Show all dates' ); ?></option>
|
<option<?php selected( $m, 0 ); ?> value='0'><?php _e( 'All dates' ); ?></option>
|
||||||
<?php
|
<?php
|
||||||
foreach ( $months as $arc_row ) {
|
foreach ( $months as $arc_row ) {
|
||||||
if ( 0 == $arc_row->year )
|
if ( 0 == $arc_row->year )
|
||||||
|
@ -902,7 +902,7 @@ function image_align_input_fields( $post, $checked = '' ) {
|
|||||||
foreach ( $alignments as $name => $label ) {
|
foreach ( $alignments as $name => $label ) {
|
||||||
$name = esc_attr($name);
|
$name = esc_attr($name);
|
||||||
$out[] = "<input type='radio' name='attachments[{$post->ID}][align]' id='image-align-{$name}-{$post->ID}' value='$name'".
|
$out[] = "<input type='radio' name='attachments[{$post->ID}][align]' id='image-align-{$name}-{$post->ID}' value='$name'".
|
||||||
( $checked == $name ? " checked='checked'" : "" ) .
|
( $checked == $name ? " checked='checked'" : "" ) .
|
||||||
" /><label for='image-align-{$name}-{$post->ID}' class='align image-align-{$name}-label'>$label</label>";
|
" /><label for='image-align-{$name}-{$post->ID}' class='align image-align-{$name}-label'>$label</label>";
|
||||||
}
|
}
|
||||||
return join("\n", $out);
|
return join("\n", $out);
|
||||||
@ -1570,11 +1570,11 @@ function get_compat_media_markup( $attachment_id, $args = null ) {
|
|||||||
|
|
||||||
$defaults = array(
|
$defaults = array(
|
||||||
'input' => 'text',
|
'input' => 'text',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'value' => '',
|
'value' => '',
|
||||||
'extra_rows' => array(),
|
'extra_rows' => array(),
|
||||||
'show_in_edit' => true,
|
'show_in_edit' => true,
|
||||||
'show_in_modal' => true,
|
'show_in_modal' => true,
|
||||||
);
|
);
|
||||||
|
|
||||||
$hidden_fields = array();
|
$hidden_fields = array();
|
||||||
@ -2357,7 +2357,7 @@ $selected_month = isset( $_GET['m'] ) ? $_GET['m'] : 0;
|
|||||||
|
|
||||||
if ( $month_count && !( 1 == $month_count && 0 == $arc_result[0]->mmonth ) ) { ?>
|
if ( $month_count && !( 1 == $month_count && 0 == $arc_result[0]->mmonth ) ) { ?>
|
||||||
<select name='m'>
|
<select name='m'>
|
||||||
<option<?php selected( $selected_month, 0 ); ?> value='0'><?php _e('Show all dates'); ?></option>
|
<option<?php selected( $selected_month, 0 ); ?> value='0'><?php _e( 'All dates' ); ?></option>
|
||||||
<?php
|
<?php
|
||||||
foreach ($arc_result as $arc_row) {
|
foreach ($arc_result as $arc_row) {
|
||||||
if ( $arc_row->yyear == 0 )
|
if ( $arc_row->yyear == 0 )
|
||||||
@ -2547,7 +2547,7 @@ add_action('post-plupload-upload-ui', 'media_upload_flash_bypass');
|
|||||||
function media_upload_html_bypass() {
|
function media_upload_html_bypass() {
|
||||||
?>
|
?>
|
||||||
<p class="upload-html-bypass hide-if-no-js">
|
<p class="upload-html-bypass hide-if-no-js">
|
||||||
<?php _e('You are using the browser’s built-in file uploader. The WordPress uploader includes multiple file selection and drag and drop capability. <a href="#">Switch to the multi-file uploader</a>.'); ?>
|
<?php _e('You are using the browser’s built-in file uploader. The WordPress uploader includes multiple file selection and drag and drop capability. <a href="#">Switch to the multi-file uploader</a>.'); ?>
|
||||||
</p>
|
</p>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@ -2620,7 +2620,7 @@ function edit_form_image_editor( $post ) {
|
|||||||
$nonce = wp_create_nonce( "image_editor-$post->ID" );
|
$nonce = wp_create_nonce( "image_editor-$post->ID" );
|
||||||
$image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit Image' ) . "' /> <span class='spinner'></span>";
|
$image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit Image' ) . "' /> <span class='spinner'></span>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="imgedit-response" id="imgedit-response-<?php echo $attachment_id; ?>"></div>
|
<div class="imgedit-response" id="imgedit-response-<?php echo $attachment_id; ?>"></div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user