Changeset 34904
- Timestamp:
- 10/07/2015 11:00:59 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpunit.xml.dist
r30298 r34904 16 16 <file phpVersion="5.3.0">tests/phpunit/tests/image/editor_gd.php</file> 17 17 <file phpVersion="5.3.0">tests/phpunit/tests/image/editor_imagick.php</file> 18 <file phpVersion="5.3.0">tests/phpunit/tests/oembed/headers.php</file> 18 19 </testsuite> 19 20 </testsuites> -
trunk/src/wp-includes/class-wp-oembed-controller.php
r34903 r34904 89 89 if ( false === $data ) { 90 90 status_header( 404 ); 91 return __( 'Invalid URL.' , 'oembed-api');91 return __( 'Invalid URL.' ); 92 92 } 93 93 -
trunk/src/wp-includes/embed-functions.php
r34903 r34904 485 485 absint( $width ), 486 486 absint( $height ), 487 esc_attr__( 'Embedded WordPress Post' , 'oembed-api')487 esc_attr__( 'Embedded WordPress Post' ) 488 488 ); 489 489 … … 749 749 750 750 return sprintf( 751 _x( '… %s', 'read more link' , 'oembed-api'),751 _x( '… %s', 'read more link' ), 752 752 sprintf( 753 753 '<a class="wp-embed-more" href="%s" target="_top">%s</a>', 754 754 get_the_permalink(), 755 __( 'Read more' , 'oembed-api')755 __( 'Read more' ) 756 756 ) 757 757 ); -
trunk/src/wp-includes/embed-template.php
r34903 r34904 162 162 '%s <span class="screen-reader-text">Comment</span>', 163 163 '%s <span class="screen-reader-text">Comments</span>', 164 get_comments_number(), 165 'oembed-api' 164 get_comments_number() 166 165 ), 167 166 absint( get_comments_number() ) … … 173 172 <div class="wp-embed-share"> 174 173 <button type="button" class="wp-embed-share-dialog-open" 175 aria-label="<?php esc_attr_e( 'Open sharing dialog' , 'oembed-api'); ?>">174 aria-label="<?php esc_attr_e( 'Open sharing dialog' ); ?>"> 176 175 <span class="dashicons dashicons-share"></span> 177 176 </button> … … 184 183 <ul class="wp-embed-share-tabs" role="tablist"> 185 184 <li id="wp-embed-share-tab-button-wordpress" class="wp-embed-share-tab-button" role="presentation"> 186 <button role="tab" aria-controls="wp-embed-share-tab-wordpress" aria-selected="true" tabindex="0"><?php esc_html_e( 'WordPress Embed' , 'oembed-api'); ?></button>185 <button role="tab" aria-controls="wp-embed-share-tab-wordpress" aria-selected="true" tabindex="0"><?php esc_html_e( 'WordPress Embed' ); ?></button> 187 186 </li> 188 187 <li id="wp-embed-share-tab-button-embed" class="wp-embed-share-tab-button" role="presentation"> 189 <button role="tab" aria-controls="wp-embed-share-tab-html" aria-selected="false" tabindex="-1"><?php esc_html_e( 'HTML Embed' , 'oembed-api'); ?></button>188 <button role="tab" aria-controls="wp-embed-share-tab-html" aria-selected="false" tabindex="-1"><?php esc_html_e( 'HTML Embed' ); ?></button> 190 189 </li> 191 190 </ul> … … 194 193 195 194 <p class="wp-embed-share-description"> 196 <?php _e( 'Copy and paste this URL into your WordPress site to embed' , 'oembed-api'); ?>195 <?php _e( 'Copy and paste this URL into your WordPress site to embed' ); ?> 197 196 </p> 198 197 </div> … … 201 200 202 201 <p class="wp-embed-share-description"> 203 <?php _e( 'Copy and paste this code into your site to embed' , 'oembed-api'); ?>202 <?php _e( 'Copy and paste this code into your site to embed' ); ?> 204 203 </p> 205 204 </div> 206 205 </div> 207 206 208 <button type="button" class="wp-embed-share-dialog-close" aria-label="<?php esc_attr_e( 'Close sharing dialog' , 'oembed-api'); ?>">207 <button type="button" class="wp-embed-share-dialog-close" aria-label="<?php esc_attr_e( 'Close sharing dialog' ); ?>"> 209 208 <span class="dashicons dashicons-no"></span> 210 209 </button> … … 217 216 ?> 218 217 <div class="wp-embed"> 219 <p class="wp-embed-heading"><?php _e( 'Page not found' , 'oembed-api'); ?></p>218 <p class="wp-embed-heading"><?php _e( 'Page not found' ); ?></p> 220 219 221 220 <div class="wp-embed-excerpt"> 222 <p><?php _e( 'Error 404! The requested content was not found.' , 'oembed-api') ?></p>221 <p><?php _e( 'Error 404! The requested content was not found.' ) ?></p> 223 222 </div> 224 223
Note: See TracChangeset
for help on using the changeset viewer.