Changeset 19028
- Timestamp:
- 10/20/2011 03:04:46 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-plugin-install-list-table.php
r18318 r19028 228 228 $star_url = admin_url( 'images/star.png?v=20110615' ); // 'Classic' Blue star 229 229 ?> 230 <div class="star star5"><img src="<?php echo $star_url; ?>" alt="<?php _e( '5 stars' ) ?>" /></div>231 <div class="star star4"><img src="<?php echo $star_url; ?>" alt="<?php _e( '4 stars' ) ?>" /></div>232 <div class="star star3"><img src="<?php echo $star_url; ?>" alt="<?php _e( '3 stars' ) ?>" /></div>233 <div class="star star2"><img src="<?php echo $star_url; ?>" alt="<?php _e( '2 stars' ) ?>" /></div>234 <div class="star star1"><img src="<?php echo $star_url; ?>" alt="<?php _e( '1 star' ) ?>" /></div>230 <div class="star star5"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '5 stars' ) ?>" /></div> 231 <div class="star star4"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '4 stars' ) ?>" /></div> 232 <div class="star star3"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '3 stars' ) ?>" /></div> 233 <div class="star star2"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '2 stars' ) ?>" /></div> 234 <div class="star star1"><img src="<?php echo $star_url; ?>" alt="<?php esc_attr_e( '1 star' ) ?>" /></div> 235 235 </div> 236 236 </td> -
trunk/wp-admin/includes/class-wp-posts-list-table.php
r19011 r19028 1031 1031 ?> 1032 1032 <p class="submit inline-edit-save"> 1033 <a accesskey="c" href="#inline-edit" title="<?php _e( 'Cancel' ); ?>" class="button-secondary cancel alignleft"><?php _e( 'Cancel' ); ?></a>1033 <a accesskey="c" href="#inline-edit" title="<?php esc_attr_e( 'Cancel' ); ?>" class="button-secondary cancel alignleft"><?php _e( 'Cancel' ); ?></a> 1034 1034 <?php if ( ! $bulk ) { 1035 1035 wp_nonce_field( 'inlineeditnonce', '_inline_edit', false ); 1036 1036 $update_text = __( 'Update' ); 1037 1037 ?> 1038 <a accesskey="s" href="#inline-edit" title="<?php _e( 'Update' ); ?>" class="button-primary save alignright"><?php echo esc_attr( $update_text ); ?></a>1038 <a accesskey="s" href="#inline-edit" title="<?php esc_attr_e( 'Update' ); ?>" class="button-primary save alignright"><?php echo esc_attr( $update_text ); ?></a> 1039 1039 <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> 1040 1040 <?php } else { -
trunk/wp-admin/includes/class-wp-terms-list-table.php
r18771 r19028 363 363 364 364 <p class="inline-edit-save submit"> 365 <a accesskey="c" href="#inline-edit" title="<?php _e( 'Cancel' ); ?>" class="cancel button-secondary alignleft"><?php _e( 'Cancel' ); ?></a>365 <a accesskey="c" href="#inline-edit" title="<?php esc_attr_e( 'Cancel' ); ?>" class="cancel button-secondary alignleft"><?php _e( 'Cancel' ); ?></a> 366 366 <?php $update_text = $tax->labels->update_item; ?> 367 367 <a accesskey="s" href="#inline-edit" title="<?php echo esc_attr( $update_text ); ?>" class="save button-primary alignright"><?php echo $update_text; ?></a> -
trunk/wp-admin/includes/nav-menu.php
r18998 r19028 116 116 ?>" class="item-move-down"><abbr title="<?php esc_attr_e('Move down'); ?>">↓</abbr></a> 117 117 </span> 118 <a class="item-edit" id="edit-<?php echo $item_id; ?>" title="<?php _e('Edit Menu Item'); ?>" href="<?php118 <a class="item-edit" id="edit-<?php echo $item_id; ?>" title="<?php esc_attr_e('Edit Menu Item'); ?>" href="<?php 119 119 echo ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? admin_url( 'nav-menus.php' ) : add_query_arg( 'edit-menu-item', $item_id, remove_query_arg( $removed_args, admin_url( 'nav-menus.php#menu-item-settings-' . $item_id ) ) ); 120 120 ?>"><?php _e( 'Edit Menu Item' ); ?></a> -
trunk/wp-admin/includes/plugin-install.php
r18641 r19028 330 330 <div class="star-holder" title="<?php printf(_n('(based on %s rating)', '(based on %s ratings)', $api->num_ratings), number_format_i18n($api->num_ratings)); ?>"> 331 331 <div class="star star-rating" style="width: <?php echo esc_attr($api->rating) ?>px"></div> 332 <div class="star star5"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php _e('5 stars') ?>" /></div>333 <div class="star star4"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php _e('4 stars') ?>" /></div>334 <div class="star star3"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php _e('3 stars') ?>" /></div>335 <div class="star star2"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php _e('2 stars') ?>" /></div>336 <div class="star star1"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php _e('1 star') ?>" /></div>332 <div class="star star5"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('5 stars') ?>" /></div> 333 <div class="star star4"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('4 stars') ?>" /></div> 334 <div class="star star3"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('3 stars') ?>" /></div> 335 <div class="star star2"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('2 stars') ?>" /></div> 336 <div class="star star1"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('1 star') ?>" /></div> 337 337 </div> 338 338 <small><?php printf(_n('(based on %s rating)', '(based on %s ratings)', $api->num_ratings), number_format_i18n($api->num_ratings)); ?></small> -
trunk/wp-admin/includes/theme-install.php
r18841 r19028 173 173 <div class="star-holder" title="<?php printf(_n('(based on %s rating)', '(based on %s ratings)', $theme->num_ratings), number_format_i18n($theme->num_ratings)) ?>"> 174 174 <div class="star star-rating" style="width: <?php echo esc_attr($theme->rating) ?>px"></div> 175 <div class="star star5"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php _e('5 stars') ?>" /></div>176 <div class="star star4"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php _e('4 stars') ?>" /></div>177 <div class="star star3"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php _e('3 stars') ?>" /></div>178 <div class="star star2"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php _e('2 stars') ?>" /></div>179 <div class="star star1"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php _e('1 star') ?>" /></div>175 <div class="star star5"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('5 stars') ?>" /></div> 176 <div class="star star4"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('4 stars') ?>" /></div> 177 <div class="star star3"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('3 stars') ?>" /></div> 178 <div class="star star2"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('2 stars') ?>" /></div> 179 <div class="star star1"><img src="<?php echo admin_url('images/star.png?v=20110615'); ?>" alt="<?php esc_attr_e('1 star') ?>" /></div> 180 180 </div> 181 181 </div> -
trunk/wp-admin/network/site-new.php
r18750 r19028 118 118 <td> 119 119 <?php if ( is_subdomain_install() ) { ?> 120 <input name="blog[domain]" type="text" class="regular-text" title="<?php _e( 'Domain' ) ?>"/>.<?php echo preg_replace( '|^www\.|', '', $current_site->domain );?>120 <input name="blog[domain]" type="text" class="regular-text" title="<?php esc_attr_e( 'Domain' ) ?>"/>.<?php echo preg_replace( '|^www\.|', '', $current_site->domain );?> 121 121 <?php } else { 122 echo $current_site->domain . $current_site->path ?><input name="blog[domain]" class="regular-text" type="text" title="<?php _e( 'Domain' ) ?>"/>122 echo $current_site->domain . $current_site->path ?><input name="blog[domain]" class="regular-text" type="text" title="<?php esc_attr_e( 'Domain' ) ?>"/> 123 123 <?php } 124 124 echo '<p>' . __( 'Only the characters a-z and 0-9 recommended.' ) . '</p>'; … … 128 128 <tr class="form-field form-required"> 129 129 <th scope="row"><?php _e( 'Site Title' ) ?></th> 130 <td><input name="blog[title]" type="text" class="regular-text" title="<?php _e( 'Title' ) ?>"/></td>130 <td><input name="blog[title]" type="text" class="regular-text" title="<?php esc_attr_e( 'Title' ) ?>"/></td> 131 131 </tr> 132 132 <tr class="form-field form-required"> 133 133 <th scope="row"><?php _e( 'Admin Email' ) ?></th> 134 <td><input name="blog[email]" type="text" class="regular-text" title="<?php _e( 'Email' ) ?>"/></td>134 <td><input name="blog[email]" type="text" class="regular-text" title="<?php esc_attr_e( 'Email' ) ?>"/></td> 135 135 </tr> 136 136 <tr class="form-field"> -
trunk/wp-admin/press-this.php
r19001 r19028 432 432 433 433 <div id="submitdiv" class="postbox"> 434 <div class="handlediv" title="<?php _e( 'Click to toggle' ); ?>"><br /></div>434 <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle' ); ?>"><br /></div> 435 435 <h3 class="hndle"><?php _e('Press This') ?></h3> 436 436 <div class="inside"> … … 466 466 <?php $tax = get_taxonomy( 'category' ); ?> 467 467 <div id="categorydiv" class="postbox"> 468 <div class="handlediv" title="<?php _e( 'Click to toggle' ); ?>"><br /></div>468 <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle' ); ?>"><br /></div> 469 469 <h3 class="hndle"><?php _e('Categories') ?></h3> 470 470 <div class="inside"> … … 516 516 517 517 <div id="tagsdiv-post_tag" class="postbox"> 518 <div class="handlediv" title="<?php _e( 'Click to toggle' ); ?>"><br /></div>518 <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle' ); ?>"><br /></div> 519 519 <h3><span><?php _e('Tags'); ?></span></h3> 520 520 <div class="inside"> … … 593 593 if ( current_user_can('upload_files') ) { 594 594 ?> 595 <a id="photo_button" title="<?php _e('Insert an Image'); ?>" href="#">596 <img alt="<?php _e('Insert an Image'); ?>" src="<?php echo esc_url( admin_url( 'images/media-button-image.gif?ver=20100531' ) ); ?>"/></a>595 <a id="photo_button" title="<?php esc_attr_e('Insert an Image'); ?>" href="#"> 596 <img alt="<?php esc_attr_e('Insert an Image'); ?>" src="<?php echo esc_url( admin_url( 'images/media-button-image.gif?ver=20100531' ) ); ?>"/></a> 597 597 <?php 598 598 } 599 599 ?> 600 <a id="video_button" title="<?php _e('Embed a Video'); ?>" href="#"><img alt="<?php_e('Embed a Video'); ?>" src="<?php echo esc_url( admin_url( 'images/media-button-video.gif?ver=20100531' ) ); ?>"/></a>600 <a id="video_button" title="<?php esc_attr_e('Embed a Video'); ?>" href="#"><img alt="<?php esc_attr_e('Embed a Video'); ?>" src="<?php echo esc_url( admin_url( 'images/media-button-video.gif?ver=20100531' ) ); ?>"/></a> 601 601 <?php 602 602 } … … 617 617 <td><input type="text" id="this_photo_description" name="photo_description" class="tbtitle text" onkeypress="if(event.keyCode==13) image_selector();" value="<?php echo esc_attr($title);?>"/></td> 618 618 </tr><tr> 619 <td><input type="button" class="button" onclick="image_selector()" value="<?php _e('Insert Image'); ?>" /></td>619 <td><input type="button" class="button" onclick="image_selector()" value="<?php esc_attr_e('Insert Image'); ?>" /></td> 620 620 </tr></table> 621 621 </div> -
trunk/wp-admin/themes.php
r18775 r19028 82 82 <div id="current-theme"> 83 83 <?php if ( $ct->screenshot ) : ?> 84 <img src="<?php echo $ct->theme_root_uri . '/' . $ct->stylesheet . '/' . $ct->screenshot; ?>" alt="<?php _e('Current theme preview'); ?>" />84 <img src="<?php echo $ct->theme_root_uri . '/' . $ct->stylesheet . '/' . $ct->screenshot; ?>" alt="<?php esc_attr_e('Current theme preview'); ?>" /> 85 85 <?php endif; ?> 86 86 <h4><?php -
trunk/wp-includes/class-wp-editor.php
r18988 r19028 812 812 </div> 813 813 <div id="wp-link-update"> 814 <input type="submit" tabindex="100" value="<?php _e( 'Add Link' ); ?>" class="button-primary" id="wp-link-submit" name="wp-link-submit">814 <input type="submit" tabindex="100" value="<?php esc_attr_e( 'Add Link' ); ?>" class="button-primary" id="wp-link-submit" name="wp-link-submit"> 815 815 </div> 816 816 </div> -
trunk/wp-includes/js/tinymce/wp-mce-help.php
r18577 r19028 197 197 198 198 <ul id="tabs"> 199 <li><a id="tab1" href="javascript:flipTab(1)" title="<?php _e('Basics of Rich Editing') ?>" accesskey="1" tabindex="1" class="current"><?php _e('Basics') ?></a></li>200 <li><a id="tab2" href="javascript:flipTab(2)" title="<?php _e('Advanced use of the Rich Editor') ?>" accesskey="2" tabindex="2"><?php _e('Advanced') ?></a></li>201 <li><a id="tab3" href="javascript:flipTab(3)" title="<?php _e('Hotkeys') ?>" accesskey="3" tabindex="3"><?php _e('Hotkeys') ?></a></li>202 <li><a id="tab4" href="javascript:flipTab(4)" title="<?php _e('About the software') ?>" accesskey="4" tabindex="4"><?php _e('About') ?></a></li>199 <li><a id="tab1" href="javascript:flipTab(1)" title="<?php esc_attr_e('Basics of Rich Editing') ?>" accesskey="1" tabindex="1" class="current"><?php _e('Basics') ?></a></li> 200 <li><a id="tab2" href="javascript:flipTab(2)" title="<?php esc_attr_e('Advanced use of the Rich Editor') ?>" accesskey="2" tabindex="2"><?php _e('Advanced') ?></a></li> 201 <li><a id="tab3" href="javascript:flipTab(3)" title="<?php esc_attr_e('Hotkeys') ?>" accesskey="3" tabindex="3"><?php _e('Hotkeys') ?></a></li> 202 <li><a id="tab4" href="javascript:flipTab(4)" title="<?php esc_attr_e('About the software') ?>" accesskey="4" tabindex="4"><?php _e('About') ?></a></li> 203 203 </ul> 204 204 … … 273 273 274 274 <div id="buttoncontainer"> 275 <a href="http://www.moxiecode.com" target="_blank"><img src="themes/advanced/img/gotmoxie.png" alt="<?php _e('Got Moxie?') ?>" style="border: 0" /></a>275 <a href="http://www.moxiecode.com" target="_blank"><img src="themes/advanced/img/gotmoxie.png" alt="<?php esc_attr_e('Got Moxie?') ?>" style="border: 0" /></a> 276 276 </div> 277 277 … … 281 281 <div class="mceActionPanel"> 282 282 <div style="margin: 8px auto; text-align: center;padding-bottom: 10px;"> 283 <input type="button" id="cancel" name="cancel" value="<?php _e('Close'); ?>" title="<?php_e('Close'); ?>" onclick="tinyMCEPopup.close();" />283 <input type="button" id="cancel" name="cancel" value="<?php esc_attr_e('Close'); ?>" title="<?php esc_attr_e('Close'); ?>" onclick="tinyMCEPopup.close();" /> 284 284 </div> 285 285 </div> -
trunk/wp-includes/theme-compat/comments-popup.php
r18460 r19028 96 96 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> 97 97 <input type="hidden" name="redirect_to" value="<?php echo esc_attr($_SERVER["REQUEST_URI"]); ?>" /> 98 <input name="submit" type="submit" tabindex="5" value="<?php _e('Say It!' ); ?>" />98 <input name="submit" type="submit" tabindex="5" value="<?php esc_attr_e('Say It!' ); ?>" /> 99 99 </p> 100 100 <?php do_action('comment_form', $post->ID); ?> -
trunk/wp-includes/theme-compat/comments.php
r17340 r19028 71 71 <?php if ( is_user_logged_in() ) : ?> 72 72 73 <p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php _e('Log out of this account'); ?>"><?php _e('Log out »'); ?></a></p>73 <p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php esc_attr_e('Log out of this account'); ?>"><?php _e('Log out »'); ?></a></p> 74 74 75 75 <?php else : ?> … … 90 90 <p><textarea name="comment" id="comment" cols="58" rows="10" tabindex="4"></textarea></p> 91 91 92 <p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment'); ?>" />92 <p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php esc_attr_e('Submit Comment'); ?>" /> 93 93 <?php comment_id_fields(); ?> 94 94 </p> -
trunk/wp-includes/theme-compat/sidebar.php
r17340 r19028 71 71 <?php wp_register(); ?> 72 72 <li><?php wp_loginout(); ?></li> 73 <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>74 <li><a href="http://gmpg.org/xfn/"><abbr title="<?php _e('XHTML Friends Network'); ?>"><?php _e('XFN'); ?></abbr></a></li>75 <li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>">WordPress</a></li>73 <li><a href="http://validator.w3.org/check/referer" title="<?php esc_attr_e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li> 74 <li><a href="http://gmpg.org/xfn/"><abbr title="<?php esc_attr_e('XHTML Friends Network'); ?>"><?php _e('XFN'); ?></abbr></a></li> 75 <li><a href="http://wordpress.org/" title="<?php esc_attr_e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>">WordPress</a></li> 76 76 <?php wp_meta(); ?> 77 77 </ul> -
trunk/wp-login.php
r19027 r19028 531 531 <p id="nav"> 532 532 <a href="<?php echo site_url('wp-login.php', 'login') ?>"><?php _e('Log in') ?></a> | 533 <a href="<?php echo wp_lostpassword_url() ?>" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a>533 <a href="<?php echo wp_lostpassword_url() ?>" title="<?php esc_attr_e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a> 534 534 </p> 535 535 … … 660 660 <?php elseif ( get_option('users_can_register') ) : ?> 661 661 <a href="<?php echo site_url('wp-login.php?action=register', 'login') ?>"><?php _e('Register') ?></a> | 662 <a href="<?php echo wp_lostpassword_url() ?>" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a>662 <a href="<?php echo wp_lostpassword_url() ?>" title="<?php esc_attr_e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a> 663 663 <?php else : ?> 664 <a href="<?php echo wp_lostpassword_url() ?>" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a>664 <a href="<?php echo wp_lostpassword_url() ?>" title="<?php esc_attr_e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a> 665 665 <?php endif; ?> 666 666 </p>
Note: See TracChangeset
for help on using the changeset viewer.