Make WordPress Core


Ignore:
Timestamp:
10/07/2015 11:00:59 AM (9 years ago)
Author:
pento
Message:

Embeds: After [34903], remove an accidentally included text domain, and exclude a test failing in PHP 5.2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/embed-template.php

    r34903 r34904  
    162162                                        '%s <span class="screen-reader-text">Comment</span>',
    163163                                        '%s <span class="screen-reader-text">Comments</span>',
    164                                         get_comments_number(),
    165                                         'oembed-api'
     164                                        get_comments_number()
    166165                                    ),
    167166                                    absint( get_comments_number() )
     
    173172                    <div class="wp-embed-share">
    174173                        <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' ); ?>">
    176175                            <span class="dashicons dashicons-share"></span>
    177176                        </button>
     
    184183                        <ul class="wp-embed-share-tabs" role="tablist">
    185184                            <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>
    187186                            </li>
    188187                            <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>
    190189                            </li>
    191190                        </ul>
     
    194193
    195194                            <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' ); ?>
    197196                            </p>
    198197                        </div>
     
    201200
    202201                            <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' ); ?>
    204203                            </p>
    205204                        </div>
    206205                    </div>
    207206
    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' ); ?>">
    209208                        <span class="dashicons dashicons-no"></span>
    210209                    </button>
     
    217216    ?>
    218217    <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>
    220219
    221220        <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>
    223222        </div>
    224223
Note: See TracChangeset for help on using the changeset viewer.