Disable Comments - Version 1.4

Version Description

  • Hide the troublesome "persistent mode" option for all sites where it is not in use. This option will be removed in a future release.
Download this release

Release Info

Developer solarissmoke
Plugin Icon 128x128 Disable Comments
Version 1.4
Comparing to
See all releases

Code changes from version 1.3.2 to 1.4

disable-comments.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Disable Comments
4
  Plugin URI: http://wordpress.org/extend/plugins/disable-comments/
5
  Description: Allows administrators to globally disable comments on their site. Comments can be disabled according to post type.
6
- Version: 1.3.2
7
  Author: Samir Shah
8
  Author URI: http://rayofsolaris.net/
9
  License: GPL2
@@ -59,7 +59,7 @@ class Disable_Comments {
59
  require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
60
  deactivate_plugins( __FILE__ );
61
  if ( isset( $_GET['action'] ) && ( $_GET['action'] == 'activate' || $_GET['action'] == 'error_scrape' ) ) {
62
- exit( sprintf( __( 'Disable Comments requires WordPress version %s or greater.', 'disable-comments' ), '3.5' ) );
63
  }
64
  }
65
  }
3
  Plugin Name: Disable Comments
4
  Plugin URI: http://wordpress.org/extend/plugins/disable-comments/
5
  Description: Allows administrators to globally disable comments on their site. Comments can be disabled according to post type.
6
+ Version: 1.4
7
  Author: Samir Shah
8
  Author URI: http://rayofsolaris.net/
9
  License: GPL2
59
  require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
60
  deactivate_plugins( __FILE__ );
61
  if ( isset( $_GET['action'] ) && ( $_GET['action'] == 'activate' || $_GET['action'] == 'error_scrape' ) ) {
62
+ exit( sprintf( __( 'Disable Comments requires WordPress version %s or greater.', 'disable-comments' ), '3.6' ) );
63
  }
64
  }
65
  }
includes/settings-page.php CHANGED
@@ -71,7 +71,7 @@ if( WP_CACHE )
71
  </li>
72
  </ul>
73
 
74
- <?php if( $persistent_allowed ): ?>
75
  <h2><?php _e( 'Other options', 'disable-comments') ?></h2>
76
  <ul>
77
  <li>
71
  </li>
72
  </ul>
73
 
74
+ <?php if( $persistent_allowed && $this->options['permanent'] ): ?>
75
  <h2><?php _e( 'Other options', 'disable-comments') ?></h2>
76
  <ul>
77
  <li>
