Make WordPress Core


Ignore:
Timestamp:
10/16/2015 11:01:58 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Sample permalink: Improve accessibility of changing the permalink on Edit Post screen.

Props afercia.
Fixes #34255.

File:
1 edited

Legend:

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

    r35019 r35229  
    501501        ) );
    502502
    503         $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array( 'suggest', 'wp-lists', 'postbox', 'tags-box', 'underscore', 'word-count' ), false, 1 );
     503        $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array( 'suggest', 'wp-lists', 'postbox', 'tags-box', 'underscore', 'word-count', 'wp-a11y' ), false, 1 );
    504504        did_action( 'init' ) && $scripts->localize( 'post', 'postL10n', array(
    505505            'ok' => __('OK'),
     
    525525            'saveAlert' => __('The changes you made will be lost if you navigate away from this page.'),
    526526            'savingText' => __('Saving Draft…'),
     527            'permalinkSaved' => __( 'Permalink saved' ),
    527528        ) );
    528529
Note: See TracChangeset for help on using the changeset viewer.