Thanks for the information. It seems I should fix it.
Could you let me know when it happens? Because it’s not what I expected, it’s important for me to know how you operate to generate this message.
I use your plugin together with the constant WP_POST_REVISIONS set to 5 in the wp-config.php file:
define( 'WP_POST_REVISIONS', 5 );
The PHP notice pops up only in the admin area when I change something in the menu (like the menu structure or the name of the menu items) in Appearance > Menu admin page. When I save the menu, this notice always pops up.
Well, okay right after I wrote my previous comment I realized there’s not too much sense to use this plugin together with the WP_POST_REVISIONS set to 5. So most likely it’s not a problem for other users.
I will investigate further details. Thanks for the information, anyway.
Thanks & have a nice day.
I get the PHP notice always on post-new.php, before a new post is created.
Thanks for the feedback.
I assume that the location is thin-out-revisions.php:824. But if you have different localtion, please let me know.
And do you have a WP_POST_REVISIONS configuration like Azalea Mollis?
Yes, I was talking about thin-out-revisions.php:824, which is the issue in this thread.
No, I have not WP_POST_REVISIONS configuration. Use the default WordPress revisions configuration.
The line thin-out-revisions.php:824 is:
$post_type_object = get_post_type_object( $parent ? get_post_type($parent) : $_POST['post_type'] );
The notice is triggered because in post-new.php, the index 'post_type' doesn’t exist in $_POST array.
I released a fixed version, 1.8.3. Thanks to all of you.