-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathreadme.txt
433 lines (307 loc) · 16.7 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
=== WP-CMS Post Control ===
Contributors: Jonnyauk
Tags: post, page, metabox, autosave, revisions, tags, categories, excerpt, trackbacks, custom fields, discussion, comment, author, upload, slug, featured image, word count, trash
Requires at least: 3.6
Tested up to: 4.5.2
Stable tag: 2.942
License: GPLv2 or later
Hides metabox controls on the write/edit post & page admin screens for each user role. Also controls autosave, trash time and saved revisions.
== Description ==
**Post Control** from <a href="http://wp-cms.com/">WordPress CMS Modifications</a> gives you complete control over your write options **for every user level/role**. It not only allows you to hide unwanted items like custom fields, trackbacks, revisions etc. but also gives you a whole lot more control over how WordPress deals with creating content.
Simplify and customise the write post and page areas of WordPress to show just the controls you need. Great for de-cluttering - do you really need those pingback and trackback options, not using tags, want only administrators to be able to set categories... now you can decide what each individual level of user can see and use!
It also features other advanced configuration options like disable autosaves, limit the number of revisions saved and how many days before trash is auto-emptied by WordPress.
**NEW** - Control number of days before trash is emptied
**NEW** - Remove word count on a per user basis (feature request)
**NEW** - Control exactly how many revisions are saved when you are amending your content or even turn off revisions. This stops your database getting clogged up and is great when you are designing a site!
You can control the display of the following post options for each core WordPress role (administrator, editor, author and contributor):
* Post Author (if multiple)
* Post Categories
* Post Comments
* Post Custom fields
* Post Discussion
* Post Excerpt
* Post Featured Image (NEW WordPress 3.1+ support!)
* Post Format
* Post Revisions
* Post Slug (NEW WordPress 3.1+ support!)
* Post Tags
* Post Trackbacks
* NEW - Word count
You can control the display of the following page options:
* Page Attributes
* Page Author (ONLY if multiple)
* Page Custom Fields
* Page Discussion
* Page Featured Image (NEW WordPress 3.1+ support!)
* Page Slug (NEW WordPress 3.1+ support!)
* Page Revisions
* NEW - Word count
You can control the display of the following global post/page options:
* Limit the number of post and page revisions saved (updated for WordPress 3.6 and above)
* Post/Page Media upload
* Disable Autosave
* Disable Post Revisions (updated for WordPress 3.6 and above)
* NEW - Set the number of days before the trash is auto emptied by WordPress
== Installation ==
= First time install =
You can use the built-in WordPress add plugin system to install Post Control once logged into your site, it's quick and easy!
Simply search for 'WP-CMS Post Control' and you can install it straight from your WordPress admin area.
If you want to manually upload and install:
1. Get the latest version of this plugin at the <a href="http://wordpress.org/extend/plugins/wp-cms-post-control/">official WordPress plugin directory</a>
2. Decompress .zip file, retaining the complete, original file structure
3. Upload the whole directory `wp-cms-post-control` and all containing files to your plugins directory - normally `/wp-content/plugins/`
4. Activate the plugin through the 'Plugins' menu in WordPress
5. Configure options through `Settings > Post Control` and `Settings > Post Control Core`
= Update existing install =
If your server supports it, the automatic plugin update feature of WordPress is the easiest way to keep this plugin updated.
If you are updating via FTP, simply delete the entire folder called `wp-cms-post-control` from your plugins directory and replace with the newest version.
**IMPORTANT** When you upgrade, you may need to go to the options page and re-save your Post Control options to refresh the settings. In most cases everything will be fine, but this will ensure that if there have been any updates to WordPress the plugin will refresh and update the relevant Post Control options.
== Frequently Asked Questions ==
= How do I delete content and not use the trash? =
In plugin version 2.9 a new control was created for setting the number of posts to keep in the trash - if you don't wish to use the trash functionality set this to 0 days.
= I'm using version 2.8 and get a parse error on activation and can't activate the plugin? =
Thanks for reporting - this is due to you having an older version of PHP on your server compared to what I'm testing on. I've made the code backwards compatible in version 2.81, so update and you should be fine!
= I'm using WordPress 3.6 (or above) and revisions controls don't work? =
Update to plugin version 2.7 or above, it has been updated to support new revisions controls.
= I'm using WordPress 3.5x and revisions controls don't work? =
The last version of this plugin to support WordPress 3.5x is v2.6, you should think about upgrading when you can - we are ready for you!
= My Slug and Featured image controls don't do anything? =
Your WordPress theme has to specifically support these features, if they are not enabled the controls won't enable the function. Ask your theme designer to update their theme if required!
= I'm using v2.x - the automatic WordPress update isn't working! =
Please use version 2.4 and above to fix this glitch.
= I'm using v2.2x with WordPress 3.0 - post options work but the page options do nothing! =
2.3 (and above) fixes this glitch in WordPress 3.0 - with the introduction of custom post types things have changed a bit and I have now amended the plugin to accommodate this.
= I'm using v2.2x with WordPress 2.9 (or below) - post options and/or other things don't work! =
2.22 was the last version with WordPRess 2.9 compatibility. If you are using an earlier version of WordPress you really should upgrade - you get lots of cool new stuff and a faster, smarter WordPress!
= I'm using v2.x and I have some error messages appear at the top of the screen. =
2.2 (and above) fixes this glitch - thanks for the feedback!
= I used versions of this plugin prior to v2 and sometimes the controls wouldn't re-appear once deactivated. =
2.0 and above is a complete re-write using a new method to remove the controls. Because of this, these issues are now completely resolved.
= Can you change the options for any user role? =
**YES!** Administrators, editors, authors and contributors can all have different settings.
= Can devious users still reveal the controls if they are hidden using tools like Firebug? =
**NO!** All of the core controls are removed in a completely different way now - not just hidden with CSS. They can't be revealed by hacking the browser rendered CSS, as they are not even rendered to the page anywhere!
= What options get used if I hide a control - like pingbacks and trackbacks? =
The global options you set in the main WordPress options are used.
= How do I delete the option(s) out of my database permanently? =
In v2.1 and above just deactivate the plugin and then delete it using the WordPress plugin page option (not just of your server via FTP!). When the plugin is deleted through WordPress, it also deletes the option(s) from the database options table that are created.
= What happens if I activate/deactivate this plugin? =
In v2.1 the options are set to be persistent - so if you deactivate the plugin and re-enable it, the settings will remain saved. Delete the plugin to delete the saved database options.
= I installed v.2.0 and I dont have autosave and other options =
These are now restored in v2.1 and above. Click on the **core functions** link at the top of the screen, or **Post Control Core** in the sidebar under **Settings** to turn off autosaves, revisions and the Flash uploader.
= It's not working! =
**Make sure you are using the latest version!** V2.0+ is designed for WordPress 2.9 and above. If you are using a version older than that, you will have to use an older version of the plugin - and really should think about upgrading, this plugin is ready for you!
Ensure you have the plugin installed in the correct directory - you should have a directory called **wp-cms-post-control** in your plugins directory. Inside there should be another directory called **inc**.
= What you got planned? =
I've got quite a few things I'd like to do with this plugin, but don't hold your breath waiting for them to happen... you may burst!
= Wow, good work - I LOVE this plugin, and you did it all by yourself? =
What began as inherited code has now been completely re-written in v2.0 to use new methods and best practices in WordPress plugin development by Jonny. The first codebase began as a plugin build by Brady J. Frey and I maintained this version for some time, but version 2 is a complete re-write from the ground up.
== Screenshots ==
1. The first post control admin screen where the main options are set for each user level.
2. The core functions option screen, where more advanced WordPress controls are set.
3. An example of a customised write/edit page - much simpler to use for all your users and clients!
4. An example of a customised write/edit post - much simpler to use for all your users and clients!
== Changelog ==
= 2.942 =
* 22nd May 2016
* Tested and verified upto WordPress 4.5
* Fixed bug with get_currentuserinfo() deprecated since WordPress version 4.5
= 2.941 =
* 22nd May 2016
* Tested and verified upto WordPress 4.5
* Fixed bug with WordPress version supported string
= 2.940 =
* 22nd May 2016
* Tested and verified upto WordPress 4.5
* Fixed bug with get_currentuserinfo() deprecated since WordPress version 4.5
= 2.931 =
* 2nd December 2015
* Tested and verified upto WordPress 4.4
* Fixed issue with post options
= 2.92 =
* 28th April 2015
* REQUIRES WORDPRESS 3.6 OR ABOVE
* Tested and verified with WordPress 4.2.1
* Fixed issue with options array
= 2.91 =
* 11th August 2014
* REQUIRES WORDPRESS 3.6 OR ABOVE
* Tested and verified with WordPress 3.9.1
= 2.9 =
* 5th August 2014
* REQUIRES WORDPRESS 3.6 OR ABOVE
* Tested and verified with WordPress 3.9.1
= 2.82 =
* 24th March 2014
* REQUIRES WORDPRESS 3.6 OR ABOVE
* Tested and verified with WordPress 3.8x
= 2.81 =
* 25th October 2013
* REQUIRES WORDPRESS 3.6 OR ABOVE
* Improve compatibility with older versions of PHP, corrects code error from incompatible code as reported by users.
= 2.8 =
* 22nd October 2013
* REQUIRES WORDPRESS 3.6 OR ABOVE
* New option to remove word count (as per user request)
= 2.7 =
* 25th August 2013
* REQUIRES WORDPRESS 3.6 OR ABOVE
* Code update required to support WordPress 3.6x revisions
= 2.6 =
* 10th July 2013
* REQUIRES WORDPRESS 3.5 OR ABOVE
* Remove legacy Flash uploader option - no longer valid or relevant
* Added new control for comments on page edit screen
* Changed support link to WordPress forum
= 2.5 =
* 10th April 2011
* REQUIRES WORDPRESS 3.1 OR ABOVE
* Create post and page control for custom post thumbnails/featured image meta panel
* Create post and page control for slug meta panel
* Create post control for format meta panel
* Increased number of post revisions available as per user request to 50 (thanks!)
= 2.4 =
* 4th November 2010
* REQUIRES WORDPRESS 3.0 OR ABOVE
* Hopefully fixes update notice issues as reported by users (thanks!)
* Increased number of post revisions available as per user request (thanks!)
= 2.3 =
* 31st July 2010
* REQUIRES WORDPRESS 3.0 OR ABOVE
* Fully tested and compatible with WordPress 3.0 post and page editors
* Fixed another bug with no values set
* Compatibility with WordPress 3.0 page editing
= 2.22 =
* 18th June 2010
* LAST VERSION TO BE COMPATIBLE WITH WORDPRESS 2.9
* WordPress 3.0 first pass compatibility
= 2.21 =
* 16th June 2010
* Tested upto WordPress 3.0-RC3
* Amended roles and capabilities
* Fully prepared and ready for WordPress 3.0 launch, whoot!
= 2.2 =
* 12th June 2010
* Bug that caused error messages when no options selected fixed
* Introduced new revisions number control
= 2.12 =
* 23th March 2010
* Bug that caused error messages fixed
= 2.11 =
* 22th March 2010
* Bug hunt
= 2.1 =
* 22th March 2010
* Added new Core Functions sub-menu page
* Added new disable autosave control
* Added new disable revisions control
* Added new disable flash uploader control
* Added cleanup of options on delete of plugin (not deactivation)
= 2.01 =
* 20th March 2010
* Fixed bug when values empty
* Amended data sanitisation input
= 2.0 =
* 19th March 2010
* Complete re-write of codebase = major efficiency improvements
* New code eliminates all previous reported user issues
* WordPress 2.9.2 compatibility updates
* Introduced multi-user level controls
* New remove media upload control
= 1.2.1 =
* 31st March 2009
* WordPress 2.7 author control
= 1.2 =
* 17th December 2008
* WordPress 2.7 compatibility build, re-write plugin controls to support new 'Crazy Horse' interface
* Fix basic text formatting in custom message box, remove strip slashes to allow basic formatting like <b> and <i>
* Changed option array function for more control
* Changed formatting of plugin options buttons
= 1.11 =
* 6th September 2008
* Option to hide editor sidebar shortcuts and 'Press It' function
* Remove redundant preview code
* Improved formatting for message box text and title input
= 1.1 =
* 5th September 2008
* Found potential conflict with options variables declared within a theme functions file
* Conflicting PHP variables for reference - 'options' and 'newoptions'
* Should solve conflicts with wrongly coded variables from other plugins/themes
= 1.03 =
* 4th September 2008
* Fix the bug introduced in v1.02 that broke the form fields
* After comments feedback, changed and documented admin control
= 1.02 =
* 3rd September 2008
* Bug catches, may help plugin compatibility on different servers
= 1.01 =
* 2nd August 2008
* Option to insert message panel
* General tidying on admin page
= 1.0 =
* 1st August 2008
* Option to disable post and page revisions
* Option to disable autosaves
= 0.4 =
1st August 2008
* Option to select uploader (Flash or standard)
* Option to hide revisions control
* Option to hide word count
* Option to hide Advanced Options header
* Fixed page custom field control
* Redesigned admin page
= 0.3 =
* 28th July 2008
* Introduced Admin user control
= 0.2 =
* 26th July 2008
* Included clean-up of database on de-activation
== Upgrade Notice ==
= 2.942 =
REQUIRES WordPress 3.6 or above, verified working with WordPress v4.5 - fixed bug with get_currentuserinfo() deprecated since WordPress version 4.5.
= 2.941 =
REQUIRES WordPress 3.6 or above, verified working with WordPress v4.5 - fixed bug with get_currentuserinfo() deprecated since WordPress version 4.5.
= 2.940 =
REQUIRES WordPress 3.6 or above, verified working with WordPress v4.5 - fixed bug with get_currentuserinfo() deprecated since WordPress version 4.5.
= 2.931 =
REQUIRES WordPress 3.6 or above, verified working with WordPress v4.4RC1 - important bug fix for post options.
= 2.93 =
REQUIRES WordPress 3.6 or above, verified working with WordPress v4.4RC1 - important bug fix for post options.
= 2.92 =
REQUIRES WordPress 3.6 or above, verified working with WordPress v4.2.x - important fixes for options handling bug.
= 2.91 =
REQUIRES WordPress 3.6 or above, verified working with WordPress v3.9x - introduces new trash control and fixes WordPress plugin update.
= 2.9 =
REQUIRES WordPress 3.6 or above, verified working with WordPress v3.9x - introduces new trash control!
= 2.82 =
REQUIRES WordPress 3.6 or above, verified working with WordPress v3.8x
= 2.81 =
REQUIRES WordPress 3.6 or above, IMPORTANT UPDATE FOR ALL USERS - fixes error on activation on some versions of PHP.
= 2.8 =
REQUIRES WordPress 3.6 or above, new control for word count.
= 2.7 =
REQUIRES WordPress 3.6 or above, fixes revisions controls.
= 2.6 =
REQUIRES WordPress 3.5 or above, new controls and small snag catches.
= 2.5 =
REQUIRES WordPress 3.0 or above, optimised for WordPress 3.1 - Now supports new controls for custom post thumbnail/featured image, post format and slug in WordPress 3.1.
= 2.4 =
REQUIRES WordPress 3.0 or above - please update for various fixes!
= 2.3 =
REQUIRES WordPress 3.0 or above - please update to fix page controls bug!
= 2.22 =
Please upgrade for full WordPress 3.0 compatibility and get the new feature of limiting post revisions!
= 2.21 =
Please upgrade to fix minor bug and get the new feature of limiting post revisions!
= 2.2 =
Please upgrade to fix minor bug and get the new feature of limiting post revisions!
= 2.12 =
Please upgrade for bug fixes!
= 2.11 =
Please upgrade for bug fixes!
= 2.1 =
Please upgrade to get new features!
= 2.01 =
Please upgrade to the latest version with full WordPress 2.9 and above compatibility and to fix previous user issues reported.
= 2.0 =
Please upgrade to the latest version with full WordPress 2.9 and above compatibility and to fix previous user issues reported.