Force Facebook to refresh the cache #414

Closed
michaeltorbert opened this Issue Aug 2, 2016 · 4 comments

Projects

None yet

2 participants

@michaeltorbert
Member
michaeltorbert commented Aug 2, 2016 edited

No description provided.

@michaeltorbert michaeltorbert self-assigned this Aug 2, 2016
@michaeltorbert michaeltorbert added this to the 2.3.11 milestone Oct 12, 2016
@michaeltorbert
Member

Ok this should work for any post type that is enabled for social when a post is updated. Testing should include that a) it works and b) it only works on appropriate post types

@michaeltorbert
Member

Now it also works when the post_status changes to "publish" (ie when a scheduled post goes live). This should be tested as well.

@wpsmort
Member
wpsmort commented Nov 1, 2016

@michaeltorbert I tested this and get a 500 error on post actions including publish, update and delete post. Here's the error from my debug log:

PHP Fatal error: Uncaught Error: Cannot use object of type WP_Post as array in /all-in-one-seo-pack/modules/aioseop_opengraph.php:677

@wpsmort wpsmort assigned michaeltorbert and unassigned wpsmort Nov 1, 2016
@wpsmort
Member
wpsmort commented Nov 2, 2016

This is tested and is good.

@wpsmort wpsmort closed this Nov 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment