[cc-commits] [SCM] Integrates CC licensing into media manager and posts (branch master) updated. 0.5-14-g3d04910

git version control git at a7.creativecommons.org
Tue Jul 6 08:51:59 EDT 2010


The branch, master has been updated
       via  3d0491092c79bb8236f16bb04c3e906cb7dc17d5 (commit)
      from  a7e5d76482a7bfb7c2b4278ce16103186d6e456d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3d0491092c79bb8236f16bb04c3e906cb7dc17d5
Author: Nils Dagsson Moskopp <nils at dieweltistgarnichtso.net>
Date:   Tue Jul 6 14:51:01 2010 +0200

    * fixed error that would display no attribution URL

-----------------------------------------------------------------------

Summary of changes (followed by patch):
 wordpress-cc-plugin/wordpress-cc-plugin.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/wordpress-cc-plugin/wordpress-cc-plugin.php b/wordpress-cc-plugin/wordpress-cc-plugin.php
index 0889cfa..7094f3f 100644
--- a/wordpress-cc-plugin/wordpress-cc-plugin.php
+++ b/wordpress-cc-plugin/wordpress-cc-plugin.php
@@ -326,7 +326,7 @@ function cc_wordpress_create_figure($attachment_id, $title) {
 
     // TODO: license version and jurisdiction
     $license = get_post_meta($id, 'cc_license', true);
-    $license_url = $attribution_url = get_post_meta($id, 'cc_license_url', true);
+    $license_url = get_post_meta($id, 'cc_license_url', true);
 
     switch ($license) {
         case "":


hooks/post-receive
-- 
Integrates CC licensing into media manager and posts



More information about the cc-commits mailing list