Plugin Directory

Changeset 3012005


Ignore:
Timestamp:
12/19/2023 02:56:27 PM (2 years ago)
Author:
functionsfile
Message:

Fix deprecated ${var} in strings and missing exclusion for the core/comments block

Location:
uncomment
Files:
14 added
3 edited

Legend:

Unmodified
Added
Removed
  • uncomment/trunk/includes/admin.php

    r2784695 r3012005  
    177177    $script = <<<TAG
    178178(function(){
    179     var commentBlockNames = ${comment_block_names};
     179    var commentBlockNames = {$comment_block_names};
    180180    wp.hooks.addFilter('blocks.registerBlockType', 'uncomment/exclude-blocks', function(settings, name) {
    181181        if ( commentBlockNames.indexOf(name) !== -1 ) {
  • uncomment/trunk/includes/helpers.php

    r2724694 r3012005  
    2222        'core/comment-reply-link',
    2323        'core/comment-template',
     24        'core/comments',
    2425        'core/comments-pagination',
    2526        'core/comments-pagination-next',
     
    3334    );
    3435}
    35 
  • uncomment/trunk/readme.txt

    r2994830 r3012005  
    6060== Changelog ==
    6161
     62= 1.2.1 =
     63Release Date: December 19th, 2023
     64
     65- Fix missing exclusion for the core/comments block.
     66- Fix deprecated ${var} in strings. Props @claytoncollie
     67
    6268= 1.2.0 =
    6369Release Date: November 13th, 2023
Note: See TracChangeset for help on using the changeset viewer.