Plugin Directory

Changeset 2367623


Ignore:
Timestamp:
08/24/2020 08:03:41 AM (5 years ago)
Author:
modernplugins
Message:

Fixed compatibility with WordPress 5.5

Location:
modern-admin-comments/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • modern-admin-comments/trunk/js/modern-admin-comments.js

    r2305468 r2367623  
    1212(function ($) {
    1313    if (!window.commentReply) return;
     14    __ = wp.i18n.__;
    1415    window.commentReply.open = function (comment_id, post_id, action) {
    1516        var editRow, rowData, act, replyButton, editHeight,
     
    7475
    7576            if (c.hasClass('unapproved')) {
    76                 replyButton.text(adminCommentsL10n.replyApprove);
     77                replyButton.text(__('Approve and Reply'));
    7778            } else {
    78                 replyButton.text(adminCommentsL10n.reply);
     79                replyButton.text(__('Reply'));
    7980            }
    8081
  • modern-admin-comments/trunk/modern-admin-comments.php

    r2305468 r2367623  
    33 * Plugin Name:   Modern Admin Comments by WPMarmite
    44 * Description:   Enhance your administrator/moderator experience in the comments administration pages with a rich text editor.
    5  * Version:       1.1
     5 * Version:       1.1.1
    66 * Author:        Modern Plugins
    77 * Author URI:    https://modernplugins.com/
     
    5858        if( 'edit-comments' == $screen->base || 'dashboard' == $screen->base ){
    5959            $version = get_plugin_data( __FILE__, false, false )['Version'];
    60             wp_enqueue_script( 'modern-admin-comments', MODERN_ADMIN_COMMENTS_URL . 'js/modern-admin-comments.js' , array( 'wp-tinymce', 'editor', 'jquery' ), $version, true );
     60            wp_enqueue_script( 'modern-admin-comments', MODERN_ADMIN_COMMENTS_URL . 'js/modern-admin-comments.js' , array( 'wp-tinymce', 'editor', 'wp-i18n', 'jquery' ), $version, true );
    6161        }
    6262    }
  • modern-admin-comments/trunk/readme.txt

    r2305468 r2367623  
    44Tags: comments
    55Requires at least: 4.6
    6 Tested up to: 5.4
    7 Stable tag: 1.1
     6Tested up to: 5.5
     7Stable tag: 1.1.1
    88Requires PHP: 5.6
    99License: GPL v3 or later
     
    5454== Changelog ==
    5555
     56= 1.1.1 =
     57* Fixed bug preventing comment reply in WP 5.5.
     58
    5659= 1.1 =
    5760* Added the Ctrl/Cmd + Enter keyboard shortcut to publish a quick reply.
     
    6871== Upgrade Notice ==
    6972
     73= 1.1.1 =
     74* Fixed bug preventing comment reply in WP 5.5.
     75
    7076= 1.1 =
    7177* Added the Ctrl/Cmd + Enter keyboard shortcut to publish a quick reply.
Note: See TracChangeset for help on using the changeset viewer.