WWWebWizard
Forum Replies Created
-
Forum: Plugins
In reply to: [Revision Control] Max Revisions Don't Update When ChangedGave this another test, even deactivated cache and security related plugins to see if any of their settings were in conflict.
This plugin still doesn’t update the revision count after you set it the first time.I have stopped using this plugin in favor of another that has similar functionality.
Good to know it is reported as a bug.. again.. see here
However some of us need a fix for now.For anyone else wanting to manually resolve the issue before the next update, proceed to line 1537 and replace this code:
$id = trim($_POST['cs_id']); $name = trim($_POST['sidebar_name']); $description = trim($_POST['sidebar_description']); $before_widget = trim($_POST['cs_before_widget']); $after_widget = trim($_POST['cs_after_widget']); $before_title = trim($_POST['cs_before_title']); $after_title = trim($_POST['cs_after_title']);
with this code:
$id = stripslashes( trim($_POST['cs_id']) ); $name = stripslashes( trim($_POST['sidebar_name']) ); $description = stripslashes( trim($_POST['sidebar_description']) ); $before_widget = stripslashes( trim($_POST['cs_before_widget']) ); $after_widget = stripslashes( trim($_POST['cs_after_widget']) ); $before_title = stripslashes( trim($_POST['cs_before_title']) ); $after_title = stripslashes( trim($_POST['cs_after_title']) );
As a side request to the editors/authors, please clean up the white space in these code files and make them easier to read! Maybe some comments? lol
WebWizard here, never fear I’m saving you time on your rear!
In response to the errors Jon posted a week ago.
The issue is in the WP Smush.it plugin, don’t be fooled by the error.
In the file wp-smushit.php on lines 105 and 106, a call to register_setting() function is made incorrectly. In the current version (1.6.5) the call looks like this:register_setting( 'media', array( &$this, 'smushit_auto' ) ); register_setting( 'media', array( &$this, 'smushit_timeout' ) );
And it should look like this:
register_setting( 'media', 'wp_smushit_smushit_auto' ); register_setting( 'media', 'wp_smushit_smushit_timeout' );
Making these changes on my own allows me to save the settings on the media settings page without error, and the settings all stick after the page is reloaded.
Hope this tid-bit has helped you all out.
I’m looking forward to seeing this issue fixed in version 1.6.6. ??Peace!