creativecommons_block() tests whether to display a redundant site license, but creativecommons_link() does not.

please consider adding this behaviour to the node link.

CommentFileSizeAuthor
#1 creativecommons-1049340.patch2.26 KBandrewmacpherson

Comments

andrewmacpherson’s picture

Status: Active » Needs review
StatusFileSize
new2.26 KB

submitting patch...

I factored the comparison logic out to a separate helper function.

kreynen’s picture

Status: Needs review » Postponed (maintainer needs more info)

Do you think most people to who a list a nodes where some have CC icons and others don't assume that nodes missing CC icons inherit the site license?

I think rather than apply this patch, it would make more sense to move this to the theme layer so that you can override it there.