Plugin Directory

Changeset 3101396


Ignore:
Timestamp:
06/11/2024 07:40:31 PM (22 months ago)
Author:
happyprime
Message:

Update to version 1.3.1 from GitHub

Location:
turn-comments-off
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • turn-comments-off/tags/1.3.1/build/index.asset.php

    r2984583 r3101396  
    1 <?php return array('dependencies' => array('wp-blocks', 'wp-dom-ready'), 'version' => '13623f35a22fbab135b9');
     1<?php return array('dependencies' => array('wp-blocks', 'wp-dom-ready'), 'version' => '105d3c0577a1f1b9d0cf');
  • turn-comments-off/tags/1.3.1/build/index.js

    r2984583 r3101396  
    1 !function(){"use strict";var o={n:function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},d:function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:function(o,e){return Object.prototype.hasOwnProperty.call(o,e)}},e=window.wp.blocks,t=window.wp.domReady;o.n(t)()((()=>{["core/comments","core/comments-query-loop","core/comment-author-avatar","core/comment-author-name","core/comment-content","core/comment-date","core/comment-edit-link","core/comment-reply-link","core/comment-template","core/comments-pagination","core/comments-pagination-next","core/comments-pagination-numbers","core/comments-pagination-previous","core/comments-title","core/latest-comments","core/post-comment","core/post-comments-count","core/post-comments-form","core/post-comments-link"].forEach((o=>{void 0!==(0,e.getBlockType)(o)&&(0,e.unregisterBlockType)(o)}))}))}();
     1(()=>{"use strict";var e={n:o=>{var t=o&&o.__esModule?()=>o.default:()=>o;return e.d(t,{a:t}),t},d:(o,t)=>{for(var c in t)e.o(t,c)&&!e.o(o,c)&&Object.defineProperty(o,c,{enumerable:!0,get:t[c]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)};const o=window.wp.blocks,t=window.wp.domReady;e.n(t)()((()=>{["core/comments","core/comments-query-loop","core/comment-author-avatar","core/comment-author-name","core/comment-content","core/comment-date","core/comment-edit-link","core/comment-reply-link","core/comment-template","core/comments-pagination","core/comments-pagination-next","core/comments-pagination-numbers","core/comments-pagination-previous","core/comments-title","core/latest-comments","core/post-comment","core/post-comments-count","core/post-comments-form","core/post-comments-link"].forEach((e=>{void 0!==(0,o.getBlockType)(e)&&(0,o.unregisterBlockType)(e)}))}))})();
  • turn-comments-off/tags/1.3.1/plugin.php

    r2984583 r3101396  
    33 * Plugin Name:  Turn Comments Off
    44 * Description:  Turn comments off everywhere in WordPress.
    5  * Version:      1.3.0
     5 * Version:      1.3.1
    66 * Plugin URI:   https://github.com/happyprime/turn-comments-off/
    77 * Author:       Happy Prime
  • turn-comments-off/tags/1.3.1/readme.txt

    r2984583 r3101396  
    33Tags: comments
    44Requires at least: 5.9
    5 Tested up to: 6.4
    6 Stable tag: 1.3.0
     5Tested up to: 6.5
     6Stable tag: 1.3.1
    77License: GPLv2 or later
    88Requires PHP: 7.4
     
    2828
    2929## Changelog
     30
     31### 1.3.1
     32
     33* No functional changes.
     34* Replace `@wordpress/scripts` dependency with leaner configuration.
     35* Confirm WordPress 6.5 support.
    3036
    3137### 1.3.0
  • turn-comments-off/tags/1.3.1/src/index.js

    r2831413 r3101396  
    33
    44// Unregister comment-related blocks provided by WordPress core.
    5 domReady( () => {
     5domReady(() => {
    66    const blocks = [
    77        'core/comments',
    88        'core/comments-query-loop', // Replaced by core/comments in Gutenberg 13.7.
    9 
    109        'core/comment-author-avatar',
    1110        'core/comment-author-name',
     
    3029    ];
    3130
    32     blocks.forEach( ( block ) => {
    33         if ( undefined !== getBlockType( block ) ) {
    34             unregisterBlockType( block );
     31    blocks.forEach((block) => {
     32        if (undefined !== getBlockType(block)) {
     33            unregisterBlockType(block);
    3534        }
    36     } );
    37 } );
     35    });
     36});
  • turn-comments-off/trunk/build/index.asset.php

    r2984583 r3101396  
    1 <?php return array('dependencies' => array('wp-blocks', 'wp-dom-ready'), 'version' => '13623f35a22fbab135b9');
     1<?php return array('dependencies' => array('wp-blocks', 'wp-dom-ready'), 'version' => '105d3c0577a1f1b9d0cf');
  • turn-comments-off/trunk/build/index.js

    r2984583 r3101396  
    1 !function(){"use strict";var o={n:function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},d:function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:function(o,e){return Object.prototype.hasOwnProperty.call(o,e)}},e=window.wp.blocks,t=window.wp.domReady;o.n(t)()((()=>{["core/comments","core/comments-query-loop","core/comment-author-avatar","core/comment-author-name","core/comment-content","core/comment-date","core/comment-edit-link","core/comment-reply-link","core/comment-template","core/comments-pagination","core/comments-pagination-next","core/comments-pagination-numbers","core/comments-pagination-previous","core/comments-title","core/latest-comments","core/post-comment","core/post-comments-count","core/post-comments-form","core/post-comments-link"].forEach((o=>{void 0!==(0,e.getBlockType)(o)&&(0,e.unregisterBlockType)(o)}))}))}();
     1(()=>{"use strict";var e={n:o=>{var t=o&&o.__esModule?()=>o.default:()=>o;return e.d(t,{a:t}),t},d:(o,t)=>{for(var c in t)e.o(t,c)&&!e.o(o,c)&&Object.defineProperty(o,c,{enumerable:!0,get:t[c]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)};const o=window.wp.blocks,t=window.wp.domReady;e.n(t)()((()=>{["core/comments","core/comments-query-loop","core/comment-author-avatar","core/comment-author-name","core/comment-content","core/comment-date","core/comment-edit-link","core/comment-reply-link","core/comment-template","core/comments-pagination","core/comments-pagination-next","core/comments-pagination-numbers","core/comments-pagination-previous","core/comments-title","core/latest-comments","core/post-comment","core/post-comments-count","core/post-comments-form","core/post-comments-link"].forEach((e=>{void 0!==(0,o.getBlockType)(e)&&(0,o.unregisterBlockType)(e)}))}))})();
  • turn-comments-off/trunk/plugin.php

    r2984583 r3101396  
    33 * Plugin Name:  Turn Comments Off
    44 * Description:  Turn comments off everywhere in WordPress.
    5  * Version:      1.3.0
     5 * Version:      1.3.1
    66 * Plugin URI:   https://github.com/happyprime/turn-comments-off/
    77 * Author:       Happy Prime
  • turn-comments-off/trunk/readme.txt

    r2984583 r3101396  
    33Tags: comments
    44Requires at least: 5.9
    5 Tested up to: 6.4
    6 Stable tag: 1.3.0
     5Tested up to: 6.5
     6Stable tag: 1.3.1
    77License: GPLv2 or later
    88Requires PHP: 7.4
     
    2828
    2929## Changelog
     30
     31### 1.3.1
     32
     33* No functional changes.
     34* Replace `@wordpress/scripts` dependency with leaner configuration.
     35* Confirm WordPress 6.5 support.
    3036
    3137### 1.3.0
  • turn-comments-off/trunk/src/index.js

    r2831413 r3101396  
    33
    44// Unregister comment-related blocks provided by WordPress core.
    5 domReady( () => {
     5domReady(() => {
    66    const blocks = [
    77        'core/comments',
    88        'core/comments-query-loop', // Replaced by core/comments in Gutenberg 13.7.
    9 
    109        'core/comment-author-avatar',
    1110        'core/comment-author-name',
     
    3029    ];
    3130
    32     blocks.forEach( ( block ) => {
    33         if ( undefined !== getBlockType( block ) ) {
    34             unregisterBlockType( block );
     31    blocks.forEach((block) => {
     32        if (undefined !== getBlockType(block)) {
     33            unregisterBlockType(block);
    3534        }
    36     } );
    37 } );
     35    });
     36});
Note: See TracChangeset for help on using the changeset viewer.