languages/disable-comments-fa_ir.mo ADDED
Binary file
languages/disable-comments-fa_ir.po ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2013 Disable Comments
2
+ # This file is distributed under the same license as the Disable Comments package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Disable Comments 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/disable-comments\n"
7
+ "POT-Creation-Date: 2015-02-03 08:04:31+00:00\n"
8
+ "PO-Revision-Date: 2015-09-02 13:00+0430\n"
9
+ "Last-Translator: fxbenard | FxB <fx@fxbenard.com>\n"
10
+ "Language-Team: faraed.com <support@faraed.com>\n"
11
+ "Language: fa_IR\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.8.2\n"
16
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
+ "X-Poedit-SourceCharset: UTF-8\n"
18
+
19
+ #: disable-comments.php:38
20
+ msgid "Disable Comments requires WordPress version %s or greater."
21
+ msgstr "غیر فعال کردن نظرات مورد نیاز وردپرس نسخه %s یا بیشتر."
22
+
23
+ #: disable-comments.php:210
24
+ msgid ""
25
+ "Note: The <em>Disable Comments</em> plugin is currently active, and comments "
26
+ "are completely disabled on: %s. Many of the settings below will not be "
27
+ "applicable for those post types."
28
+ msgstr ""
29
+ "توجه: <em>غیر فعال کردن نظرات </em> پلاگین در حال حاضر فعال است و نظرات و "
30
+ "کاملا بقیه موارد غیر فعال است در: %s. بسیاری از تنظیمات برای انواع پست ها قابل "
31
+ "ارائه است."
32
+
33
+ #: disable-comments.php:210
34
+ msgid ", "
35
+ msgstr ","
36
+
37
+ #: disable-comments.php:230
38
+ msgid ""
39
+ "The <em>Disable Comments</em> plugin is active, but isn't configured to do "
40
+ "anything yet. Visit the <a href=\"%s\">configuration page</a> to choose which "
41
+ "post types to disable comments on."
42
+ msgstr ""
43
+ "افزونه <em>غیر فعال کردن نظرات</em> فعال است، اما هنوز پیکربندی انجام نشده "
44
+ "است. بازدید <a href=\"%s\"> صفحه پیکربندی</a> انواع موارد برای غیر فعال شدن "
45
+ "نظرات را لطفا انتخاب نمایید."
46
+
47
+ #: disable-comments.php:237
48
+ msgid "Comments are closed."
49
+ msgstr "نظرات بسته شده است"
50
+
51
+ #: disable-comments.php:290
52
+ msgid "Settings"
53
+ msgstr "تنظیمات"
54
+
55
+ #. Plugin Name of the plugin/theme
56
+ #: disable-comments.php:298 disable-comments.php:350
57
+ msgid "Disable Comments"
58
+ msgstr "غیر فعال کردن نظرات"
59
+
60
+ #: disable-comments.php:343
61
+ msgid ""
62
+ "If a caching/performance plugin is active, please invalidate its cache to "
63
+ "ensure that changes are reflected immediately."
64
+ msgstr ""
65
+ "اگر پلاگین کش (ذخیره/عملکرد) فعال باشد. لطفا افزونه کش خود را غیر فعال نمایید. "
66
+ "چون در کار افزونه تداخل ایجاد می کند."
67
+
68
+ #: disable-comments.php:344
69
+ msgid ""
70
+ "Options updated. Changes to the Admin Menu and Admin Bar will not appear until "
71
+ "you leave or reload this page."
72
+ msgstr ""
73
+ "قابلیت بروز رسانی . منوی مدیریت و یا نوار مدیریت آن را تغییر دهید تا این پیغام "
74
+ "در این صفحه ظاهر نشود."
75
+
76
+ #: disable-comments.php:353
77
+ msgid ""
78
+ "<em>Disable Comments</em> is Network Activated. The settings below will affect "
79
+ "<strong>all sites</strong> in this network."
80
+ msgstr ""
81
+ "<em>غیر فعال کردن نظرات</em> فعال شبکه است. تنظیمات زیر <strong>همه سایت ها</"
82
+ "strong> در شبکه تاثیر می گذارد."
83
+
84
+ #: disable-comments.php:355
85
+ msgid ""
86
+ "It seems that a caching/performance plugin is active on this site. Please "
87
+ "manually invalidate that plugin's cache after making any changes to the "
88
+ "settings below."
89
+ msgstr ""
90
+ "به نظر می رسد که پلاگین کش (ذخیره/عملکرد) در این سایت فعال است. لطفا تا ذخیره "
91
+ "تنظمیات افزونه کش را غیر فعال نمایید."
92
+
93
+ #: disable-comments.php:359
94
+ msgid "Everywhere"
95
+ msgstr "همه جا"
96
+
97
+ #: disable-comments.php:359
98
+ msgid "Disable all comment-related controls and settings in WordPress."
99
+ msgstr "غیر فعال کردن تمام کنترل های مربوط به نظر و تنظیمات وردپرس."
100
+
101
+ #: disable-comments.php:360
102
+ msgid ""
103
+ "%s: This option is global and will affect your entire site. Use it only if you "
104
+ "want to disable comments <em>everywhere</em>. A complete description of what "
105
+ "this option does is <a href=\"%s\" target=\"_blank\">available here</a>."
106
+ msgstr ""
107
+ "% s: گزینه این همگانی است و تمام سایت خود تاثیر می گذارد. فقط به نظر <em>همه "
108
+ "جا</em> غیر فعال کردن آن استفاده کنید. شرح کامل این گزینه چه <a href=\"%s\" "
109
+ "target=\"_blank\"> در اینجا در دسترس</a> است."
110
+
111
+ #: disable-comments.php:360 disable-comments.php:380 disable-comments.php:382
112
+ #: disable-comments.php:409
113
+ msgid "Warning"
114
+ msgstr "اخطار"
115
+
116
+ #: disable-comments.php:362
117
+ msgid "On certain post types"
118
+ msgstr "در برخی انواع پست ها"
119
+
120
+ #: disable-comments.php:368
121
+ msgid ""
122
+ "Only the built-in post types appear above. If you want to disable comments on "
123
+ "other custom post types on the entire network, you can supply a comma-separated "
124
+ "list of post types below (use the slug that identifies the post type)."
125
+ msgstr ""
126
+ "تنها نوع پست ساخته شده است به نظر بالا می رسد . اگر می خواهید برای غیر فعال "
127
+ "کردن نظر در مورد سایر انواع پست سفارشی در کل شبکه شما می توانید با کاما از هم "
128
+ "جدا کنید لیست از پست انواع زیر (استفاده از مثل حلزون حرکت است که برای شناسایی "
129
+ "نوع پست) عرضه می شود."
130
+
131
+ #: disable-comments.php:371
132
+ msgid ""
133
+ "Disabling comments will also disable trackbacks and pingbacks. All comment-"
134
+ "related fields will also be hidden from the edit/quick-edit screens of the "
135
+ "affected posts. These settings cannot be overridden for individual posts."
136
+ msgstr ""
137
+ "با غیر فعال کردن نظرات نیز بازتاب ها و شکلک ها غیر فعال می شود. همه زمینه های "
138
+ "مربوط به نظر نیز از نمایشگرهای ویرایش/سریع ویرایش پست آسیب دیده پنهان خواهد شد. "
139
+ "این تنظیمات را نمی توان برای فرد خاصی باطل کرد."
140
+
141
+ #: disable-comments.php:374
142
+ msgid "Other options"
143
+ msgstr "تنظیمات دیگر"
144
+
145
+ #: disable-comments.php:379
146
+ msgid "Use persistent mode"
147
+ msgstr "استفاده حالت مداوم "
148
+
149
+ #: disable-comments.php:380
150
+ msgid ""
151
+ "%s: <strong>This will make persistent changes to your database &mdash; comments "
152
+ "will remain closed even if you later disable the plugin!</strong> You should "
153
+ "not use it if you only want to disable comments temporarily. Please <a href=\"%s"
154
+ "\" target=\"_blank\">read the FAQ</a> before selecting this option."
155
+ msgstr ""
156
+ "% s: <strong>این تغییرات مداوم به پایگاه داده خود را &mdash; نظرات باقی خواهد "
157
+ "ماند بسته می شود حتی اگر شما بعد از غیر فعال کردن این افزونه!</strong> اگر "
158
+ "شما فقط می خواهید به نظرات به طور موقت غیر فعال کنید از این نباید استفاده "
159
+ "کرد<a href=\"%s\" target=\"_blank\"> پرسش و پاسخ را بخوانید</a> لطفا قبل از "
160
+ "انتخاب این گزینه."
161
+
162
+ #: disable-comments.php:382
163
+ msgid ""
164
+ "%s: Entering persistent mode on large multi-site networks requires a large "
165
+ "number of database queries and can take a while. Use with caution!"
166
+ msgstr ""
167
+ "% s: ورود حالت مداوم در شبکه های چند سایت بزرگ نیاز به تعداد زیادی از پایگاه "
168
+ "داده نمایش داده شد و مدتی طول می کشد. با احتیاط استفاده کنید!"
169
+
170
+ #: disable-comments.php:388
171
+ msgid "Save Changes"
172
+ msgstr "ذخیره تغییرات"
173
+
174
+ #: disable-comments.php:409
175
+ msgid ""
176
+ "%s: Selecting this option will make persistent changes to your database. Are "
177
+ "you sure you want to enable it?"
178
+ msgstr ""
179
+ "% s: با انتخاب این گزینه قادر به ایجاد تغییرات مداوم در بانک اطلاعاتی شما خواهد "
180
+ "شد. آیا مطمئن هستید که می خواهید آن را فعال کنید؟"
181
+
182
+ #. Plugin URI of the plugin/theme
183
+ msgid "http://wordpress.org/extend/plugins/disable-comments/"
184
+ msgstr "http://wordpress.org/extend/plugins/disable-comments/"
185
+
186
+ #. Description of the plugin/theme
187
+ msgid ""
188
+ "Allows administrators to globally disable comments on their site. Comments can "
189
+ "be disabled according to post type."
190
+ msgstr ""
191
+ "اجازه می دهد تا مدیران به نظرات در سایت خود همگانی را غیر فعال کنند. نظرات را "
192
+ "می توان با توجه به نوع پست خاصی غیر فعال کرد."
193
+
194
+ #. Author of the plugin/theme
195
+ msgid "Samir Shah"
196
+ msgstr "Samir Shah"
197
+
198
+ #. Author URI of the plugin/theme
199
+ msgid "http://rayofsolaris.net/"
200
+ msgstr "http://rayofsolaris.net/"
languages/disable-comments-zh_TW.mo ADDED
Binary file
languages/disable-comments-zh_TW.po ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2015 Disable Comments
2
+ # This file is distributed under the same license as the Disable Comments package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Disable Comments 1.2\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/disable-comments\n"
7
+ "POT-Creation-Date: 2015-08-24 16:23+0800\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2015-08-24 16:45+0800\n"
12
+ "Language-Team: \n"
13
+ "X-Generator: Poedit 1.8.4\n"
14
+ "Last-Translator: Pseric <pserics@gmail.com>\n"
15
+ "Plural-Forms: nplurals=1; plural=0;\n"
16
+ "Language: zh_TW\n"
17
+
18
+ #: disable-comments.php:38
19
+ msgid "Disable Comments requires WordPress version %s or greater."
20
+ msgstr "Disable Comments 只能在 WordPress %s 版或更新版本使用。"
21
+
22
+ #: disable-comments.php:210
23
+ msgid ""
24
+ "Note: The <em>Disable Comments</em> plugin is currently active, and comments "
25
+ "are completely disabled on: %s. Many of the settings below will not be "
26
+ "applicable for those post types."
27
+ msgstr ""
28
+ "注意:<em>Disable Comments</em> 外掛目前啟用,迴響會在 %s 完全停用。下方的諸"
29
+ "多設定將不適用於那些文章類型。"
30
+
31
+ #: disable-comments.php:210
32
+ msgid ", "
33
+ msgstr ", "
34
+
35
+ #: disable-comments.php:230
36
+ msgid ""
37
+ "The <em>Disable Comments</em> plugin is active, but isn't configured to do "
38
+ "anything yet. Visit the <a href=\"%s\">configuration page</a> to choose "
39
+ "which post types to disable comments on."
40
+ msgstr ""
41
+ "<em>Disable Comments</em> 外掛目前啟用,但還沒做任何的設定。前往<a href=\"%s"
42
+ "\">設定頁面</a>來選擇要在那些文章類型停用迴響。"
43
+
44
+ #: disable-comments.php:237
45
+ msgid "Comments are closed."
46
+ msgstr "迴響目前關閉。"
47
+
48
+ #: disable-comments.php:290
49
+ msgid "Settings"
50
+ msgstr "設定"
51
+
52
+ #. Plugin Name of the plugin/theme
53
+ #: disable-comments.php:298 disable-comments.php:350
54
+ msgid "Disable Comments"
55
+ msgstr "Disable Comments"
56
+
57
+ #: disable-comments.php:343
58
+ msgid ""
59
+ "If a caching/performance plugin is active, please invalidate its cache to "
60
+ "ensure that changes are reflected immediately."
61
+ msgstr "如果外取或效能外掛啟用,請讓快取失效,以確保變更會立即反映。"
62
+
63
+ #: disable-comments.php:344
64
+ msgid ""
65
+ "Options updated. Changes to the Admin Menu and Admin Bar will not appear "
66
+ "until you leave or reload this page."
67
+ msgstr ""
68
+ "選項已更新。管理員選單和管理員工具列的變更不會出現,直到你離開或重新整理此頁"
69
+ "面。"
70
+
71
+ #: disable-comments.php:353
72
+ msgid ""
73
+ "<em>Disable Comments</em> is Network Activated. The settings below will "
74
+ "affect <strong>all sites</strong> in this network."
75
+ msgstr ""
76
+ "<em>Disable Comments</em> 已在網誌網路啟用。以下的設定將會影響此網誌網路內的"
77
+ "<strong>所有網站</strong>。"
78
+
79
+ #: disable-comments.php:355
80
+ msgid ""
81
+ "It seems that a caching/performance plugin is active on this site. Please "
82
+ "manually invalidate that plugin's cache after making any changes to the "
83
+ "settings below."
84
+ msgstr ""
85
+ "看來有快取或效能外掛正在此網站上啟用。在變更以下的任何設定後,請手動清除外掛"
86
+ "快取。"
87
+
88
+ #: disable-comments.php:359
89
+ msgid "Everywhere"
90
+ msgstr "全部"
91
+
92
+ #: disable-comments.php:359
93
+ msgid "Disable all comment-related controls and settings in WordPress."
94
+ msgstr "在 WordPress 裡停用所有迴響相關控制及設定。"
95
+
96
+ #: disable-comments.php:360
97
+ msgid ""
98
+ "%s: This option is global and will affect your entire site. Use it only if "
99
+ "you want to disable comments <em>everywhere</em>. A complete description of "
100
+ "what this option does is <a href=\"%s\" target=\"_blank\">available here</a>."
101
+ msgstr ""
102
+ "%s: 這個選像是全域的,會影響你的整個網站。只有當你想<em>完整</em>停用迴響功能"
103
+ "時才使用它。一個關於此功能的完整介紹可以在<a href=\"%s\" target=\"_blank\">這"
104
+ "裡</a>找到。"
105
+
106
+ #: disable-comments.php:360 disable-comments.php:380 disable-comments.php:382
107
+ #: disable-comments.php:409
108
+ msgid "Warning"
109
+ msgstr "警告"
110
+
111
+ #: disable-comments.php:362
112
+ msgid "On certain post types"
113
+ msgstr "在某些文章類型"
114
+
115
+ #: disable-comments.php:368
116
+ msgid ""
117
+ "Only the built-in post types appear above. If you want to disable comments "
118
+ "on other custom post types on the entire network, you can supply a comma-"
119
+ "separated list of post types below (use the slug that identifies the post "
120
+ "type)."
121
+ msgstr ""
122
+ "只有內建的文章類型會顯示於上方。如果你想在其他自訂文章類型停用迴響,你可以在"
123
+ "下方提供類型列表,並以逗號分隔(使用文章類型的名稱)。"
124
+
125
+ #: disable-comments.php:371
126
+ msgid ""
127
+ "Disabling comments will also disable trackbacks and pingbacks. All comment-"
128
+ "related fields will also be hidden from the edit/quick-edit screens of the "
129
+ "affected posts. These settings cannot be overridden for individual posts."
130
+ msgstr ""
131
+ "停用迴響也將停用通告和引用通知。所有迴響相關欄位也將從編輯/快速編輯畫面隱"
132
+ "藏。這些設定無法被個別文章設定覆寫。"
133
+
134
+ #: disable-comments.php:374
135
+ msgid "Other options"
136
+ msgstr "其他選項"
137
+
138
+ #: disable-comments.php:379
139
+ msgid "Use persistent mode"
140
+ msgstr "使用永久模式"
141
+
142
+ #: disable-comments.php:380
143
+ msgid ""
144
+ "%s: <strong>This will make persistent changes to your database &mdash; "
145
+ "comments will remain closed even if you later disable the plugin!</strong> "
146
+ "You should not use it if you only want to disable comments temporarily. "
147
+ "Please <a href=\"%s\" target=\"_blank\">read the FAQ</a> before selecting "
148
+ "this option."
149
+ msgstr ""
150
+ "%s: <strong>這會永久變更你的資料庫 &mdash; 迴響並保持關閉,即便你之後停用外"
151
+ "掛!</strong> 如果你只想暫時停用迴響,你不應該使用這個功能。在選擇此選項前,"
152
+ "請先<a href=\"%s\" target=\"_blank\">閱讀問與答</a>。"
153
+
154
+ #: disable-comments.php:382
155
+ msgid ""
156
+ "%s: Entering persistent mode on large multi-site networks requires a large "
157
+ "number of database queries and can take a while. Use with caution!"
158
+ msgstr ""
159
+ "%s: 在大型網站上進入永久模式會需要大量的資料庫查詢,且可能需要一段時間。請謹"
160
+ "慎使用!"
161
+
162
+ #: disable-comments.php:388
163
+ msgid "Save Changes"
164
+ msgstr "儲存變更"
165
+
166
+ #: disable-comments.php:409
167
+ msgid ""
168
+ "%s: Selecting this option will make persistent changes to your database. Are "
169
+ "you sure you want to enable it?"
170
+ msgstr "%s: 選擇這個選項將會永久變更你的資料庫。你確定要啟用它嗎?"
171
+
172
+ #. Plugin URI of the plugin/theme
173
+ msgid "http://wordpress.org/extend/plugins/disable-comments/"
174
+ msgstr "http://wordpress.org/extend/plugins/disable-comments/"
175
+
176
+ #. Description of the plugin/theme
177
+ msgid ""
178
+ "Allows administrators to globally disable comments on their site. Comments "
179
+ "can be disabled according to post type."
180
+ msgstr "允許管理員在他們網站停用迴響功能。迴響可以依據特定文章類型停用。"
181
+
182
+ #. Author of the plugin/theme
183
+ msgid "Samir Shah"
184
+ msgstr "Samir Shah"
185
+
186
+ #. Author URI of the plugin/theme
187
+ msgid "http://rayofsolaris.net/"
188
+ msgstr "http://rayofsolaris.net/"
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: solarissmoke
3
  Donate link: http://www.rayofsolaris.net/donate/
