Make WordPress Core


Ignore:
Timestamp:
07/28/2011 05:35:37 PM (13 years ago)
Author:
ryan
Message:

Removed unused strings in script-loader. Props SergeyBiryukov. fixes #16332

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r18474 r18479  
    318318        $scripts->add_data( 'post', 'group', 1 );
    319319        $scripts->add_script_data( 'post', 'postL10n', array(
    320             'tagsUsed' =>  __('Tags used on this post:'),
    321             'add' => esc_attr(__('Add')),
    322             'addTag' => esc_attr(__('Add new Tag')),
    323             'separate' => __('Separate tags with commas'),
    324320            'ok' => __('OK'),
    325321            'cancel' => __('Cancel'),
    326             'edit' => __('Edit'),
    327322            'publishOn' => __('Publish on:'),
    328323            'publishOnFuture' =>  __('Schedule for:'),
     
    349344        $scripts->add_data( 'comment', 'group', 1 );
    350345        $scripts->add_script_data( 'comment', 'commentL10n', array(
    351             'cancel' => __('Cancel'),
    352             'edit' => __('Edit'),
    353346            'submittedOn' => __('Submitted on:')
    354347        ) );
Note: See TracChangeset for help on using the changeset viewer.