Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 05e7719

Browse files
authored
Merge pull request #92 from creativecommons/remove-old-options
fix #89 - Completely remove obsolete options and functions
2 parents adb547f + b90b0c3 commit 05e7719

File tree

2 files changed

+4
-331
lines changed

2 files changed

+4
-331
lines changed

includes/class-creativecommons-image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ public function license_block( $att_id, $fallback_title = null ) {
429429
$meta = wp_get_attachment_metadata( $att_id, true );
430430
$credit = get_post_meta( $att_id, 'attribution_name', true );
431431
if ( ( ! $credit )
432-
&& isset( $image_metadata['credit'] )
432+
&& isset( $meta['credit'] )
433433
) {
434434
$credit = $meta['image_meta']['credit'];
435435
}

0 commit comments

Comments
 (0)