I would like to start using the post expiration date function on my date-dependent posts such as job ads etc. However, I don’t want the posts to be deleted – simply put back into draft or pending review format. I can’t find information anywhere about what happens to expired posts. Are you able to help with this?
]]>Great and elegant plugin.
You may have asked this and come up with good reasons not to pursue it, but I wish to open the content_audit taxonomy up to the REST API so I can create a dashboard for my multisite(s) that can display content review statuses of differing content types at a glance.
I can do it within functions.php, most likely, but I wanted to know what your wisdom says on this. Maybe “OMG, no. That would do Bad Things.” or “That could work, but it is out of scope for this plugin.”
Thanks.
Sincerely,
Ken
With Content Audit activated, trying to use WP’s page/post search (Dashboard > Posts or Pages > [search box in upper right]) generates a 404 response. I’m not getting anything in the server error log. I’ve tried with Twenty Fourteen and Twenty Sixteen themes and no other plugins activated.
In case it helps, the URL of the page it generates (and gets a 404) is
https://SERVER/SUBSITE/wp-admin/edit.php?s=test&post_status=all&post_type=page&_wpnonce=8d4f058ac0&_wp_http_referer=%2FSUBSITE%2Fwp-admin%2Fedit.php%3Fpost_type%3Dpage&action=-1&m=0&author=0&content_owner=0&content_audit=0&paged=1&action2=-1
Following the latest update, I see this error:
Notice: Undefined index: content_owner in /wp-content/plugins/content-audit/content-audit-report.php on line 290
When I try to save the Content Audit options page, I get a white screen with these errors:
Notice: Undefined index: display_switch in /wp-content/plugins/content-audit/content-audit-options.php on line 29
Notice: Undefined index: mark_outdated in /wp-content/plugins/content-audit/content-audit-options.php on line 32
Notice: Undefined index: notify in /wp-content/plugins/content-audit/content-audit-options.php on line 35
Notice: Undefined index: notify_now in /wp-content/plugins/content-audit/content-audit-options.php on line 38
Notice: Undefined index: notify_authors in /wp-content/plugins/content-audit/content-audit-options.php on line 41
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/content-audit/content-audit-options.php:29) in /wp-includes/pluggable.php on line 1210
I haven’t been able to test without other plugins or a different theme yet, but I can if that would help with troubleshooting. Love the plugin!
]]>Love the plugin. Don’t love that the content audit statuses are publicly visible in the article class of each post. Is there no way to keep the content audit statuses visible to logged in users only? Until then, I’m deactivating the plugin.
Thank you.
]]>I’m using custom roles and have found that the checkbox for any custom role with a space in the name does not save on the admin options screen.
]]>I had this plugin installed previously and it was randomly deleting pages… can you tell me if this was a common issue and if it has been resolved or why it would happen? I don’t currently have it installed but this is exactly what I need on our site. Thanks!
]]>Hi Stephanie,
I’ve been getting some deprecated call notices with wp-debug on. Wasn’t sure where they were coming from at first, then found this plugin to help identify them. It looks like the source is from the content audit plugin. Not critical, just annoying.
Thanks!
https://www.ads-software.com/plugins/log-deprecated-notices/screenshots/
Function: get_currentuserinfo()
Used in wp-content/plugins/content-audit/content-audit-fields.php on line 148.
Mute | Delete
Edit | Quick Edit | Trash
Use wp_get_current_user() instead.
Deprecated in version 4.5.
13 2016/05/26 7:03:34 AM
Select Function: get_currentuserinfo()
Function: get_currentuserinfo()
Used in wp-content/plugins/content-audit/content-audit-fields.php on line 169.
Mute | Delete
Edit | Quick Edit | Trash
Use wp_get_current_user() instead.
Deprecated in version 4.5.
13 2016/05/26 7:03:34 AM
Select Function: get_currentuserinfo()
Function: get_currentuserinfo()
Used in wp-content/plugins/content-audit/content-audit-report.php on line 55.
Mute | Delete
Edit | Quick Edit | Trash
Use wp_get_current_user() instead.
Deprecated in version 4.5.
13 2016/05/26 7:03:34 AM
I’ve added the plugin to GitHub: https://github.com/sillybean/content-audit
Patches and pull requests are welcome!
]]>Using Content Audit v1.8, when I try to delete Fields in the Content Audit attributes edit screen, it warns me that I’m about to delete the checked fields, then actually replicates the same field. I currently have 3,888 copies of the field “outdated” in my database. I’d edit it manually but don’t know where these are stored in the database. That information would be helpful if this bug can’t be taken care of soon.
Thx!
]]>Hello Stephanie,
we are using WP 4.4.2 and it seems that there is a bug in CSV export. We checked one page as “outdated” but everything bellow that line in CSV has also status “outdated” even if they had set nothing. So first few rows are fine, but since outdated row it is the same. See example:
Page 1
Page 2
Page 3
Page 4
Page 5 outdated (not correct, should be empty)
Page 6 outdated (not correct, should be empty)
Page 7 outdated (not correct, should be empty)
Page 8 outdated (not correct, should be empty)
Page 9 outdated (not correct, should be empty)
Would you be able to look into it?
Many thanks,
Radek @ Moove
Hello Stephanie,
we are testing your plugin and it seems that email notifications not working. We are using WP 4.4.2 and have options “Notify content owners of outdated content” and “Send notifications now” enabled, but nothing happens – no emails sent.
Would you be able too look into it?
Many thanks,
Radek @ Moove
Has anything changed with the ability to add multiple content owners? I can’t seem to get this to work with the newest version of the plugin.
]]>I really like the functionality the Content Audit plugin provides and how it works. I’m using Content Audit in a WP 4.4 Multisite install. However, I’m finding that the permissions are not set up for what I need. The plugin code has certain features restricted to the boss (Admin or Network Admin) which is based on checking the manage_options capability or is_super_admin() built in to WordPress. The restricted functionality would be useful for many of my users, not just admins. Instead of relying on manage_options or is_super_admin(), could the plugin create its own custom capability and add the custom capability to the Administrator role? It would then be possible to add the Content Audit capabilities to any user role (for example, by using the Members plugin).
]]>I’m trying to test this plugin a bit, and I’ve come across a bit of an issue.
Within the admin area, when editing a piece of content, the “Content Audit Notes” meta box is empty, no matter what I do.
Looking at the code, there are a few reasons for this:
1) The plugin is testing entirely based on the user’s role. In a multisite installation, Super/Network Admins may not have an explicit role on an individual site (or may have the default user role of “Subscriber”), but they should still have access to the notes.
2) The code that attempts to grab the user’s role is assuming that the array of roles will be 0-indexed. In my case, for whatever reason, the roles
array consisted of one element with a key of 12
, rather than a key of 0
. Therefore, trying to grab $current_user->roles[0]
was returning nothing.
I would recommend the following changes to the content_audit_notes_meta_box()
function:
$role = $current_user->roles[0];
Should be changed to:
$role = is_array( $current_user->roles ) ? array_shift( $current_user->roles ) : '';
And:
if ( in_array( $role, $allowed ) )
Should probably be changed to something like:
if ( ( is_multisite() && is_super_admin() ) || in_array( $role, $allowed ) )
Based on a very cursory search, it looks like similar changes should be made to the content_audit_taxonomies()
, content_audit_boxes()
, content_audit_owner_meta_box()
, content_audit_exp_date_meta_box()
, save_content_audit_meta_data()
and content_audit_quickedit()
functions, as well. Thanks.
We have had great success activating the plugin on a site-by-site basis.
However, we network activated the plugin and found that the setting for the Users allowed to audit would not work.
We deactivated it on the network level and then tried activating individual sites, but the problems persist. We tried deleting the plugin, but it appears that the data does not get wiped out, so when we reinstalled the plugin, we see the same problem.
We REALLY like this plugin and want to remove the old files and data and start over. Suggestions on how we can do that would be greatly appreciated!
(Network activating appears to insert a variable that isn’t recognized correctly (User Role). The user settings are not saved, only one category is created and the audit information appears on the front end for anyone, logged in or not.)
Many thanks.
]]>Hi,
I posted about Japanese files and an i18n patch a while ago:
https://www.ads-software.com/support/topic/i18n-fixes-and-japanese-translation?replies=1
I’ve updated the lang files again, and they are available for anyone to use ??
https://github.com/naokomc/wpjapomo/tree/master/plugins/content-audit/languages
Google Analytics data is no longer showing as oAuth 1.0 has been depreciated by Google.
I realize that the Google Analytics Dashboard plugin was developed by others, however since you reference it and since it adds value to your Content Audit plug-in, I was hoping that you had some way to get them to update it to support Google oAuth 2.0. There have been many requests on their support forum with no answer for several months now.
]]>Selecting multiple user roles in the content audit settings under “Users allowed to audit” does not save for custom user roles.
We’ve created a number of customized user roles using the WPFront User Role Editor plugin. Built in user-types save fine, but the custom roles can not be assigned to audit using the Content Audit settings page. Do you know of a work around or why this would be occurring?
]]>Hi –
I’m seeing a few PHP Notices being thrown by the plugin when not logged in and debug is enabled:
Notice: Undefined offset: 0 in /xxxx – xxxx/wp-content/plugins/content-audit/content-audit-report.php on line 329
Notice: Undefined offset: 0 in /xxxx – xxxx/wp-content/plugins/content-audit/content-audit-report.php on line 364
Not a major deal, but just thought I’d bring it to your attention, it’s a little annoying when testing.
]]>I have one particular page that simply will not maintain the amended status. I change it, save, and next time I log in, it’s back as outdated again. What field is the plugin using so that I can go delete from the database?
Thanks
Using Custom Post Widget plugin for Content Blocks. With Content Blocks deselected for the Audited content types in Content Audit Options, when Front end display is enabled, the Content Audit info displays with the Content Block widgets.
If not audited, why do they display? Is this a limitation of Content Audit or a problem with the Custom Post Widget plugin?
]]>Expiration date is not saved for media items. The feature appears to work fine for other content types. Could you please look into this?
]]>Love the plugin, but I do get a few PHP notices, like the following:
PHP Notice: Undefined index: post_type
in line 271 and 276 of content-audit-fields.php. They’re just notices, but it might be nice not to have them generated at all, if possible.
Thanks!
]]>I’ve been informed by a couple of my editors that they cannot update the content status of their pages: the status options appear grey, unavailable, in spite of the setting checked to allow status-editing for Administrators and Editors.
I am a Super Admin and it seems I’m the only one able to change a Content Status.
Hi!
This plugin seems to be exactly what I need. Very promising!
I′ve installed it on a test-site whitin a multi-site installation, and it seems to do what I expect (sending notifications and so on), but when a content once has been outdated – reviewed and updated, and the next period of time has expired ( in my test 1 day), then nothing happens. The content is not atomatically set to outdated a second time.
Is that the way the plugin should behave, or am I missing something here?
Will there ever be the ability to assign multiple content owners to a page for notification? Is there already a way to do this and I am just not seeing it?
]]>Hey, everyone. I’ve been working on the annoying problem of the inaccurate post totals on the edit term screens. Previously, I was just using WP’s built-in post count update function, but (as many of you discovered when auditing multiple post types), it’s cumulative. This could lead you to believe you had 5 outdated pages, and you’d click the link to the page list and get an empty list… when it turned out all 5 outdated things were in fact posts.
I’m uploading version 1.6 now. This version does two things:
Content Audit Attributes are now available to edit under all the post types you’re auditing, not just pages.
The post counts under each post type are limited to that post type. If you have 3 outdated pages and 1 post:
I hope this makes more sense than the previous versions! Please comment here if you have any problems with the counts.
]]>Hi Stephanie!
I was looking your plugin… it would be to difficult to implement a feature on it… to allow editors to vote for articles to be published?
I mean, for example… it is needed a setting where you set the % of OK votes to reach, when certain article reach that level it is published (using the date of that moment, not the date when it was created)
So… if you have 10 editors/contributors, you set 60%… six of them have to vote OK on certain article, and that article gets published…
And maybe a comment box, to leave a message when they vote… so they can communicate between them… that is insteresting when voting NO, so the author article can fix things, add more content, etc…
And maybe a way so authors can request a “re-vote”, after editing the article…
You know, a way to manage a collaborative blog, or something like that… using a mix of wordpress with an internal reddit
Best regards!
Luciano
I recently started using this plugin for a project and have discovered that something does not add up …
at the top of the content audit section there are summary boxes, but when I click on ti to go down and review the figures displayed in the break down sections to not add up …
Thanks for any help on this!
Michael
]]>