Closed henrywangnl closed 3 years ago
Can you please explain the change? Thanks in any case!
As I said in the issue comments, the media
is a data frame, so
length(media)
and seq_along(media)
are not what we want. They just look
for the first two images in a post and replace them with WordPress media
URLs.
This PR literally just use !Is.null(media)
and 1: nrow(media)
instead.
Hope it's clear enough.
On Tue, Oct 27, 2020, 6:22 AM Maëlle Salmon notifications@github.com wrote:
Can you please explain the change? Thanks in any case!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/maelle/goodpress/pull/28#issuecomment-716989592, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7BXKHP5JWQCRS54NBACWLSMZKJTANCNFSM4S7WXJFA .
oooh sorry now i got it, good catch!! And so this fixes your issue?
Can you change your role in DESCRIPTION from ctb to aut?
I'll merge tomorrow. Thanks a ton!
oooh sorry now i got it, good catch!! And so this fixes your issue?
Can you change your role in DESCRIPTION from ctb to aut?
I'll merge tomorrow. Thanks a ton!
Yes, the issue is fixed and I changed my role :-) Thanks!
Thanks a ton and well done!
22 fixed the image issue