Ticket #18218: 18218.4.patch
File 18218.4.patch, 40.7 KB (added by , 13 years ago) |
---|
-
wp-admin/edit-comments.php
194 194 if ( $same > 0 && $comment = get_comment( $same ) ) { 195 195 switch ( $comment->comment_approved ) { 196 196 case '1' : 197 $messages[] = __('This comment is already approved.') . ' <a href="' . esc_url( admin_url( "comment.php?action=editcomment&c=$same" ) ) . '">' . __( 'Edit comment' ) . '</a>';197 $messages[] = __('This comment is already approved.') . ' <a href="' . esc_url( admin_url( "comment.php?action=editcomment&c=$same" ) ) . '">' . __( 'Edit Comment' ) . '</a>'; 198 198 break; 199 199 case 'trash' : 200 200 $messages[] = __( 'This comment is already in the Trash.' ) . ' <a href="' . esc_url( admin_url( 'edit-comments.php?comment_status=trash' ) ) . '"> ' . __( 'View Trash' ) . '</a>'; 201 201 break; 202 202 case 'spam' : 203 $messages[] = __( 'This comment is already marked as spam.' ) . ' <a href="' . esc_url( admin_url( "comment.php?action=editcomment&c=$same" ) ) . '">' . __( 'Edit comment' ) . '</a>';203 $messages[] = __( 'This comment is already marked as spam.' ) . ' <a href="' . esc_url( admin_url( "comment.php?action=editcomment&c=$same" ) ) . '">' . __( 'Edit Comment' ) . '</a>'; 204 204 break; 205 205 } 206 206 } -
wp-admin/edit-form-comment.php
106 106 <td class="first"> 107 107 <?php 108 108 if ( ! empty( $comment->comment_author_url ) && 'http://' != $comment->comment_author_url ) { 109 $link = '<a href="' . $comment->comment_author_url . '" rel="external nofollow" target="_blank">' . __(' visit site') . '</a>';109 $link = '<a href="' . $comment->comment_author_url . '" rel="external nofollow" target="_blank">' . __('Visit Site') . '</a>'; 110 110 printf( __( 'URL (%s):' ), apply_filters('get_comment_author_link', $link ) ); 111 111 } else { 112 112 _e( 'URL:' ); -
wp-admin/includes/class-wp-comments-list-table.php
411 411 } 412 412 413 413 if ( 'trash' != $the_comment_status ) { 414 $actions['edit'] = "<a href='comment.php?action=editcomment&c={$comment->comment_ID}' title='" . esc_attr__( 'Edit comment' ) . "'>". __( 'Edit' ) . '</a>';415 $actions['quickedit'] = '<a onclick="commentReply.open( \''.$comment->comment_ID.'\',\''.$post->ID.'\',\'edit\' );return false;" class="vim-q" title="'.esc_attr__( 'Quick Edit' ).'" href="#">' . __( 'Quick Edit' ) . '</a>';414 $actions['edit'] = "<a href='comment.php?action=editcomment&c={$comment->comment_ID}' title='" . esc_attr__( 'Edit Comment' ) . "'>". __( 'Edit' ) . '</a>'; 415 $actions['quickedit'] = '<a onclick="commentReply.open( \''.$comment->comment_ID.'\',\''.$post->ID.'\',\'edit\' );return false;" class="vim-q" title="'.esc_attr__( 'Quick Edit' ).'" href="#">' . __( 'Quick Edit' ) . '</a>'; 416 416 if ( 'spam' != $the_comment_status ) 417 417 $actions['reply'] = '<a onclick="commentReply.open( \''.$comment->comment_ID.'\',\''.$post->ID.'\' );return false;" class="vim-r" title="'.esc_attr__( 'Reply to this comment' ).'" href="#">' . __( 'Reply' ) . '</a>'; 418 418 } -
wp-admin/includes/class-wp-plugins-list-table.php
365 365 if ( $screen->is_network ) { 366 366 if ( $is_active_for_network ) { 367 367 if ( current_user_can( 'manage_network_plugins' ) ) 368 $actions['network_deactivate'] = '<a href="' . wp_nonce_url('plugins.php?action=deactivate&networkwide=1&plugin=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'deactivate-plugin_' . $plugin_file) . '" title="' . esc_attr__('Deactivate thisplugin') . '">' . __('Network Deactivate') . '</a>';368 $actions['network_deactivate'] = '<a href="' . wp_nonce_url('plugins.php?action=deactivate&networkwide=1&plugin=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'deactivate-plugin_' . $plugin_file) . '" title="' . esc_attr__('Deactivate plugin') . '">' . __('Network Deactivate') . '</a>'; 369 369 } else { 370 370 if ( current_user_can( 'manage_network_plugins' ) ) 371 $actions['network_activate'] = '<a href="' . wp_nonce_url('plugins.php?action=activate&networkwide=1&plugin=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'activate-plugin_' . $plugin_file) . '" title="' . esc_attr__('Activate thisplugin for all sites in this network') . '" class="edit">' . __('Network Activate') . '</a>';371 $actions['network_activate'] = '<a href="' . wp_nonce_url('plugins.php?action=activate&networkwide=1&plugin=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'activate-plugin_' . $plugin_file) . '" title="' . esc_attr__('Activate plugin for all sites in this network') . '" class="edit">' . __('Network Activate') . '</a>'; 372 372 if ( current_user_can( 'delete_plugins' ) && ! is_plugin_active( $plugin_file ) ) 373 $actions['delete'] = '<a href="' . wp_nonce_url('plugins.php?action=delete-selected&checked[]=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'bulk-plugins') . '" title="' . esc_attr__('Delete this plugin') . '" class="delete">' . __('Delete') . '</a>';373 $actions['delete'] = '<a href="' . wp_nonce_url('plugins.php?action=delete-selected&checked[]=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'bulk-plugins') . '" title="' . esc_attr__('Delete Plugin') . '" class="delete">' . __('Delete') . '</a>'; 374 374 } 375 375 } else { 376 376 if ( $is_active ) { 377 $actions['deactivate'] = '<a href="' . wp_nonce_url('plugins.php?action=deactivate&plugin=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'deactivate-plugin_' . $plugin_file) . '" title="' . esc_attr__('Deactivate this plugin') . '">' . __('Deactivate') . '</a>';377 $actions['deactivate'] = '<a href="' . wp_nonce_url('plugins.php?action=deactivate&plugin=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'deactivate-plugin_' . $plugin_file) . '" title="' . esc_attr__('Deactivate Plugin') . '">' . __('Deactivate') . '</a>'; 378 378 } else { 379 $actions['activate'] = '<a href="' . wp_nonce_url('plugins.php?action=activate&plugin=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'activate-plugin_' . $plugin_file) . '" title="' . esc_attr__('Activate this plugin') . '" class="edit">' . __('Activate') . '</a>';379 $actions['activate'] = '<a href="' . wp_nonce_url('plugins.php?action=activate&plugin=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'activate-plugin_' . $plugin_file) . '" title="' . esc_attr__('Activate Plugin') . '" class="edit">' . __('Activate') . '</a>'; 380 380 381 381 if ( ! is_multisite() && current_user_can('delete_plugins') ) 382 $actions['delete'] = '<a href="' . wp_nonce_url('plugins.php?action=delete-selected&checked[]=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'bulk-plugins') . '" title="' . esc_attr__('Delete this plugin') . '" class="delete">' . __('Delete') . '</a>';382 $actions['delete'] = '<a href="' . wp_nonce_url('plugins.php?action=delete-selected&checked[]=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page . '&s=' . $s, 'bulk-plugins') . '" title="' . esc_attr__('Delete Plugin') . '" class="delete">' . __('Delete') . '</a>'; 383 383 } // end if $is_active 384 384 } // end if $screen->is_network 385 385 -
wp-admin/includes/class-wp-posts-list-table.php
540 540 $actions = array(); 541 541 if ( $can_edit_post && 'trash' != $post->post_status ) { 542 542 $actions['edit'] = '<a href="' . get_edit_post_link( $post->ID, true ) . '" title="' . esc_attr( __( 'Edit this item' ) ) . '">' . __( 'Edit' ) . '</a>'; 543 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline" title="' . esc_attr( __( ' Edit this item inline' ) ) . '">' . __( 'Quick Edit' ) . '</a>';543 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline" title="' . esc_attr( __( 'Quick Edit' ) ) . '">' . __( 'Quick Edit' ) . '</a>'; 544 544 } 545 545 if ( current_user_can( $post_type_object->cap->delete_post, $post->ID ) ) { 546 546 if ( 'trash' == $post->post_status ) -
wp-admin/includes/class-wp-terms-list-table.php
257 257 $actions = array(); 258 258 if ( current_user_can( $tax->cap->edit_terms ) ) { 259 259 $actions['edit'] = '<a href="' . $edit_link . '">' . __( 'Edit' ) . '</a>'; 260 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline" >' . __( 'Quick Edit' ) . '</a>';260 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline" title="' . esc_attr( __( 'Quick Edit' ) ) . '">' . __( 'Quick Edit' ) . '</a>'; 261 261 } 262 262 if ( current_user_can( $tax->cap->delete_terms ) && $tag->term_id != $default_term ) 263 263 $actions['delete'] = "<a class='delete-tag' href='" . wp_nonce_url( "edit-tags.php?action=delete&taxonomy=$taxonomy&tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id ) . "'>" . __( 'Delete' ) . "</a>"; -
wp-admin/includes/dashboard.php
126 126 } 127 127 128 128 foreach ( $dashboard_widgets as $widget_id ) { 129 $name = empty( $wp_registered_widgets[$widget_id]['all_link'] ) ? $wp_registered_widgets[$widget_id]['name'] : $wp_registered_widgets[$widget_id]['name'] . " <a href='{$wp_registered_widgets[$widget_id]['all_link']}' class='edit-box open-box'>" . __('View all') . '</a>';129 $name = empty( $wp_registered_widgets[$widget_id]['all_link'] ) ? $wp_registered_widgets[$widget_id]['name'] : $wp_registered_widgets[$widget_id]['name'] . " <a href='{$wp_registered_widgets[$widget_id]['all_link']}' class='edit-box open-box'>" . __('View All') . '</a>'; 130 130 wp_add_dashboard_widget( $widget_id, $name, $wp_registered_widgets[$widget_id]['callback'], $wp_registered_widget_controls[$widget_id]['callback'] ); 131 131 } 132 132 … … 596 596 <ul> 597 597 <li><?php echo join( "</li>\n<li>", $list ); ?></li> 598 598 </ul> 599 <p class="textright"><a href="edit.php?post_status=draft" ><?php _e('View all'); ?></a></p>599 <p class="textright"><a href="edit.php?post_status=draft" ><?php _e('View All'); ?></a></p> 600 600 <?php 601 601 } else { 602 602 _e('There are no drafts at the moment'); … … 694 694 695 695 $actions['approve'] = "<a href='$approve_url' class='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=approved vim-a' title='" . esc_attr__( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a>'; 696 696 $actions['unapprove'] = "<a href='$unapprove_url' class='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=unapproved vim-u' title='" . esc_attr__( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a>'; 697 $actions['edit'] = "<a href='comment.php?action=editcomment&c={$comment->comment_ID}' title='" . esc_attr__('Edit comment') . "'>". __('Edit') . '</a>';697 $actions['edit'] = "<a href='comment.php?action=editcomment&c={$comment->comment_ID}' title='" . esc_attr__('Edit Comment') . "'>". __('Edit') . '</a>'; 698 698 $actions['reply'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$comment->comment_post_ID.'\');return false;" class="vim-r hide-if-no-js" title="'.esc_attr__('Reply to this comment').'" href="#">' . __('Reply') . '</a>'; 699 699 $actions['spam'] = "<a href='$spam_url' class='delete:the-comment-list:comment-$comment->comment_ID::spam=1 vim-s vim-destructive' title='" . esc_attr__( 'Mark this comment as spam' ) . "'>" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '</a>'; 700 700 if ( !EMPTY_TRASH_DAYS ) -
wp-admin/includes/deprecated.php
521 521 if ( $this->results ) 522 522 $this->total_users_for_query = $wpdb->get_var("SELECT COUNT(DISTINCT($wpdb->users.ID))" . $this->query_from . $this->query_where); // no limit 523 523 else 524 $this->search_errors = new WP_Error('no_matching_users_found', __('No matching users were found !'));524 $this->search_errors = new WP_Error('no_matching_users_found', __('No matching users were found.')); 525 525 } 526 526 527 527 /** -
wp-admin/includes/internal-linking.php
82 82 <label><span><?php _e( 'Title' ); ?></span><input id="link-title-field" type="text" tabindex="20" name="linktitle" /></label> 83 83 </div> 84 84 <div class="link-target"> 85 <label><input type="checkbox" id="link-target-checkbox" tabindex="30" /> <?php _e( 'Open link in a new window /tab' ); ?></label>85 <label><input type="checkbox" id="link-target-checkbox" tabindex="30" /> <?php _e( 'Open link in a new window' ); ?></label> 86 86 </div> 87 87 </div> 88 88 <?php $show_internal = '1' == get_user_setting( 'wplink', '0' ); ?> -
wp-admin/includes/media.php
1644 1644 ?> 1645 1645 </div> 1646 1646 <p class="savebutton ml-submit"> 1647 <?php submit_button( __( 'Save all changes' ), 'button', 'save', false ); ?>1647 <?php submit_button( __( 'Save Changes' ), 'button', 'save', false ); ?> 1648 1648 </p> 1649 1649 </form> 1650 1650 <?php … … 1824 1824 </div> 1825 1825 1826 1826 <p class="ml-submit"> 1827 <?php submit_button( __( 'Save all changes' ), 'button savebutton', 'save', false, array( 'id' => 'save-all', 'style' => 'display: none;' ) ); ?>1827 <?php submit_button( __( 'Save Changes' ), 'button savebutton', 'save', false, array( 'id' => 'save-all', 'style' => 'display: none;' ) ); ?> 1828 1828 <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" /> 1829 1829 <input type="hidden" name="type" value="<?php echo esc_attr( $GLOBALS['type'] ); ?>" /> 1830 1830 <input type="hidden" name="tab" value="<?php echo esc_attr( $GLOBALS['tab'] ); ?>" /> … … 2065 2065 <?php echo get_media_items(null, $errors); ?> 2066 2066 </div> 2067 2067 <p class="ml-submit"> 2068 <?php submit_button( __( 'Save all changes' ), 'button savebutton', 'save', false ); ?>2068 <?php submit_button( __( 'Save Changes' ), 'button savebutton', 'save', false ); ?> 2069 2069 <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" /> 2070 2070 </p> 2071 2071 </form> … … 2145 2145 <td class="field"><input id="url" name="url" value="" type="text" /><br /> 2146 2146 2147 2147 <button type="button" class="button" value="" onclick="document.forms[0].url.value=null">' . __('None') . '</button> 2148 <button type="button" class="button" value="" onclick="document.forms[0].url.value=document.forms[0].src.value">' . __('Link to image') . '</button>2148 <button type="button" class="button" value="" onclick="document.forms[0].url.value=document.forms[0].src.value">' . __('Link to Image') . '</button> 2149 2149 <p class="help">' . __('Enter a link URL or click above for presets.') . '</p></td> 2150 2150 </tr> 2151 2151 ' . _insert_into_post_button('image') . ' -
wp-admin/includes/meta-boxes.php
116 116 $visibility_trans = __('Private'); 117 117 } elseif ( !empty( $post->post_password ) ) { 118 118 $visibility = 'password'; 119 $visibility_trans = __('Password protected');119 $visibility_trans = __('Password Protected'); 120 120 } elseif ( $post_type == 'post' && is_sticky( $post->ID ) ) { 121 121 $visibility = 'public'; 122 122 $visibility_trans = __('Public, Sticky'); … … 141 141 <?php if ( $post_type == 'post' && current_user_can( 'edit_others_posts' ) ) : ?> 142 142 <span id="sticky-span"><input id="sticky" name="sticky" type="checkbox" value="sticky" <?php checked( is_sticky( $post->ID ) ); ?> tabindex="4" /> <label for="sticky" class="selectit"><?php _e( 'Stick this post to the front page' ); ?></label><br /></span> 143 143 <?php endif; ?> 144 <input type="radio" name="visibility" id="visibility-radio-password" value="password" <?php checked( $visibility, 'password' ); ?> /> <label for="visibility-radio-password" class="selectit"><?php _e('Password protected'); ?></label><br />144 <input type="radio" name="visibility" id="visibility-radio-password" value="password" <?php checked( $visibility, 'password' ); ?> /> <label for="visibility-radio-password" class="selectit"><?php _e('Password Protected'); ?></label><br /> 145 145 <span id="password-span"><label for="post_password"><?php _e('Password:'); ?></label> <input type="text" name="post_password" id="post_password" value="<?php echo esc_attr($post->post_password); ?>" /><br /></span> 146 146 <input type="radio" name="visibility" id="visibility-radio-private" value="private" <?php checked( $visibility, 'private' ); ?> /> <label for="visibility-radio-private" class="selectit"><?php _e('Private'); ?></label><br /> 147 147 … … 448 448 ?> 449 449 <input name="advanced_view" type="hidden" value="1" /> 450 450 <p class="meta-options"> 451 <label for="comment_status" class="selectit"><input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> <?php _e( 'Allow comments.' ) ?></label><br />452 <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php printf( __( 'Allow <a href="%s" target="_blank"> trackbacks and pingbacks</a> on this page.' ), __( 'http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments' ) ); ?></label>451 <label for="comment_status" class="selectit"><input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> <?php _e( 'Allow Comments' ) ?></label><br /> 452 <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php printf( __( 'Allow <a href="%s" target="_blank">Trackbacks and Pingbacks</a>' ), __( 'http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments' ) ); ?></label> 453 453 <?php do_action('post_comment_status_meta_box-options', $post); ?> 454 454 </p> 455 455 <?php … … 682 682 <h4><a id="category-add-toggle" href="#category-add"><?php _e( '+ Add New Category' ); ?></a></h4> 683 683 <p id="link-category-add" class="wp-hidden-child"> 684 684 <label class="screen-reader-text" for="newcat"><?php _e( '+ Add New Category' ); ?></label> 685 <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" />685 <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New Category Name' ); ?>" aria-required="true" /> 686 686 <input type="button" id="category-add-submit" class="add:categorychecklist:linkcategorydiv button" value="<?php esc_attr_e( 'Add' ); ?>" /> 687 687 <?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?> 688 688 <span id="category-ajax-response"></span> … … 765 765 <td colspan="2"> 766 766 <table cellpadding="3" cellspacing="5" class="form-table"> 767 767 <tr> 768 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' identity') ?> </th>769 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' identity') ?> </span></legend>768 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Identity') ?> </th> 769 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Identity') ?> </span></legend> 770 770 <label for="me"> 771 771 <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> /> 772 <?php _e(' another web address of mine') ?></label>772 <?php _e('Another web address of mine') ?></label> 773 773 </fieldset></td> 774 774 </tr> 775 775 <tr> 776 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' friendship') ?> </th>777 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' friendship') ?> </span></legend>776 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Friendship') ?> </th> 777 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Friendship') ?> </span></legend> 778 778 <label for="contact"> 779 <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('contact') ?></label> 779 <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact'); ?> /> 780 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Contact') ?></label> 780 781 <label for="acquaintance"> 781 <input class="valinp" type="radio" name="friendship" value="acquaintance" id="acquaintance" <?php xfn_check('friendship', 'acquaintance'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('acquaintance') ?></label> 782 <input class="valinp" type="radio" name="friendship" value="acquaintance" id="acquaintance" <?php xfn_check('friendship', 'acquaintance'); ?> /> 783 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Acquaintance') ?></label> 782 784 <label for="friend"> 783 <input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check('friendship', 'friend'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friend') ?></label> 785 <input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check('friendship', 'friend'); ?> /> 786 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Friend') ?></label> 784 787 <label for="friendship"> 785 <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check('friendship'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('none') ?></label> 788 <input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check('friendship'); ?> /> 789 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('None') ?></label> 786 790 </fieldset></td> 787 791 </tr> 788 792 <tr> 789 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' physical') ?> </th>790 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' physical') ?> </span></legend>793 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Physical') ?> </th> 794 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Physical') ?> </span></legend> 791 795 <label for="met"> 792 796 <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> /> 793 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' met') ?></label>797 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Met') ?></label> 794 798 </fieldset></td> 795 799 </tr> 796 800 <tr> 797 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' professional') ?> </th>798 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' professional') ?> </span></legend>801 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Professional') ?> </th> 802 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Professional') ?> </span></legend> 799 803 <label for="co-worker"> 800 804 <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> /> 801 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' co-worker') ?></label>805 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Co-worker') ?></label> 802 806 <label for="colleague"> 803 807 <input class="valinp" type="checkbox" name="professional" value="colleague" id="colleague" <?php xfn_check('professional', 'colleague'); ?> /> 804 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' colleague') ?></label>808 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Colleague') ?></label> 805 809 </fieldset></td> 806 810 </tr> 807 811 <tr> 808 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' geographical') ?> </th>809 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' geographical') ?> </span></legend>812 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Geographical') ?> </th> 813 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Geographical') ?> </span></legend> 810 814 <label for="co-resident"> 811 815 <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident'); ?> /> 812 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' co-resident') ?></label>816 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('No-resident') ?></label> 813 817 <label for="neighbor"> 814 818 <input class="valinp" type="radio" name="geographical" value="neighbor" id="neighbor" <?php xfn_check('geographical', 'neighbor'); ?> /> 815 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' neighbor') ?></label>819 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Neighbor') ?></label> 816 820 <label for="geographical"> 817 821 <input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check('geographical'); ?> /> 818 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' none') ?></label>822 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('None') ?></label> 819 823 </fieldset></td> 820 824 </tr> 821 825 <tr> 822 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' family') ?> </th>823 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' family') ?> </span></legend>826 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Family') ?> </th> 827 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Family') ?> </span></legend> 824 828 <label for="child"> 825 829 <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child'); ?> /> 826 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' child') ?></label>830 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Child') ?></label> 827 831 <label for="kin"> 828 832 <input class="valinp" type="radio" name="family" value="kin" id="kin" <?php xfn_check('family', 'kin'); ?> /> 829 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' kin') ?></label>833 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Kin') ?></label> 830 834 <label for="parent"> 831 835 <input class="valinp" type="radio" name="family" value="parent" id="parent" <?php xfn_check('family', 'parent'); ?> /> 832 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' parent') ?></label>836 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Parent') ?></label> 833 837 <label for="sibling"> 834 838 <input class="valinp" type="radio" name="family" value="sibling" id="sibling" <?php xfn_check('family', 'sibling'); ?> /> 835 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' sibling') ?></label>839 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Sibling') ?></label> 836 840 <label for="spouse"> 837 841 <input class="valinp" type="radio" name="family" value="spouse" id="spouse" <?php xfn_check('family', 'spouse'); ?> /> 838 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' spouse') ?></label>842 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Spouse') ?></label> 839 843 <label for="family"> 840 844 <input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check('family'); ?> /> 841 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' none') ?></label>845 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('None') ?></label> 842 846 </fieldset></td> 843 847 </tr> 844 848 <tr> 845 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' romantic') ?> </th>846 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' romantic') ?> </span></legend>849 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Romantic') ?> </th> 850 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Romantic') ?> </span></legend> 847 851 <label for="muse"> 848 852 <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> /> 849 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' muse') ?></label>853 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Muse') ?></label> 850 854 <label for="crush"> 851 855 <input class="valinp" type="checkbox" name="romantic" value="crush" id="crush" <?php xfn_check('romantic', 'crush'); ?> /> 852 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' crush') ?></label>856 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Crush') ?></label> 853 857 <label for="date"> 854 858 <input class="valinp" type="checkbox" name="romantic" value="date" id="date" <?php xfn_check('romantic', 'date'); ?> /> 855 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' date') ?></label>859 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Date') ?></label> 856 860 <label for="romantic"> 857 861 <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="romantic" <?php xfn_check('romantic', 'sweetheart'); ?> /> 858 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(' sweetheart') ?></label>862 <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('Sweetheart') ?></label> 859 863 </fieldset></td> 860 864 </tr> 861 865 </table> -
wp-admin/includes/plugin-install.php
87 87 <p class="install-help"><?php _e('Search for plugins by keyword, author, or tag.') ?></p> 88 88 <?php install_search_form(); ?> 89 89 90 <h4><?php _e('Popular tags') ?></h4>90 <h4><?php _e('Popular Tags') ?></h4> 91 91 <p class="install-help"><?php _e('You may also browse based on the most popular tags in the Plugin Directory:') ?></p> 92 92 <?php 93 93 -
wp-admin/includes/template.php
1629 1629 $post_status = ''; 1630 1630 1631 1631 if ( !empty($post->post_password) ) 1632 $post_states['protected'] = __('Password protected');1632 $post_states['protected'] = __('Password Protected'); 1633 1633 if ( 'private' == $post->post_status && 'private' != $post_status ) 1634 1634 $post_states['private'] = __('Private'); 1635 1635 if ( 'draft' == $post->post_status && 'draft' != $post_status ) -
wp-admin/includes/theme-install.php
298 298 break; 299 299 case 'newer_installed': 300 300 if ( current_user_can('install_themes') || current_user_can('update_themes') ) : 301 ?><p><?php printf(__('Newer version (%s) is installed.'), $newer_version); ?></p><?php301 ?><p><?php printf(__('Newer Version (%s) Installed.'), $newer_version); ?></p><?php 302 302 endif; 303 303 break; 304 304 case 'latest_installed': 305 305 if ( current_user_can('install_themes') || current_user_can('update_themes') ) : 306 ?><p><?php _e(' This version is already installed.'); ?></p><?php306 ?><p><?php _e('Latest Version Installed.'); ?></p><?php 307 307 endif; 308 308 break; 309 309 } ?> -
wp-admin/includes/theme.php
90 90 //Get the base plugin folder 91 91 $themes_dir = $wp_filesystem->wp_themes_dir(); 92 92 if ( empty($themes_dir) ) 93 return new WP_Error('fs_no_themes_dir', __('Unable to locate WordPress theme directory.'));93 return new WP_Error('fs_no_themes_dir', __('Unable to locate WordPress Theme directory.')); 94 94 95 95 $themes_dir = trailingslashit( $themes_dir ); 96 96 $theme_dir = trailingslashit($themes_dir . $template); -
wp-admin/media-upload.php
93 93 <input type="hidden" name="post_id" id="post_id" value="0" /> 94 94 <?php wp_nonce_field('media-form'); ?> 95 95 <div id="media-items" class="hide-if-no-js"> </div> 96 <?php submit_button( __( 'Save all changes' ), 'button savebutton hide-if-no-js', 'save' ); ?>96 <?php submit_button( __( 'Save Changes' ), 'button savebutton hide-if-no-js', 'save' ); ?> 97 97 </form> 98 98 </div> 99 99 -
wp-admin/options-permalink.php
134 134 else if ( $permalink_structure && ! $usingpi && $writable ) 135 135 _e('Permalink structure updated. Remove write access on web.config file now!'); 136 136 else 137 _e('Permalink structure updated ');137 _e('Permalink structure updated.'); 138 138 } else { 139 139 if ( $permalink_structure && ! $usingpi && ! $writable ) 140 140 _e('You should update your .htaccess now.'); -
wp-admin/options-reading.php
98 98 </tr> 99 99 <?php endif; ?> 100 100 <tr valign="top"> 101 <th scope="row"><label for="posts_per_page"><?php _e( ' Blog pages show at most' ); ?></label></th>101 <th scope="row"><label for="posts_per_page"><?php _e( 'Maximum number of post to show on site' ); ?></label></th> 102 102 <td> 103 <input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option( 'posts_per_page' ); ?>" class="small-text" /> <?php _e( 'posts' ); ?>103 <input name="posts_per_page" type="text" id="posts_per_page" value="<?php form_option( 'posts_per_page' ); ?>" class="small-text" /> 104 104 </td> 105 105 </tr> 106 106 <tr valign="top"> 107 <th scope="row"><label for="posts_per_rss"><?php _e( ' Syndication feeds show the most recent' ); ?></label></th>107 <th scope="row"><label for="posts_per_rss"><?php _e( 'Maximum number of items to show on feeds' ); ?></label></th> 108 108 <td><input name="posts_per_rss" type="text" id="posts_per_rss" value="<?php form_option( 'posts_per_rss' ); ?>" class="small-text" /> <?php _e( 'items' ); ?></td> 109 109 </tr> 110 110 <tr valign="top"> 111 111 <th scope="row"><?php _e( 'For each article in a feed, show' ); ?> </th> 112 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each articlein a feed, show' ); ?> </span></legend>112 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each item in a feed, show' ); ?> </span></legend> 113 113 <p><label><input name="rss_use_excerpt" type="radio" value="0" <?php checked( 0, get_option( 'rss_use_excerpt' ) ); ?> /> <?php _e( 'Full text' ); ?></label><br /> 114 114 <label><input name="rss_use_excerpt" type="radio" value="1" <?php checked( 1, get_option( 'rss_use_excerpt' ) ); ?> /> <?php _e( 'Summary' ); ?></label></p> 115 115 </fieldset></td> 116 116 </tr> 117 117 118 118 <tr valign="top"> 119 <th scope="row"><label for="blog_charset"><?php _e( 'Encoding for pages andfeeds' ); ?></label></th>119 <th scope="row"><label for="blog_charset"><?php _e( 'Encoding for site and for feeds' ); ?></label></th> 120 120 <td><input name="blog_charset" type="text" id="blog_charset" value="<?php form_option( 'blog_charset' ); ?>" class="regular-text" /> 121 121 <span class="description"><?php _e( 'The <a href="http://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your site (UTF-8 is recommended, if you are adventurous there are some <a href="http://en.wikipedia.org/wiki/Character_set">other encodings</a>)' ); ?></span></td> 122 122 </tr> -
wp-admin/upload.php
95 95 wp_die( __( 'You are not allowed to move this post to the trash.' ) ); 96 96 97 97 if ( !wp_trash_post( $post_id ) ) 98 wp_die( __( 'Error in moving to trash...' ) );98 wp_die( __( 'Error in moving to Trash.' ) ); 99 99 } 100 100 $location = add_query_arg( array( 'trashed' => count( $post_ids ), 'ids' => join( ',', $post_ids ) ), $location ); 101 101 break; … … 105 105 wp_die( __( 'You are not allowed to move this post out of the trash.' ) ); 106 106 107 107 if ( !wp_untrash_post( $post_id ) ) 108 wp_die( __( 'Error in restoring from trash...' ) );108 wp_die( __( 'Error in restoring from Trash.' ) ); 109 109 } 110 110 $location = add_query_arg( 'untrashed', count( $post_ids ), $location ); 111 111 break; … … 115 115 wp_die( __( 'You are not allowed to delete this post.' ) ); 116 116 117 117 if ( !wp_delete_attachment( $post_id_del ) ) 118 wp_die( __( 'Error in deleting. ..' ) );118 wp_die( __( 'Error in deleting.' ) ); 119 119 } 120 120 $location = add_query_arg( 'deleted', count( $post_ids ), $location ); 121 121 break; -
wp-admin/user-new.php
255 255 </tr> 256 256 <?php } ?> 257 257 </table> 258 <?php submit_button( __( 'Add Existing User '), 'primary', 'adduser', true, array( 'id' => 'addusersub' ) ); ?>258 <?php submit_button( __( 'Add Existing User' ), 'primary', 'adduser', true, array( 'id' => 'addusersub' ) ); ?> 259 259 </form> 260 260 <?php 261 261 } // is_multisite() … … 340 340 <?php } ?> 341 341 </table> 342 342 343 <?php submit_button( __( 'Add New User '), 'primary', 'createuser', true, array( 'id' => 'createusersub' ) ); ?>343 <?php submit_button( __( 'Add New User' ), 'primary', 'createuser', true, array( 'id' => 'createusersub' ) ); ?> 344 344 345 345 </form> 346 346 <?php } // current_user_can('create_users') ?> -
wp-includes/category-template.php
834 834 $cat_name = apply_filters( 'list_cats', $cat_name, $category ); 835 835 $link = '<a href="' . esc_attr( get_term_link($category) ) . '" '; 836 836 if ( $use_desc_for_title == 0 || empty($category->description) ) 837 $link .= 'title="' . esc_attr( sprintf(__( 'View all posts filed under%s' ), $cat_name) ) . '"';837 $link .= 'title="' . esc_attr( sprintf(__( 'View all posts in %s' ), $cat_name) ) . '"'; 838 838 else 839 839 $link .= 'title="' . esc_attr( strip_tags( apply_filters( 'category_description', $category->description, $category ) ) ) . '"'; 840 840 $link .= '>'; -
wp-includes/link-template.php
1012 1012 if ( null === $link ) 1013 1013 $link = __('Edit This'); 1014 1014 1015 $link = '<a class="comment-edit-link" href="' . get_edit_comment_link( $comment->comment_ID ) . '" title="' . esc_attr__( 'Edit comment' ) . '">' . $link . '</a>';1015 $link = '<a class="comment-edit-link" href="' . get_edit_comment_link( $comment->comment_ID ) . '" title="' . esc_attr__( 'Edit Comment' ) . '">' . $link . '</a>'; 1016 1016 echo $before . apply_filters( 'edit_comment_link', $link, $comment->comment_ID ) . $after; 1017 1017 } 1018 1018