WordPress.org

Make WordPress Core

Ticket #45859: 45859.diff

File 45859.diff, 790 bytes (added by mukesh27, 13 months ago)

Patch.

  • wp-includes/js/dist/editor.js

    diff --git a/wp-includes/js/dist/editor.js b/wp-includes/js/dist/editor.js
    index 97fcbd4..4570eb5 100644
    a b function (_Component) { 
    2600426004      };
    2600526005
    2600626006      var buttonProps = {
     26007        'aria-label': Object(external_this_wp_i18n_["__"])('Publish'),
    2600726008        'aria-disabled': isButtonDisabled,
    2600826009        className: 'editor-post-publish-button',
    2600926010        isBusy: isSaving && isPublished,
    function (_Component) { 
    2601226013        onClick: onClick
    2601326014      };
    2601426015      var toggleProps = {
     26016        'aria-label': Object(external_this_wp_i18n_["__"])('Publish'),
    2601526017        'aria-disabled': isToggleDisabled,
    2601626018        'aria-expanded': isOpen,
    2601726019        className: 'editor-post-publish-panel__toggle',