4
  Tags: comments, disable, global
5
- Requires at least: 3.8
6
- Tested up to: 4.3
7
  Stable tag: trunk
8
 
9
  Allows administrators to globally disable comments on their site. Comments can be disabled according to post type. Multisite friendly.
@@ -24,17 +24,9 @@ A [must-use version](https://github.com/solarissmoke/disable-comments-mu) of the
24
 
25
  == Frequently Asked Questions ==
26
 
27
- = What is "persistent mode"? =
28
-
29
- By default, the plugin does not make any persistent changes to your posts - it just dynamically closes comments on them. This means that you can use the plugin temporarily and restore comment statuses when you disable it. If the plugin works in this mode, then I recommend that you don't use persistent mode.
30
-
31
- Unfortunately some themes do not properly check the comment status of posts, and the plugin in default mode will have no effect with them (comments will still appear to be open). To fix this, switch to persistent mode. Note however that this will make persistent changes: **comments will remain closed even if you later disable the plugin** (you can always reopen them manually, of course).
32
-
33
- **I repeat, using persistent mode will make changes to your database. DO NOT USE IT IF YOU WANT TO DISABLE COMMENTS TEMPORARILY.**
34
-
35
  = Nothing happens after I disable comments on all posts - comment forms still appear when I view my posts. =
36
 
37
- This is because your theme is not checking the comment status of posts in the correct way. The solution is to switch the plugin to persistent mode (the last option on the plugin settings page).
38
 
39
  You may like to point your theme's author to [this explanation](http://rayofsolaris.net/blog/2012/how-to-check-if-comments-are-allowed-in-wordpress) of what they are doing wrong, and how to fix it.
40
 
@@ -52,10 +44,6 @@ Go to the edit page for the post you want to disable comments on. Scroll down to
52
 
53
  You can also bulk-edit the comment status of multiple posts from the [posts screen](http://codex.wordpress.org/Posts_Screen).
54
 
55
- = Why is persistent mode disabled? =
56
-
57
- Someone (probably your site administrator) has chosen to disable this option. See "What is persistent mode?" above.
58
-
59
  == Details ==
60
 
61
  The plugin provides the option to **completely disable the commenting feature in WordPress**. When this option is selected, the following changes are made:
@@ -74,13 +62,15 @@ The plugin provides the option to **completely disable the commenting feature in
74
 
75
  Some of the plugin's behaviour can be modified by site administrators and plugin/theme developers through code:
76
 
77
- * Define `DISABLE_COMMENTS_ALLOW_PERSISTENT_MODE` and set it to `false` to prevent persistent mode from being available as an option on the plugin settings page.
78
- * Define `DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE` and set it to `false` to prevent the plugin the plugin from replacing the theme's comment template with an empty one.
79
 
80
  These definitions can be made either in your main `wp-config.php` or in your theme's `functions.php` file.
81
 
82
  == Changelog ==
83
 
 
 
 
84
  = 1.3.2 =
85
  * Compatibility updates and code refactoring for WordPress 4.3
86
  * Adding a few new translations
2
  Contributors: solarissmoke
3
  Donate link: http://www.rayofsolaris.net/donate/
4
  Tags: comments, disable, global
5
+ Requires at least: 3.9
6
+ Tested up to: 4.5
7
  Stable tag: trunk
8
 
9
  Allows administrators to globally disable comments on their site. Comments can be disabled according to post type. Multisite friendly.
24
 
25
  == Frequently Asked Questions ==
26
 
 
 
 
 
 
 
 
 
27
  = Nothing happens after I disable comments on all posts - comment forms still appear when I view my posts. =
28
 
29
+ This is because your theme is not checking the comment status of posts in the correct way.
30
 
31
  You may like to point your theme's author to [this explanation](http://rayofsolaris.net/blog/2012/how-to-check-if-comments-are-allowed-in-wordpress) of what they are doing wrong, and how to fix it.
32
 
44
 
45
  You can also bulk-edit the comment status of multiple posts from the [posts screen](http://codex.wordpress.org/Posts_Screen).
46
 
 
 
 
 
47
  == Details ==
48
 
49
  The plugin provides the option to **completely disable the commenting feature in WordPress**. When this option is selected, the following changes are made:
62
 
63
  Some of the plugin's behaviour can be modified by site administrators and plugin/theme developers through code:
64
 
65
+ * Define `DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE` and set it to `false` to prevent the plugin from replacing the theme's comment template with an empty one.
 
66
 
67
  These definitions can be made either in your main `wp-config.php` or in your theme's `functions.php` file.
68
 
69
  == Changelog ==
70
 
71
+ = 1.4 =
72
+ * Hide the troublesome "persistent mode" option for all sites where it is not in use. This option will be removed in a future release.
73
+
74
  = 1.3.2 =
75
  * Compatibility updates and code refactoring for WordPress 4.3
76
  * Adding a few new translations