#wordpress 2020-05-28

2020-05-28 UTC
[chrisaldrich] joined the channel
#
GWG
[chrisaldrich]: Waiting for you to do a different icon per location post
beko, tantek_, Sonia, chrisaldrich, nickodd, [tw2113], [fluffy], [chrisaldrich], [LewisCowles], [snarfed], [KevinMarks], [itsjustk] and [prtksxna] joined the channel; nickodd left the channel
#
[prtksxna]
GWG: Woot for 4.1.0 ! 🎉
#
[prtksxna]
Did you end up including the icons?
#
[prtksxna]
GWG: Where does syndication links store data? Post meta?
jeremycherfas, gRegorLove, [tantek] and [jgmac1106] joined the channel
#
GWG
Icons are there, but not yet displayed
#
GWG
And yes, in Post Meta
[itsjustk], [KevinMarks], [LewisCowles], [fluffy], [snarfed] and [prtksxna] joined the channel
#
[prtksxna]
Could you walk me through the code a little bit?
#
[prtksxna]
GWG: Also, I am seeing `add_post_meta` only once https://github.com/dshanske/syndication-links/search?q=add_post_meta&unscoped_q=add_post_meta. Are there other ways to add post meta?
[Zegnat] and [tw2113] joined the channel
#
[tw2113]
update_post_meta works without having to have added it originally
#
[tw2113]
pretty sure internally it eventually reaches add_post_meta()
#
[tw2113]
that line in question simply grabs the meta data saved to the current post ID for the “syndicate-to” field
[schmarty] joined the channel
#
[prtksxna]
But doesn’t do anything with it right?
#
[prtksxna]
Thanks [tw2113]
#
[prtksxna]
Ah, I see `update_post_meta( $object->ID, 'mf2_syndication', $urls );.`
#
[tw2113]
ah, good point on that part. Not seeing anything for using that variable
#
[tw2113]
it gets assigned and forgotten
#
[prtksxna]
So `mf2_syndication` holds an array of URLs?
#
GWG
[prtksxna]: Yes
#
GWG
syndicate to is the posse code
#
GWG
Maybe I should docblock the syndication links plugin next
#
GWG
I have some fixes planned
#
GWG
I want to fix a problem I found
gRegorLove, dopplerg-, nickodd, [manton], [jgmac1106], [itsjustk], [chrisaldrich] and [KevinMarks] joined the channel; nickodd left the channel