Make WordPress Core

Ticket #44361: output-tags-1.patch

File output-tags-1.patch, 45.7 KB (added by omarreiss, 6 years ago)

Fixed 1 typo

  • jsdoc.conf.json

    diff --git jsdoc.conf.json jsdoc.conf.json
    index 6b96697..be60282 100644
     
    22        "plugins": [],
    33        "recurseDepth": 10,
    44        "source": {
    5                 "include": [ "src/js" ],
    6                 "exclude": [ "src/js/_enqueues/vendor" ]
     5                "include": [
     6                        "src/wp-includes/js",
     7                        "src/wp-admin/js"
     8                ],
     9                "exclude": [
     10                        "src/wp-includes/js/codemirror",
     11                        "src/wp-includes/js/tinymce",
     12                        "src/wp-includes/js/crop",
     13                        "src/wp-includes/js/imgareaselect",
     14                        "src/wp-includes/js/jcrop",
     15                        "src/wp-includes/js/jquery",
     16                        "src/wp-includes/js/mediaelement/mediaelement.js",
     17                        "src/wp-includes/js/mediaelement/mediaelement-and-player.js",
     18                        "src/wp-includes/js/plupload/handlers.js",
     19                        "src/wp-includes/js/plupload/moxie.js",
     20                        "src/wp-includes/js/plupload/plupload.full.min.js",
     21                        "src/wp-includes/js/plupload/plupload.js",
     22                        "src/wp-includes/js/swfupload",
     23                        "src/wp-includes/js/thickbox",
     24                        "src/wp-includes/js/media-audiovideo.js",
     25                        "src/wp-includes/js/media-grid.js",
     26                        "src/wp-includes/js/media-models.js",
     27                        "src/wp-includes/js/media-views.js"
     28                ],
     29                "includePattern": ".+\\.js(doc|x)?$",
     30                "excludePattern": "(^|\\/|\\\\)_"
    731        },
    832        "sourceType": "module",
    933        "tags": {
    1034                "allowUnknownTags": true,
    11                 "dictionaries": [ "jsdoc", "closure" ]
     35                "dictionaries": ["jsdoc","closure"]
    1236        },
    1337        "templates": {
    1438                "cleverLinks": false,
  • src/js/_enqueues/admin/comment.js

    diff --git src/js/_enqueues/admin/comment.js src/js/_enqueues/admin/comment.js
    index 6308d8e..1ed7c55 100644
     
     1/* @output wp-admin/js/comment.js */
     2
    13/* global postboxes, commentL10n */
    24
    35/**
  • src/js/_enqueues/admin/common.js

    diff --git src/js/_enqueues/admin/common.js src/js/_enqueues/admin/common.js
    index 394648b..aba2b66 100644
     
     1/* @output wp-admin/js/common.js */
     2
    13/* global setUserSetting, ajaxurl, commonL10n, alert, confirm, pagenow */
    24var showNotice, adminMenu, columns, validateForm, screenMeta;
    35
  • src/js/_enqueues/admin/custom-background.js

    diff --git src/js/_enqueues/admin/custom-background.js src/js/_enqueues/admin/custom-background.js
    index 472ff32..bdca475 100644
     
     1/* @output wp-admin/js/custom-background.js */
     2
    13/* global ajaxurl */
    24
    35/**
  • src/js/_enqueues/admin/custom-header.js

    diff --git src/js/_enqueues/admin/custom-header.js src/js/_enqueues/admin/custom-header.js
    index 01a3d36..771e9d8 100644
     
     1/* @output wp-admin/js/custom-header.js */
     2
    13/* global isRtl */
    24
    35/**
  • src/js/_enqueues/admin/edit-comments.js

    diff --git src/js/_enqueues/admin/edit-comments.js src/js/_enqueues/admin/edit-comments.js
    index 0b0d084..e2371a2 100644
     
     1/* @output wp-admin/js/edit-comments.js */
     2
    13/* global adminCommentsL10n, thousandsSeparator, list_args, QTags, ajaxurl, wpAjax */
    24var setCommentsList, theList, theExtraList, commentReply;
    35
  • src/js/_enqueues/admin/inline-edit-post.js

    diff --git src/js/_enqueues/admin/inline-edit-post.js src/js/_enqueues/admin/inline-edit-post.js
    index 665f3fe..8bc7d37 100644
     
    1 /* global inlineEditL10n, ajaxurl, typenow */
    21/**
    32 * This file contains the functions needed for the inline editing of posts.
    43 *
    54 * @since 2.7.0
     5 * @output wp-admin/js/inline-edit-post.js
    66 */
    77
     8/* global inlineEditL10n, ajaxurl, typenow */
     9
    810window.wp = window.wp || {};
    911
    1012/**
  • src/js/_enqueues/admin/inline-edit-tax.js

    diff --git src/js/_enqueues/admin/inline-edit-tax.js src/js/_enqueues/admin/inline-edit-tax.js
    index b9a8e2f..d589135 100644
     
    1 /* global inlineEditL10n, ajaxurl */
    21/**
    32 * This file is used on the term overview page to power quick-editing terms.
     3 *
     4 * @output wp-admin/js/inline-edit-tax.js
    45 */
    56
     7/* global inlineEditL10n, ajaxurl */
     8
    69window.wp = window.wp || {};
    710
    811/**
  • src/js/_enqueues/admin/link.js

    diff --git src/js/_enqueues/admin/link.js src/js/_enqueues/admin/link.js
    index 0eb384e..b9616c9 100644
     
     1/* @output wp-admin/js/link.js */
     2
    13/* global postboxes, deleteUserSetting, setUserSetting, getUserSetting */
    24
    35jQuery(document).ready( function($) {
  • src/js/_enqueues/admin/media-upload.js

    diff --git src/js/_enqueues/admin/media-upload.js src/js/_enqueues/admin/media-upload.js
    index b7171a3..136b0e4 100644
     
    1 /* global tinymce, QTags */
    2 
    31/**
    42 * Contains global functions for the media upload within the post edit screen.
    53 *
     
    97 *
    108 * @file
    119 * @since 2.5.0
     10 * @output wp-admin/js/media-upload.js
    1211 *
    1312 * @requires jQuery
    1413 */
    1514
     15/* global tinymce, QTags */
     16
    1617var wpActiveEditor, send_to_editor;
    1718
    1819/**
  • src/js/_enqueues/admin/media.js

    diff --git src/js/_enqueues/admin/media.js src/js/_enqueues/admin/media.js
    index 3a87726..68a9b75 100644
     
    1 /* global ajaxurl, attachMediaBoxL10n, _wpMediaGridSettings, showNotice */
    2 
    31/**
    42 * Creates a dialog containing posts that can have a particular media attached
    53 * to it.
    64 *
    75 * @since 2.7.0
     6 * @output wp-admin/js/media.js
    87 *
    98 * @namespace findPosts
    109 *
    1110 * @requires jQuery
    1211 */
     12
     13/* global ajaxurl, attachMediaBoxL10n, _wpMediaGridSettings, showNotice */
     14
    1315var findPosts;
    1416
    1517( function( $ ){
  • src/js/_enqueues/admin/plugin-install.js

    diff --git src/js/_enqueues/admin/plugin-install.js src/js/_enqueues/admin/plugin-install.js
    index f2a0965..1a2cf17 100644
     
    1 /* global plugininstallL10n, tb_click, tb_remove */
    2 
    31/**
    42 * @file Functionality for the plugin install screens.
     3 *
     4 * @output wp-admin/js/plugin-install.js
    55 */
     6
     7/* global plugininstallL10n, tb_click, tb_remove */
    68var tb_position;
    79jQuery( document ).ready( function( $ ) {
    810
  • src/js/_enqueues/admin/post.js

    diff --git src/js/_enqueues/admin/post.js src/js/_enqueues/admin/post.js
    index 74f6f39..18f6907 100644
     
    1 /* global postL10n, ajaxurl, wpAjax, setPostThumbnailL10n, postboxes, pagenow, tinymce, alert, deleteUserSetting */
    2 /* global theList:true, theExtraList:true, getUserSetting, setUserSetting, commentReply */
    3 
    41/**
    52 * @file Contains all dynamic functionality needed on post and term pages.
     3 *
     4 * @output wp-admin/js/post.js
    65 */
    76
     7 /* global postL10n, ajaxurl, wpAjax, setPostThumbnailL10n, postboxes, pagenow, tinymce, alert, deleteUserSetting */
     8 /* global theList:true, theExtraList:true, getUserSetting, setUserSetting, commentReply */
     9
    810var commentsBox, WPSetThumbnailHTML, WPSetThumbnailID, WPRemoveThumbnail, wptitlehint, makeSlugeditClickable, editPermalink;
    911// Backwards compatibility: prevent fatal errors.
    1012makeSlugeditClickable = editPermalink = function(){};
  • src/js/_enqueues/admin/postbox.js

    diff --git src/js/_enqueues/admin/postbox.js src/js/_enqueues/admin/postbox.js
    index a91b536..265da9f 100644
     
    44 *
    55 * @since 2.5.0
    66 * @requires jQuery
     7 * @output wp-admin/js/postbox.js
    78 */
    89
    910/* global ajaxurl, postBoxL10n */
  • src/js/_enqueues/admin/set-post-thumbnail.js

    diff --git src/js/_enqueues/admin/set-post-thumbnail.js src/js/_enqueues/admin/set-post-thumbnail.js
    index 68abbcc..0368bf5 100644
     
     1/* @output wp-admin/js/set-post-thumbnail.js */
     2
    13/* global setPostThumbnailL10n, ajaxurl, post_id, alert */
    24/* exported WPSetAsThumbnail */
    35
  • src/js/_enqueues/admin/tags-box.js

    diff --git src/js/_enqueues/admin/tags-box.js src/js/_enqueues/admin/tags-box.js
    index 0ca69e8..982af4e 100644
     
     1/* @output wp-admin/js/tags-box.js */
     2
    13/* jshint curly: false, eqeqeq: false */
    24/* global ajaxurl */
    35
  • src/js/_enqueues/admin/tags-suggest.js

    diff --git src/js/_enqueues/admin/tags-suggest.js src/js/_enqueues/admin/tags-suggest.js
    index a24436f..6c13c81 100644
     
    11/**
    22 * Default settings for jQuery UI Autocomplete for use with non-hierarchical taxonomies.
     3 *
     4 * @output wp-admin/js/tags-suggest.js
    35 */
    46( function( $ ) {
    57        if ( typeof window.tagsSuggestL10n === 'undefined' || typeof window.uiAutocompleteL10n === 'undefined' ) {
  • src/js/_enqueues/admin/tags.js

    diff --git src/js/_enqueues/admin/tags.js src/js/_enqueues/admin/tags.js
    index ed1c68b..0f195c7 100644
     
    1 /* global ajaxurl, wpAjax, tagsl10n, showNotice, validateForm */
    21/**
    32 * Contains logic for deleting and adding tags.
    43 *
    54 * For deleting tags it makes a request to the server to delete the tag.
    65 * For adding tags it makes a request to the server to add the tag.
     6 *
     7 * @output wp-admin/js/tags.js
    78 */
    89
     10 /* global ajaxurl, wpAjax, tagsl10n, showNotice, validateForm */
     11
    912jQuery(document).ready(function($) {
    1013
    1114        /**
  • src/js/_enqueues/admin/user-profile.js

    diff --git src/js/_enqueues/admin/user-profile.js src/js/_enqueues/admin/user-profile.js
    index e95a428..8afa36c 100644
     
     1/* @output wp-admin/js/user-profile.js */
     2
    13/* global ajaxurl, pwsL10n, userProfileL10n */
    24(function($) {
    35        var updateLock = false,
  • src/js/_enqueues/admin/widgets.js

    diff --git src/js/_enqueues/admin/widgets.js src/js/_enqueues/admin/widgets.js
    index 59c2b71..75ac338 100644
     
    1 /*global ajaxurl, isRtl */
     1/* @output wp-admin/js/widgets.js */
     2
     3/* global ajaxurl, isRtl */
    24var wpWidgets;
    35(function($) {
    46        var $document = $( document );
  • src/js/_enqueues/admin/xfn.js

    diff --git src/js/_enqueues/admin/xfn.js src/js/_enqueues/admin/xfn.js
    index 9933592..61605a3 100644
     
    22 * Generates the XHTML Friends Network 'rel' string from the inputs.
    33 *
    44 * @deprecated 3.5.0
     5 * @output wp-admin/js/xfn.js
    56 */
    67jQuery( document ).ready(function( $ ) {
    78        $( '#link_rel' ).prop( 'readonly', true );
  • src/js/_enqueues/deprecated/fullscreen-stub.js

    diff --git src/js/_enqueues/deprecated/fullscreen-stub.js src/js/_enqueues/deprecated/fullscreen-stub.js
    index df5d2e7..490d18d 100644
     
    11/**
    22 * Distraction-Free Writing (wp-fullscreen) backward compatibility stub.
    3  * Todo: remove at the end of 2016.
    43 *
    5  * Original was deprecated in 4.1, removed in 4.3.
     4 * @deprecated 4.1
     5 * @removed 4.3.
     6 * @output wp-admin/js/wp-fullscreen-stub.js
    67 */
    78( function() {
    89        var noop = function(){};
  • src/js/_enqueues/deprecated/media-gallery.js

    diff --git src/js/_enqueues/deprecated/media-gallery.js src/js/_enqueues/deprecated/media-gallery.js
    index a71d8fe..725d2be 100644
     
    1 /* global ajaxurl */
    2 
    31/**
    42 * This file is used on media-upload.php which has been replaced by media-new.php and upload.php
    5  * Deprecated since 3.5.0
     3 *
     4 * @deprecated  3.5.0
     5 * @output wp-admin/js/media-gallery.js
    66 */
     7
     8 /* global ajaxurl */
    79jQuery(function($) {
    810        /**
    911         * Adds a click event handler to the element with a 'wp-gallery' class.
  • src/js/_enqueues/lib/accordion.js

    diff --git src/js/_enqueues/lib/accordion.js src/js/_enqueues/lib/accordion.js
    index 600fefb..0bec1ce 100644
     
    2626 * Note that any appropriate tags may be used, as long as the above classes are present.
    2727 *
    2828 * @since 3.6.0
     29 * @output wp-admin/js/accordion.js
    2930 */
    3031
    3132( function( $ ){
  • src/js/_enqueues/lib/admin-bar.js

    diff --git src/js/_enqueues/lib/admin-bar.js src/js/_enqueues/lib/admin-bar.js
    index 9a2ae05..dafa2c9 100644
     
     1/* @output wp-includes/js/admin-bar.js */
     2
    13/* jshint loopfunc: true */
    24// use jQuery and hoverIntent if loaded
    35if ( typeof(jQuery) != 'undefined' ) {
  • src/js/_enqueues/lib/ajax-response.js

    diff --git src/js/_enqueues/lib/ajax-response.js src/js/_enqueues/lib/ajax-response.js
    index 363a08b..3a8199d 100644
     
     1/* @output wp-includes/js/wp-ajax-response.js */
     2
    13var wpAjax = jQuery.extend( {
    24        unserialize: function( s ) {
    35                var r = {}, q, pp, i, p;
  • src/js/_enqueues/lib/auth-check.js

    diff --git src/js/_enqueues/lib/auth-check.js src/js/_enqueues/lib/auth-check.js
    index 9448a47..a501d01 100644
     
     1/**
     2 * Interim login dialog.
     3 *
     4 * @output wp-includes/js/wp-auth-check.js
     5 */
     6
    17/* global adminpage */
    2 // Interim login dialog
    38(function($){
    49        var wrap, next;
    510
  • src/js/_enqueues/lib/color-picker.js

    diff --git src/js/_enqueues/lib/color-picker.js src/js/_enqueues/lib/color-picker.js
    index a3bca29..3baeb3d 100644
     
     1/* @output wp-admin/js/color-picker.js */
     2
    13/* global wpColorPickerL10n */
    24( function( $, undef ) {
    35
  • src/js/_enqueues/lib/comment-reply.js

    diff --git src/js/_enqueues/lib/comment-reply.js src/js/_enqueues/lib/comment-reply.js
    index 4626e62..fde5f51 100644
     
    22 * Handles the addition of the comment form.
    33 *
    44 * @since 2.7.0
     5 * @output wp-includes/js/comment-reply.js
    56 *
    67 * @namespace addComment
    78 *
  • src/js/_enqueues/lib/cookies.js

    diff --git src/js/_enqueues/lib/cookies.js src/js/_enqueues/lib/cookies.js
    index 48e078e..eda46b7 100644
     
     1/**
     2 * Cookie functions.
     3 *
     4 * @output wp-includes/js/utils.js
     5 */
     6
    17/* global userSettings */
    28/* exported getUserSetting, setUserSetting, deleteUserSetting */
    3 // utility functions
    49
    510var wpCookies = {
    611// The following functions are from Cookie.js class in TinyMCE 3, Moxiecode, used under LGPL.
    function getAllUserSettings() { 
    195200
    196201        return wpCookies.getHash( 'wp-settings-' + userSettings.uid ) || {};
    197202}
    198 
  • src/js/_enqueues/lib/dialog.js

    diff --git src/js/_enqueues/lib/dialog.js src/js/_enqueues/lib/dialog.js
    index baf1f2f..340871d 100644
     
     1/* @output wp-includes/js/wpdialog.js */
     2
    13/*
    24 * Wrap the jQuery UI Dialog open function remove focus from tinyMCE.
    35 */
  • src/js/_enqueues/lib/embed-template.js

    diff --git src/js/_enqueues/lib/embed-template.js src/js/_enqueues/lib/embed-template.js
    index 16f6708..dc01dfd 100644
     
     1/* @output wp-includes/js/wp-embed-template.js */
    12(function ( window, document ) {
    23        'use strict';
    34
  • src/js/_enqueues/lib/emoji-loader.js

    diff --git src/js/_enqueues/lib/emoji-loader.js src/js/_enqueues/lib/emoji-loader.js
    index c239b87..5c2ed91 100644
     
     1/* @output wp-includes/js/wp-emoji-loader.js */
     2
    13( function( window, document, settings ) {
    24        var src, ready, ii, tests;
    35
  • src/js/_enqueues/lib/gallery.js

    diff --git src/js/_enqueues/lib/gallery.js src/js/_enqueues/lib/gallery.js
    index e2131323..9a3453a 100644
     
     1/* @output wp-admin/js/gallery.js */
     2
    13/* global unescape, getUserSetting, setUserSetting */
    24
    35jQuery(document).ready(function($) {
  • src/js/_enqueues/lib/image-edit.js

    diff --git src/js/_enqueues/lib/image-edit.js src/js/_enqueues/lib/image-edit.js
    index 72f0405..100f26e 100644
     
    1 /* global imageEditL10n, ajaxurl, confirm */
    21/**
    32 * The functions necessary for editing images.
    43 *
    54 * @since 2.9.0
     5 * @output wp-admin/js/image-edit.js
    66 */
    77
     8 /* global imageEditL10n, ajaxurl, confirm */
     9
    810(function($) {
    911
    1012        /**
  • src/js/_enqueues/lib/language-chooser.js

    diff --git src/js/_enqueues/lib/language-chooser.js src/js/_enqueues/lib/language-chooser.js
    index 9ca3ea6..a483519 100644
     
     1/* @output wp-admin/js/language-chooser.js */
     2
    13jQuery( function($) {
    24/*
    35 * Set the correct translation to the continue button and show a spinner
  • src/js/_enqueues/lib/link.js

    diff --git src/js/_enqueues/lib/link.js src/js/_enqueues/lib/link.js
    index 7d50dfa..c4dd8e8 100644
     
     1/* @output wp-includes/js/wplink.js */
     2
    13var wpLink;
    24
    35( function( $, wpLinkL10n, wp ) {
  • src/js/_enqueues/lib/list-revisions.js

    diff --git src/js/_enqueues/lib/list-revisions.js src/js/_enqueues/lib/list-revisions.js
    index aaa5328..d59d8cc 100644
     
     1/* @output wp-includes/js/wp-list-revisions.js */
     2
    13(function(w) {
    24        var init = function() {
    35                var pr = document.getElementById('post-revisions'),
  • src/js/_enqueues/lib/lists.js

    diff --git src/js/_enqueues/lib/lists.js src/js/_enqueues/lib/lists.js
    index c73471d..22034f0 100644
     
     1/* @output wp-includes/js/wp-lists.js */
     2
    13/* global ajaxurl, wpAjax */
    24
    35/**
  • src/js/_enqueues/lib/nav-menu.js

    diff --git src/js/_enqueues/lib/nav-menu.js src/js/_enqueues/lib/nav-menu.js
    index a121aa8..bccddc8 100644
     
    66 *
    77 * @package WordPress
    88 * @subpackage Administration
     9 * @output wp-admin/js/nav-menu.js
    910 */
    1011
    1112/* global menus, postboxes, columns, isRtl, navMenuL10n, ajaxurl */
  • src/js/_enqueues/lib/pointer.js

    diff --git src/js/_enqueues/lib/pointer.js src/js/_enqueues/lib/pointer.js
    index 9f67389..2073243 100644
     
     1/* @output wp-includes/js/wp-pointer.js */
     2
    13/* global wpPointerL10n */
    24
    35/**
    4  * Initializes the wp-pointer widget using jQuery UI Widget Factory.
     6 * Pointer jQuery widget.
    57 */
    68(function($){
    79        var identifier = 0,
    810                zindex = 9999;
    911
     12        /**
     13         * @class $.widget.wp.pointer
     14         */
    1015        $.widget('wp.pointer',/** @lends $.widget.wp.pointer.prototype */{
    1116                options: {
    1217                        pointerClass: 'wp-pointer',
     
    3540                        document: document
    3641                },
    3742
    38                 /**
    39                  * A class that represents a WordPress pointer.
    40                  *
    41                  * @since 3.3.0
    42                  * @private
    43                  *
    44                  * @constructs $.widget.wp.pointer
    45                  */
    4643                _create: function() {
    4744                        var positioning,
    4845                                family;
     
    6562                                .appendTo( this.options.document.body );
    6663                },
    6764
    68                 /**
    69                  * Sets an option on the pointer instance.
    70                  *
    71                  * There are 4 special values that do something extra:
    72                  *
    73                  * - `document`     will transfer the pointer to the body of the new document
    74                  *                  specified by the value.
    75                  * - `pointerClass` will change the class of the pointer element.
    76                  * - `position`     will reposition the pointer.
    77                  * - `content`      will update the content of the pointer.
    78                  *
    79                  * @since 3.3.0
    80                  * @private
    81                  *
    82                  * @param {string} key   The key of the option to set.
    83                  * @param {*}      value The value to set the option to.
    84                  */
    8565                _setOption: function( key, value ) {
    8666                        var o   = this.options,
    8767                                tip = this.pointer;
     
    10888                        }
    10989                },
    11090
    111                 /**
    112                  * Removes the pointer element from of the DOM.
    113                  *
    114                  * Makes sure that the widget and all associated bindings are destroyed.
    115                  *
    116                  * @since 3.3.0
    117                  */
    11891                destroy: function() {
    11992                        this.pointer.remove();
    12093                        $.Widget.prototype.destroy.call( this );
    12194                },
    12295
    123                 /**
    124                  * Returns the pointer element.
    125                  *
    126                  * @since 3.3.0
    127                  *
    128                  * @return {Object} Pointer The pointer object.
    129                  */
    13096                widget: function() {
    13197                        return this.pointer;
    13298                },
    13399
    134                 /**
    135                  * Updates the content of the pointer.
    136                  *
    137                  * This function doesn't update the content of the pointer itself. That is done
    138                  * by the `_update` method. This method will make sure that the `_update` method
    139                  * is called with the right content.
    140                  *
    141                  * The content in the options can either be a string or a callback. If it is a
    142                  * callback the result of this callback is used as the content.
    143                  *
    144                  * @since 3.3.0
    145                  *
    146                  * @param {Object} event The event that caused the update.
    147                  *
    148                  * @return {Promise} Resolves when the update has been executed.
    149                  */
    150100                update: function( event ) {
    151101                        var self = this,
    152102                                o    = this.options,
     
    177127                },
    178128
    179129                /**
    180                  * Updates the content of the pointer.
    181                  *
    182                  * Will make sure that the pointer is correctly positioned.
    183                  *
    184                  * @since 3.3.0
    185                  * @private
    186                  *
    187                  * @param {Object} event   The event that caused the update.
    188                  * @param {*}      content The content object. Either a string or a jQuery tree.
     130                 * Update is separated into two functions to allow events to defer
     131                 * updating the pointer (e.g. fetch content with ajax, etc).
    189132                 */
    190133                _update: function( event, content ) {
    191134                        var buttons,
     
    194137                        if ( ! content )
    195138                                return;
    196139
    197                         // Kill any animations on the pointer.
    198                         this.pointer.stop();
     140                        this.pointer.stop(); // Kill any animations on the pointer.
    199141                        this.content.html( content );
    200142
    201143                        buttons = o.buttons.call( this.element[0], event, this._handoff() );
     
    206148                        this.reposition();
    207149                },
    208150
    209                 /**
    210                  * Repositions the pointer.
    211                  *
    212                  * Makes sure the pointer is the correct size for its content and makes sure it
    213                  * is positioned to point to the right element.
    214                  *
    215                  * @since 3.3.0
    216                  */
    217151                reposition: function() {
    218152                        var position;
    219153
     
    235169                        this.repoint();
    236170                },
    237171
    238                 /**
    239                  * Sets the arrow of the pointer to the correct side of the pointer element.
    240                  *
    241                  * @since 3.3.0
    242                  */
    243172                repoint: function() {
    244173                        var o = this.options,
    245174                                edge;
     
    256185                        this.pointer.addClass( 'wp-pointer-' + edge );
    257186                },
    258187
    259                 /**
    260                  * Calculates the correct position based on a position in the settings.
    261                  *
    262                  * @since 3.3.0
    263                  * @private
    264                  *
    265                  * @param {string|Object} position Either a side of a pointer or an object
    266                  *                                 containing a pointer.
    267                  *
    268                  * @return {Object} result  An object containing position related data.
    269                  */
    270188                _processPosition: function( position ) {
    271189                        var opposite = {
    272190                                        top: 'bottom',
     
    303221                        return result;
    304222                },
    305223
    306                 /**
    307                  * Opens the pointer.
    308                  *
    309                  * Only opens the pointer widget in case it is closed and not disabled, and
    310                  * calls 'update' before doing so. Calling update makes sure that the pointer
    311                  * is correctly sized and positioned.
    312                  *
    313                  * @since 3.3.0
    314                  *
    315                  * @param {Object} event The event that triggered the opening of this pointer.
    316                  */
    317224                open: function( event ) {
    318225                        var self = this,
    319226                                o    = this.options;
     
    326233                        });
    327234                },
    328235
    329                 /**
    330                  * Opens and shows the pointer element.
    331                  *
    332                  * @since 3.3.0
    333                  * @private
    334                  *
    335                  * @param {Object} event An event object.
    336                  */
    337236                _open: function( event ) {
    338237                        var self = this,
    339238                                o    = this.options;
     
    352251                        }));
    353252                },
    354253
    355                 /**
    356                  * Closes and hides the pointer element.
    357                  *
    358                  * @since 3.3.0
    359                  *
    360                  * @param {Object} event An event object.
    361                  */
    362254                close: function( event ) {
    363255                        if ( !this.active || this.options.disabled )
    364256                                return;
     
    374266                        }));
    375267                },
    376268
    377                 /**
    378                  * Puts the pointer on top by increasing the z-index.
    379                  *
    380                  * @since 3.3.0
    381                  */
    382269                sendToTop: function() {
    383270                        if ( this.active )
    384271                                this.pointer.css( 'z-index', zindex++ );
    385272                },
    386273
    387                 /**
    388                  * Toggles the element between shown and hidden.
    389                  *
    390                  * @since 3.3.0
    391                  *
    392                  * @param {Object} event An event object.
    393                  */
    394274                toggle: function( event ) {
    395275                        if ( this.pointer.is(':hidden') )
    396276                                this.open( event );
     
    398278                                this.close( event );
    399279                },
    400280
    401                 /**
    402                  * Extends the pointer and the widget element with the supplied parameter, which
    403                  * is either an element or a function.
    404                  *
    405                  * @since 3.3.0
    406                  * @private
    407                  *
    408                  * @param {Object} extend The object to be merged into the original object.
    409                  *
    410                  * @return {Object} The extended object.
    411                  */
    412281                _handoff: function( extend ) {
    413282                        return $.extend({
    414283                                pointer: this.pointer,
  • src/js/_enqueues/lib/quicktags.js

    diff --git src/js/_enqueues/lib/quicktags.js src/js/_enqueues/lib/quicktags.js
    index e75f0de..8906af1 100644
     
    1 /* global adminpage, wpActiveEditor, quicktagsL10n, wpLink, prompt */
     1
    22/*
    33 * Quicktags
    44 *
     
    1616 *
    1717 * quicktags_id string The ID of the textarea that will be the editor canvas
    1818 * buttons string Comma separated list of the default buttons names that will be shown in that instance.
     19 *
     20 * @output wp-includes/js/quicktags.js
    1921 */
    2022
    2123// new edit toolbar used with permission
    2224// by Alex King
    2325// http://www.alexking.org/
    2426
     27/* global adminpage, wpActiveEditor, quicktagsL10n, wpLink, prompt */
     28
    2529var QTags, edCanvas,
    2630        edButtons = [];
    2731
  • src/js/_enqueues/lib/user-suggest.js

    diff --git src/js/_enqueues/lib/user-suggest.js src/js/_enqueues/lib/user-suggest.js
    index 54cb99d..19770df 100644
     
    1 /* global ajaxurl, current_site_id, isRtl */
    21/**
    32 * Suggests users in a multisite environment.
    43 *
     
    87 * site are shown.
    98 *
    109 * @since 3.4.0
     10 * @output wp-admin/js/user-suggest.js
    1111 */
    1212
     13/* global ajaxurl, current_site_id, isRtl */
     14
    1315(function( $ ) {
    1416        var id = ( typeof current_site_id !== 'undefined' ) ? '&site_id=' + current_site_id : '';
    1517        $(document).ready( function() {
  • src/js/_enqueues/lib/zxcvbn-async.js

    diff --git src/js/_enqueues/lib/zxcvbn-async.js src/js/_enqueues/lib/zxcvbn-async.js
    index 2ddbb4b..d3d5689 100644
     
     1/* @output wp-includes/js/zxcvbn-async.js */
     2
    13/* global _zxcvbnSettings */
     4
    25/**
    36 * Loads zxcvbn asynchronously by inserting an async script tag before the first
    47 * script tag on the page.
  • src/js/_enqueues/wp/a11y.js

    diff --git src/js/_enqueues/wp/a11y.js src/js/_enqueues/wp/a11y.js
    index 18d6db5..7178de3 100644
     
     1/* @output wp-includes/js/wp-a11y.js */
     2
    13/** @namespace wp */
    24window.wp = window.wp || {};
    35
  • src/js/_enqueues/wp/api-request.js

    diff --git src/js/_enqueues/wp/api-request.js src/js/_enqueues/wp/api-request.js
    index 4b299be..3ed1c68 100644
     
    99 * - Allows specifying only an endpoint namespace/path instead of a full URL.
    1010 *
    1111 * @since     4.9.0
     12 * @output wp-includes/js/api-request.js
    1213 */
    1314
    1415( function( $ ) {
  • src/js/_enqueues/wp/api.js

    diff --git src/js/_enqueues/wp/api.js src/js/_enqueues/wp/api.js
    index 9ac12fe..1894a3b 100644
     
     1/* @output wp-includes/js/wp-api.js */
     2
    13(function( window, undefined ) {
    24
    35        'use strict';
  • src/js/_enqueues/wp/autosave.js

    diff --git src/js/_enqueues/wp/autosave.js src/js/_enqueues/wp/autosave.js
    index 919bc15..12a72bd 100644
     
     1/* @output wp-includes/js/autosave.js */
     2
    13/* global tinymce, wpCookies, autosaveL10n, switchEditors */
    24// Back-compat
    35window.autosave = function() {
  • src/js/_enqueues/wp/backbone.js

    diff --git src/js/_enqueues/wp/backbone.js src/js/_enqueues/wp/backbone.js
    index 0d25389..98ec9d3 100644
     
     1/* @output wp-includes/js/wp-backbone.js */
     2
    13/** @namespace wp */
    24window.wp = window.wp || {};
    35
  • src/js/_enqueues/wp/code-editor.js

    diff --git src/js/_enqueues/wp/code-editor.js src/js/_enqueues/wp/code-editor.js
    index 3710c37..4b3e5d1 100644
     
     1/* @output wp-admin/js/code-editor.js */
     2
    13if ( 'undefined' === typeof window.wp ) {
    24        /**
    35         * @namespace wp
  • src/js/_enqueues/wp/custom-header.js

    diff --git src/js/_enqueues/wp/custom-header.js src/js/_enqueues/wp/custom-header.js
    index 9cb29d1..9d22589 100644
     
     1/* @output wp-includes/js/wp-custom-header.js */
     2
    13/* global YT */
    24(function( window, settings ) {
    35
  • src/js/_enqueues/wp/customize/base.js

    diff --git src/js/_enqueues/wp/customize/base.js src/js/_enqueues/wp/customize/base.js
    index 374f503..269541b 100644
     
     1/* @output wp-includes/js/customize-base.js */
     2
    13/** @namespace wp */
    24window.wp = window.wp || {};
    35
  • src/js/_enqueues/wp/customize/controls.js

    diff --git src/js/_enqueues/wp/customize/controls.js src/js/_enqueues/wp/customize/controls.js
    index ed75ba3..ad2dc98 100644
     
     1/* @output wp-admin/js/customize-controls.js */
     2
    13/* global _wpCustomizeHeader, _wpCustomizeBackground, _wpMediaViewsL10n, MediaElementPlayer, console, confirm */
    24(function( exports, $ ){
    35        var Container, focus, normalizedTransitionendEventName, api = wp.customize;
  • src/js/_enqueues/wp/customize/loader.js

    diff --git src/js/_enqueues/wp/customize/loader.js src/js/_enqueues/wp/customize/loader.js
    index 9d0aad8..095e990 100644
     
     1/* @output wp-includes/js/customize-loader.js */
     2
    13/* global _wpCustomizeLoaderSettings */
     4
    25/**
    36 * Expose a public API that allows the customizer to be
    47 * loaded on any page.
  • src/js/_enqueues/wp/customize/models.js

    diff --git src/js/_enqueues/wp/customize/models.js src/js/_enqueues/wp/customize/models.js
    index e2a5dfb..91746a3 100644
     
     1/* @output wp-includes/js/customize-models.js */
     2
    13/* global _wpCustomizeHeader */
    24(function( $, wp ) {
    35        var api = wp.customize;
  • src/js/_enqueues/wp/customize/nav-menus.js

    diff --git src/js/_enqueues/wp/customize/nav-menus.js src/js/_enqueues/wp/customize/nav-menus.js
    index db846ba..2465fcf 100644
     
     1/* @output wp-admin/js/customize-nav-menus.js */
     2
    13/* global _wpCustomizeNavMenusSettings, wpNavMenu, console */
    24( function( api, wp, $ ) {
    35        'use strict';
  • src/js/_enqueues/wp/customize/preview-nav-menus.js

    diff --git src/js/_enqueues/wp/customize/preview-nav-menus.js src/js/_enqueues/wp/customize/preview-nav-menus.js
    index b328e67..bf86315 100644
     
     1/* @output wp-includes/js/customize-preview-nav-menus.js */
     2
    13/* global _wpCustomizePreviewNavMenusExports */
    24
    35/** @namespace wp.customize.navMenusPreview */
  • src/js/_enqueues/wp/customize/preview-widgets.js

    diff --git src/js/_enqueues/wp/customize/preview-widgets.js src/js/_enqueues/wp/customize/preview-widgets.js
    index 27013d7..0cdcc69 100644
     
     1/* @output wp-includes/js/customize-preview-widgets.js */
     2
    13/* global _wpWidgetCustomizerPreviewSettings */
    24
    35/**
  • src/js/_enqueues/wp/customize/preview.js

    diff --git src/js/_enqueues/wp/customize/preview.js src/js/_enqueues/wp/customize/preview.js
    index 6848375..4d971cc 100644
     
    11/*
    22 * Script run inside a Customizer preview frame.
     3 *
     4 * @output wp-includes/js/customize-preview.js
    35 */
    46(function( exports, $ ){
    57        var api = wp.customize,
  • src/js/_enqueues/wp/customize/selective-refresh.js

    diff --git src/js/_enqueues/wp/customize/selective-refresh.js src/js/_enqueues/wp/customize/selective-refresh.js
    index ca72b53..8a46ef0 100644
     
     1/* @output wp-includes/js/customize-selective-refresh.js */
     2
    13/* global jQuery, JSON, _customizePartialRefreshExports, console */
    24
    35/** @namespace wp.customize.selectiveRefresh */
  • src/js/_enqueues/wp/customize/views.js

    diff --git src/js/_enqueues/wp/customize/views.js src/js/_enqueues/wp/customize/views.js
    index 786739f..fcfefd3 100644
     
     1/* @output wp-includes/js/customize-views.js */
     2
    13(function( $, wp, _ ) {
    24
    35        if ( ! wp || ! wp.customize ) { return; }
  • src/js/_enqueues/wp/customize/widgets.js

    diff --git src/js/_enqueues/wp/customize/widgets.js src/js/_enqueues/wp/customize/widgets.js
    index 40b5148..3a3acf9 100644
     
     1/* @output wp-admin/js/customize-widgets.js */
     2
    13/* global _wpCustomizeWidgetsSettings */
    24(function( wp, $ ){
    35
  • src/js/_enqueues/wp/dashboard.js

    diff --git src/js/_enqueues/wp/dashboard.js src/js/_enqueues/wp/dashboard.js
    index ff0ffaa..bb1f8c5 100644
     
     1/* @output wp-admin/js/dashboard.js */
     2
    13/* global pagenow, ajaxurl, postboxes, wpActiveEditor:true */
    24var ajaxWidgets, ajaxPopulateWidgets, quickPressLoad;
    35window.wp = window.wp || {};
  • src/js/_enqueues/wp/editor/base.js

    diff --git src/js/_enqueues/wp/editor/base.js src/js/_enqueues/wp/editor/base.js
    index 247a444..20be129 100644
     
     1/* @output wp-admin/js/editor.js */
     2
    13window.wp = window.wp || {};
    24
    35( function( $, wp ) {
  • src/js/_enqueues/wp/editor/dfw.js

    diff --git src/js/_enqueues/wp/editor/dfw.js src/js/_enqueues/wp/editor/dfw.js
    index 8082bc6..74a1d57 100644
     
     1/* @output wp-admin/js/editor-expand.js */
     2
    13( function( window, $, undefined ) {
    24        'use strict';
    35
  • src/js/_enqueues/wp/embed.js

    diff --git src/js/_enqueues/wp/embed.js src/js/_enqueues/wp/embed.js
    index a25e09e..16e7e8b 100644
     
    22 * WordPress inline HTML embed
    33 *
    44 * @since 4.4.0
     5 * @output wp-includes/js/wp-embed.js
    56 *
    67 * This file cannot have ampersands in it. This is to ensure
    78 * it can be embedded in older versions of WordPress.
  • src/js/_enqueues/wp/emoji.js

    diff --git src/js/_enqueues/wp/emoji.js src/js/_enqueues/wp/emoji.js
    index 46cddd0..f97634f 100644
     
     1/* @output wp-includes/js/wp-emoji.js */
    12
    23( function( window, settings ) {
    34        function wpEmoji() {
  • src/js/_enqueues/wp/heartbeat.js

    diff --git src/js/_enqueues/wp/heartbeat.js src/js/_enqueues/wp/heartbeat.js
    index 60b9934..03baeb6 100644
     
    2424 * - heartbeat-nonces-expired
    2525 *
    2626 * @since 3.6.0
     27 * @output wp-includes/js/heartbeat.js
    2728 */
    2829
    2930( function( $, window, undefined ) {
  • src/js/_enqueues/wp/mce-view.js

    diff --git src/js/_enqueues/wp/mce-view.js src/js/_enqueues/wp/mce-view.js
    index 8865279..2dca6ce 100644
     
     1/* @output wp-includes/js/mce-view.js */
     2
    13/* global tinymce */
    24
    35/*
  • src/js/_enqueues/wp/media/audiovideo.js

    diff --git src/js/_enqueues/wp/media/audiovideo.js src/js/_enqueues/wp/media/audiovideo.js
    index 0d677b4..0dd534d 100644
     
     1/* @output wp-includes/js/media-audiovideo.js */
     2
    13var media = wp.media,
    24        baseSettings = window._wpmejsSettings || {},
    35        l10n = window._wpMediaViewsL10n || {};
  • src/js/_enqueues/wp/media/editor.js

    diff --git src/js/_enqueues/wp/media/editor.js src/js/_enqueues/wp/media/editor.js
    index a88709c..8c25406 100644
     
     1/* @output wp-includes/js/media-editor.js */
     2
    13/* global getUserSetting, tinymce, QTags */
    24
    35// WordPress, TinyMCE, and Media
  • src/js/_enqueues/wp/media/grid.js

    diff --git src/js/_enqueues/wp/media/grid.js src/js/_enqueues/wp/media/grid.js
    index 17601b2..70d487f 100644
     
     1/* @output wp-includes/js/media-grid.js */
     2
    13var media = wp.media;
    24
    35media.controller.EditAttachmentMetadata = require( '../../../media/controllers/edit-attachment-metadata.js' );
  • src/js/_enqueues/wp/media/models.js

    diff --git src/js/_enqueues/wp/media/models.js src/js/_enqueues/wp/media/models.js
    index 166ff9f..1a9ca85 100644
     
     1/* @output wp-includes/js/media-models.js */
     2
    13var $ = jQuery,
    24        Attachment, Attachments, l10n, media;
    35
  • src/js/_enqueues/wp/media/views.js

    diff --git src/js/_enqueues/wp/media/views.js src/js/_enqueues/wp/media/views.js
    index 5549764..82ed5d0 100644
     
     1/* @output wp-includes/js/media-views.js */
     2
    13var media = wp.media,
    24        $ = jQuery,
    35        l10n;
  • src/js/_enqueues/wp/password-strength-meter.js

    diff --git src/js/_enqueues/wp/password-strength-meter.js src/js/_enqueues/wp/password-strength-meter.js
    index 8b903b4..c9d2078 100644
     
     1/* @output wp-admin/js/password-strength-meter.js */
     2
    13/* global zxcvbn */
    24window.wp = window.wp || {};
    35
  • src/js/_enqueues/wp/revisions.js

    diff --git src/js/_enqueues/wp/revisions.js src/js/_enqueues/wp/revisions.js
    index 2949c49..adf5865 100644
     
    1 /* global isRtl */
    21/**
    32 * @file Revisions interface functions, Backbone classes and
    43 * the revisions.php document.ready bootstrap.
    54 *
     5 * @output wp-admin/js/revisions.js
    66 */
    77
     8/* global isRtl */
     9
    810window.wp = window.wp || {};
    911
    1012(function($) {
  • src/js/_enqueues/wp/sanitize.js

    diff --git src/js/_enqueues/wp/sanitize.js src/js/_enqueues/wp/sanitize.js
    index 312dab2..3326f24 100644
     
     1/* @output wp-includes/js/wp-sanitize.js */
     2
    13( function () {
    24
    35        window.wp = window.wp || {};
  • src/js/_enqueues/wp/shortcode.js

    diff --git src/js/_enqueues/wp/shortcode.js src/js/_enqueues/wp/shortcode.js
    index 3988132..8f02273 100644
     
    1 // Utility functions for parsing and handling shortcodes in JavaScript.
     1/**
     2 * Utility functions for parsing and handling shortcodes in JavaScript.
     3 *
     4 * @output wp-includes/js/shortcode.js
     5 */
    26
    37/**
    48 * Ensure the global `wp` object exists.
  • src/js/_enqueues/wp/svg-painter.js

    diff --git src/js/_enqueues/wp/svg-painter.js src/js/_enqueues/wp/svg-painter.js
    index 7b68760..e0277f1 100644
     
    11/**
    22 * Attempt to re-color SVG icons used in the admin menu or the toolbar
    33 *
     4 * @output wp-admin/js/svg-painter.js
    45 */
    56
    67window.wp = window.wp || {};
  • src/js/_enqueues/wp/theme-plugin-editor.js

    diff --git src/js/_enqueues/wp/theme-plugin-editor.js src/js/_enqueues/wp/theme-plugin-editor.js
    index 3f0d45d..276dcbc 100644
     
     1/* @output wp-admin/js/theme-plugin-editor.js */
     2
    13/* eslint no-magic-numbers: ["error", { "ignore": [-1, 0, 1] }] */
    24
    35if ( ! window.wp ) {
  • src/js/_enqueues/wp/theme.js

    diff --git src/js/_enqueues/wp/theme.js src/js/_enqueues/wp/theme.js
    index e797544..3ded786 100644
     
     1/* @output wp-admin/js/theme.js */
     2
    13/* global _wpThemeSettings, confirm */
    24window.wp = window.wp || {};
    35
  • src/js/_enqueues/wp/updates.js

    diff --git src/js/_enqueues/wp/updates.js src/js/_enqueues/wp/updates.js
    index f9d161f..0f2bb95 100644
     
    22 * Functions for ajaxified updates, deletions and installs inside the WordPress admin.
    33 *
    44 * @version 4.2.0
     5 * @output wp-admin/js/updates.js
    56 */
    67
    78/* global pagenow */
     
    23222323                        $( 'input.wp-filter-search' ).trigger( 'input' );
    23232324                } );
    23242325
    2325                 /** 
    2326                  * Trigger a search event when the "Try Again" button is clicked. 
    2327                  * 
     2326                /**
     2327                 * Trigger a search event when the "Try Again" button is clicked.
     2328                 *
    23282329                 * @since 4.9.0
    2329                  */ 
    2330                 $document.on( 'click', '.try-again', function( event ) { 
    2331                         event.preventDefault(); 
    2332                         $pluginInstallSearch.trigger( 'input' ); 
     2330                 */
     2331                $document.on( 'click', '.try-again', function( event ) {
     2332                        event.preventDefault();
     2333                        $pluginInstallSearch.trigger( 'input' );
    23332334                } );
    23342335
    23352336                /**
  • src/js/_enqueues/wp/util.js

    diff --git src/js/_enqueues/wp/util.js src/js/_enqueues/wp/util.js
    index 6ffa97d..f36a0a6 100644
     
     1/* @output wp-includes/js/wp-util.js */
     2
    13/* global _wpUtilSettings */
    24
    35/** @namespace wp */
  • src/js/_enqueues/wp/utils/word-count.js

    diff --git src/js/_enqueues/wp/utils/word-count.js src/js/_enqueues/wp/utils/word-count.js
    index 711268a..999a42c 100644
     
    44 *
    55 * @namespace wp.utils
    66 * @since     2.6.0
     7 * @output wp-admin/js/word-count.js
    78 */
    89
    910( function() {
  • src/js/_enqueues/wp/widgets/custom-html.js

    diff --git src/js/_enqueues/wp/widgets/custom-html.js src/js/_enqueues/wp/widgets/custom-html.js
    index 5469755..bcda38b 100644
     
     1/* @output wp-admin/js/widgets/custom-html-widgets.js */
     2
    13/* global wp */
    24/* eslint consistent-this: [ "error", "control" ] */
    35/* eslint no-magic-numbers: ["error", { "ignore": [0,1,-1] }] */
  • src/js/_enqueues/wp/widgets/media-audio.js

    diff --git src/js/_enqueues/wp/widgets/media-audio.js src/js/_enqueues/wp/widgets/media-audio.js
    index e3e53c7..e33d3c1 100644
     
     1/* @output wp-admin/js/widgets/media-audio-widget.js */
     2
    13/* eslint consistent-this: [ "error", "control" ] */
    24(function( component ) {
    35        'use strict';
  • src/js/_enqueues/wp/widgets/media-gallery.js

    diff --git src/js/_enqueues/wp/widgets/media-gallery.js src/js/_enqueues/wp/widgets/media-gallery.js
    index e9c5342..2bfc972 100644
     
     1/* @output wp-admin/js/widgets/media-gallery-widget.js */
     2
    13/* eslint consistent-this: [ "error", "control" ] */
    24(function( component ) {
    35        'use strict';
  • src/js/_enqueues/wp/widgets/media-image.js

    diff --git src/js/_enqueues/wp/widgets/media-image.js src/js/_enqueues/wp/widgets/media-image.js
    index eeebd17..4555d1e 100644
     
     1/* @output wp-admin/js/widgets/media-image-widget.js */
     2
    13/* eslint consistent-this: [ "error", "control" ] */
    24(function( component, $ ) {
    35        'use strict';
  • src/js/_enqueues/wp/widgets/media-video.js

    diff --git src/js/_enqueues/wp/widgets/media-video.js src/js/_enqueues/wp/widgets/media-video.js
    index 86ed429..4a415b7 100644
     
     1/* @output wp-admin/js/widgets/media-video-widget.js */
     2
    13/* eslint consistent-this: [ "error", "control" ] */
    24(function( component ) {
    35        'use strict';
  • src/js/_enqueues/wp/widgets/media.js

    diff --git src/js/_enqueues/wp/widgets/media.js src/js/_enqueues/wp/widgets/media.js
    index 07ea42a..6bc770d 100644
     
     1/* @output wp-admin/js/widgets/media-widgets.js */
     2
    13/* eslint consistent-this: [ "error", "control" ] */
    24
    35/**
  • src/js/_enqueues/wp/widgets/text.js

    diff --git src/js/_enqueues/wp/widgets/text.js src/js/_enqueues/wp/widgets/text.js
    index 1c92895..731e9fd 100644
     
     1/* @output wp-admin/js/widgets/text-widgets.js */
     2
    13/* global tinymce, switchEditors */
    24/* eslint consistent-this: [ "error", "control" ] */
    35
  • src/wp-admin/privacy.php

    diff --git src/wp-admin/privacy.php src/wp-admin/privacy.php
    index 9c360dd..991ad72 100644
    if ( ! empty( $action ) ) { 
    2222                $privacy_policy_page_id = isset( $_POST['page_for_privacy_policy'] ) ? (int) $_POST['page_for_privacy_policy'] : 0;
    2323                update_option( 'wp_page_for_privacy_policy', $privacy_policy_page_id );
    2424
    25                 $privacy_page_updated_message = __( 'Privacy policy page updated successfully.' );
    26 
    27                 if ( $privacy_policy_page_id ) {
    28                         /*
    29                          * Don't always link to the menu customizer:
    30                          *
    31                          * - Unpublished pages can't be selected by default.
    32                          * - `WP_Customize_Nav_Menus::__construct()` checks the user's capabilities.
    33                          * - Themes might not "officially" support menus.
    34                          */
    35                         if (
    36                                 'publish' === get_post_status( $privacy_policy_page_id )
    37                                 && current_user_can( 'edit_theme_options' )
    38                                 && current_theme_supports( 'menus' )
    39                         ) {
    40                                 $privacy_page_updated_message = sprintf(
    41                                         /* translators: %s: URL to Customizer -> Menus */
    42                                         __( 'Privacy policy page updated successfully. Remember to <a href="%s">update your menus</a>!' ),
    43                                         esc_url( add_query_arg( 'autofocus[panel]', 'nav_menus', admin_url( 'customize.php' ) ) )
    44                                 );
    45                         }
    46                 }
    47 
    4825                add_settings_error(
    4926                        'page_for_privacy_policy',
    5027                        'page_for_privacy_policy',
    51                         $privacy_page_updated_message,
     28                        sprintf(
     29                                /* translators: %s: URL to Customizer -> Menus */
     30                                __( 'Privacy policy page updated successfully. Remember to <a href="%s">update your menus</a>!' ),
     31                                'customize.php?autofocus[panel]=nav_menus'
     32                        ),
    5233                        'updated'
    5334                );
    5435        } elseif ( 'create-privacy-page' === $action ) {
  • src/wp-includes/script-loader.php

    diff --git src/wp-includes/script-loader.php src/wp-includes/script-loader.php
    index 9e4742b..1242181 100644
    function wp_default_scripts( &$scripts ) { 
    388388                                                'mejs.fullscreen-on'       => __( 'Go Fullscreen' ),
    389389                                                'mejs.download-video'      => __( 'Download Video' ),
    390390                                                'mejs.fullscreen'          => __( 'Fullscreen' ),
     391                                                'mejs.time-jump-forward'   => array( __( 'Jump forward 1 second' ), __( 'Jump forward %1 seconds' ) ),
    391392                                                'mejs.loop'                => __( 'Toggle Loop' ),
    392393                                                'mejs.play'                => __( 'Play' ),
    393394                                                'mejs.pause'               => __( 'Pause' ),
    394395                                                'mejs.close'               => __( 'Close' ),
    395396                                                'mejs.time-slider'         => __( 'Time Slider' ),
    396397                                                'mejs.time-help-text'      => __( 'Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.' ),
     398                                                'mejs.time-skip-back'      => array( __( 'Skip back 1 second' ), __( 'Skip back %1 seconds' ) ),
    397399                                                'mejs.captions-subtitles'  => __( 'Captions/Subtitles' ),
    398400                                                'mejs.captions-chapters'   => __( 'Chapters' ),
    399401                                                'mejs.none'                => __( 'None' ),
    function wp_default_scripts( &$scripts ) { 
    405407                                                'mejs.video-player'        => __( 'Video Player' ),
    406408                                                'mejs.audio-player'        => __( 'Audio Player' ),
    407409                                                'mejs.ad-skip'             => __( 'Skip ad' ),
     410                                                'mejs.ad-skip-info'        => array( __( 'Skip in 1 second' ), __( 'Skip in %1 seconds' ) ),
    408411                                                'mejs.source-chooser'      => __( 'Source Chooser' ),
    409412                                                'mejs.stop'                => __( 'Stop' ),
    410413                                                'mejs.speed-rate'          => __( 'Speed Rate' ),