dshanske / syndication-links

Add and Display Syndication Links in WordPress
https://wordpress.org/plugins/syndication-links/
GNU General Public License v2.0
30 stars 13 forks source link

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

Open benharri opened 2 months ago

benharri commented 2 months ago

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