Changeset 3101396
- Timestamp:
- 06/11/2024 07:40:31 PM (22 months ago)
- Location:
- turn-comments-off
- Files:
-
- 10 edited
- 1 copied
-
tags/1.3.1 (copied) (copied from turn-comments-off/trunk)
-
tags/1.3.1/build/index.asset.php (modified) (1 diff)
-
tags/1.3.1/build/index.js (modified) (1 diff)
-
tags/1.3.1/plugin.php (modified) (1 diff)
-
tags/1.3.1/readme.txt (modified) (2 diffs)
-
tags/1.3.1/src/index.js (modified) (2 diffs)
-
trunk/build/index.asset.php (modified) (1 diff)
-
trunk/build/index.js (modified) (1 diff)
-
trunk/plugin.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/index.js (modified) (2 diffs)
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' => '1 3623f35a22fbab135b9');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 3 3 * Plugin Name: Turn Comments Off 4 4 * Description: Turn comments off everywhere in WordPress. 5 * Version: 1.3. 05 * Version: 1.3.1 6 6 * Plugin URI: https://github.com/happyprime/turn-comments-off/ 7 7 * Author: Happy Prime -
turn-comments-off/tags/1.3.1/readme.txt
r2984583 r3101396 3 3 Tags: comments 4 4 Requires at least: 5.9 5 Tested up to: 6. 46 Stable tag: 1.3. 05 Tested up to: 6.5 6 Stable tag: 1.3.1 7 7 License: GPLv2 or later 8 8 Requires PHP: 7.4 … … 28 28 29 29 ## 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. 30 36 31 37 ### 1.3.0 -
turn-comments-off/tags/1.3.1/src/index.js
r2831413 r3101396 3 3 4 4 // Unregister comment-related blocks provided by WordPress core. 5 domReady( () => {5 domReady(() => { 6 6 const blocks = [ 7 7 'core/comments', 8 8 'core/comments-query-loop', // Replaced by core/comments in Gutenberg 13.7. 9 10 9 'core/comment-author-avatar', 11 10 'core/comment-author-name', … … 30 29 ]; 31 30 32 blocks.forEach( ( block) => {33 if ( undefined !== getBlockType( block )) {34 unregisterBlockType( block);31 blocks.forEach((block) => { 32 if (undefined !== getBlockType(block)) { 33 unregisterBlockType(block); 35 34 } 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' => '1 3623f35a22fbab135b9');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 3 3 * Plugin Name: Turn Comments Off 4 4 * Description: Turn comments off everywhere in WordPress. 5 * Version: 1.3. 05 * Version: 1.3.1 6 6 * Plugin URI: https://github.com/happyprime/turn-comments-off/ 7 7 * Author: Happy Prime -
turn-comments-off/trunk/readme.txt
r2984583 r3101396 3 3 Tags: comments 4 4 Requires at least: 5.9 5 Tested up to: 6. 46 Stable tag: 1.3. 05 Tested up to: 6.5 6 Stable tag: 1.3.1 7 7 License: GPLv2 or later 8 8 Requires PHP: 7.4 … … 28 28 29 29 ## 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. 30 36 31 37 ### 1.3.0 -
turn-comments-off/trunk/src/index.js
r2831413 r3101396 3 3 4 4 // Unregister comment-related blocks provided by WordPress core. 5 domReady( () => {5 domReady(() => { 6 6 const blocks = [ 7 7 'core/comments', 8 8 'core/comments-query-loop', // Replaced by core/comments in Gutenberg 13.7. 9 10 9 'core/comment-author-avatar', 11 10 'core/comment-author-name', … … 30 29 ]; 31 30 32 blocks.forEach( ( block) => {33 if ( undefined !== getBlockType( block )) {34 unregisterBlockType( block);31 blocks.forEach((block) => { 32 if (undefined !== getBlockType(block)) { 33 unregisterBlockType(block); 35 34 } 36 } );37 } );35 }); 36 });
Note: See TracChangeset
for help on using the changeset viewer.