Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links not copied from syndication_log to mf2_syndication in block editor #216

Open
benharri opened this issue Aug 31, 2024 · 0 comments
Open

Comments

@benharri
Copy link

Publishing a post from the block editor sends out the posts correctly but does not update the saved link meta

Publishing via a micropub client like quill or indiepass correctly saves the URLs out of the log into the mf2 field.

Came up with this workaround for now, but I would like to get it to save on its own.

#!/bin/sh
wp post meta get $1 syndication_log --format=json \
| jq -r '[.[] | .data.url?]' \
| wp post meta add $1 mf2_syndication --format=json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant