Make WordPress Core

Ticket #48244: 48244.2.patch

File 48244.2.patch, 742 bytes (added by shaharia.azam, 7 years ago)

String is returning correctly. Removed .replace() from plugin.js

  • src/js/_enqueues/vendor/tinymce/plugins/wplink/plugin.js

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    461461                                                        results: function( number ) {
    462462                                                                if ( typeof window.uiAutocompleteL10n !== 'undefined' ) {
    463463                                                                        if ( number > 1 ) {
    464                                                                                 return window.uiAutocompleteL10n.manyResults.replace( '%d', number );
     464                                                                                return window.uiAutocompleteL10n.manyResults;
    465465                                                                        }
    466466
    467467                                                                        return window.uiAutocompleteL10n.oneResult;