Hi @inspectorzebra ,
I just tested this on a clean install – using the default block editor.
And i’m finding that the post is indeed becoming sticky on my side.
Also tested with classic editor and can’t reproduce the error.
Are you saying that this is not being indexed as a stick post when bulk indexed ?
Or that sticky post is being removed when marking post as sticky ?
Can you please confirm that
1. Version of WordPress is 5.9.2
2. Plugin was activated and configured before marking sticky.
yes, I confirm that is a brand new docker installation of wp 5.9.2 with search-with-typesense 1.2.5
The typesense plugin is installed and configured. The problem is not with indexing but with publishing. After installing the plugin if I flag a post as “Stick to the top of the blog” the configuration is not saved by wordpress. If I deactivate the typesense plugin the bug doesn’t persist.
Update:
this seems a wp bug because with the “quick edit” modal post menu I can modify the sticky property.
@inspectorzebra ,
I was able to narrow down the issue.
We had extra code for sticky post – because sticky post is added after post creation. It was not showing up on my initial tests as i had classic editor active and for some reason our sticky post code worked for even the block editor.
But after we switched our hooks from wp_insert_post to wp_after_insert_post this was not longer necessary, we have patched the issue and pushed out version 1.2.6.
Can you please update and verify that it’s working.
Also – thank you for bringing to this our attention.
Thank you @digamberpradhan, just tested and I confirm that everything works. Thank you for the support. Have a nice day.