Changeset 3253802
- Timestamp:
- 03/11/2025 07:15:47 AM (12 months ago)
- Location:
- disable-comments-entire
- Files:
-
- 4 edited
-
tags/1.3/class-disable-entire-comment.php (modified) (3 diffs)
-
tags/1.3/readme.txt (modified) (3 diffs)
-
trunk/class-disable-entire-comment.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
disable-comments-entire/tags/1.3/class-disable-entire-comment.php
r3253793 r3253802 65 65 add_action('admin_menu', function () { 66 66 remove_menu_page('edit-comments.php'); 67 remove_submenu_page('options-general.php', 'options-discussion.php'); 67 68 }); 68 69 … … 97 98 exit; 98 99 } 100 101 if ($pagenow == 'options-discussion.php') { 102 wp_safe_redirect(admin_url()); 103 exit; 104 } 99 105 100 106 // Disable comments metabox from dashboard … … 108 114 } 109 115 } 116 117 update_option('default_ping_status', 'closed'); 118 update_option('default_comment_status', 'closed'); 110 119 } 111 120 -
disable-comments-entire/tags/1.3/readme.txt
r3253794 r3253802 4 4 Requires at least: 5.2 5 5 Tested up to: 6.7.2 6 Stable tag: 1. 26 Stable tag: 1.3 7 7 Requires PHP: 8.0 8 8 License: GPLv3 or later … … 16 16 17 17 Key Features: 18 1. Easy Activation: Get started quickly with no coding required.18 1. Easy Activation: Get started quickly with no coding or settings required. 19 19 2. Site-Wide Control: Disable comments across all posts and pages instantly. 20 20 3. Improved User Experience: Create a more focused environment for your visitors. … … 33 33 = 1.3 = 34 34 Tested up to WordPress 6.7.2 35 Disabled the discussion settings option from the admin settings. 36 Closed the ping status and comment status. 35 37 36 38 = 1.2 = -
disable-comments-entire/trunk/class-disable-entire-comment.php
r3173645 r3253802 65 65 add_action('admin_menu', function () { 66 66 remove_menu_page('edit-comments.php'); 67 remove_submenu_page('options-general.php', 'options-discussion.php'); 67 68 }); 68 69 … … 97 98 exit; 98 99 } 100 101 if ($pagenow == 'options-discussion.php') { 102 wp_safe_redirect(admin_url()); 103 exit; 104 } 99 105 100 106 // Disable comments metabox from dashboard … … 108 114 } 109 115 } 116 117 update_option('default_ping_status', 'closed'); 118 update_option('default_comment_status', 'closed'); 110 119 } 111 120 -
disable-comments-entire/trunk/readme.txt
r3253794 r3253802 4 4 Requires at least: 5.2 5 5 Tested up to: 6.7.2 6 Stable tag: 1. 26 Stable tag: 1.3 7 7 Requires PHP: 8.0 8 8 License: GPLv3 or later … … 16 16 17 17 Key Features: 18 1. Easy Activation: Get started quickly with no coding required.18 1. Easy Activation: Get started quickly with no coding or settings required. 19 19 2. Site-Wide Control: Disable comments across all posts and pages instantly. 20 20 3. Improved User Experience: Create a more focused environment for your visitors. … … 33 33 = 1.3 = 34 34 Tested up to WordPress 6.7.2 35 Disabled the discussion settings option from the admin settings. 36 Closed the ping status and comment status. 35 37 36 38 = 1.2 =
Note: See TracChangeset
for help on using the changeset viewer.