Project

General

Profile

Bug #11649

CC license displayed on every page

Added by Gina Cherry over 2 years ago. Updated about 20 hours ago.

Status:
In Progress
Priority name:
Normal
Assignee:
Category name:
WordPress Plugins
Target version:
Start date:
2019-07-18
Due date:
% Done:

0%

Estimated time:

Description

The CC license is unintentionally displayed at the bottom of every page and post on the CETLS web site (in addition to being intentionally displayed in a widget in the footer): https://cetls.bmcc.cuny.edu/. I recently realized that this behavior may be specific to the theme I am using for the site (Canvas). How can I remove the CC license information from the pages and posts?

license-bulk-edit.png (63.2 KB) license-bulk-edit.png Raymond Hoh, 2019-08-13 04:30 AM

History

#1 Updated by Boone Gorges over 2 years ago

  • Assignee set to Raymond Hoh
  • Target version set to 1.15.6

Ray, could you please have a look?

#2 Updated by Raymond Hoh over 2 years ago

  • Category name set to WordPress Plugins
  • Status changed from New to In Progress

Thanks for the report, Gina.

The license that appears at the end of posts or pages is meant to be shown if it differs from the site license displayed in the widget.

From what I've seen on the CELTS site, some pages use a different license, so that's why the license is shown at the end of the page or post. Currently, the site license for the CETLS site is BY-NC, but some pages and posts use BY-NC-SA.

What I'm guessing happened is the site license was BY-NC-SA before and some posts created during this time inherited that license. Sometime afterwards, the site license was changed to BY-NC, but this did not change the existing licenses for previous posts and pages.

At the moment, it isn't possible to bulk-change the licenses from the main Posts or Pages admin dashboard, but I'll add this functionality so site admins can make bulk-license changes to posts based on this use-case. I'll probably also add a blurb to the "Settings > Writing" admin page to explain what happens when changing the site license.

#3 Updated by Raymond Hoh over 2 years ago

While trying to duplicate the differing license issue, I discovered a bug.

The problem is we had some custom code to save the site license that was only meant to run on the frontend's "Group + Site" creation page. However, it ended up that this code was always running in the admin area, which caused the wrong license to be saved for the site license whenever a post is saved -- the site license would inherit whatever the last, saved post license was.

To fix this, I've removed this code:
https://github.com/cuny-academic-commons/cac/commit/14d954ee8c424d75ec083734cf0995ba48ccbcef

And added this functionality directly into our cac-creative-commons plugin:
https://github.com/cuny-academic-commons/cac-creative-commons/commit/6c9df34e6db132954ba49485c01d6848c1d589d0

(Boone, I've updated the ACTION_REQUIRED list because the cac-creative-commons plugin will need an update for the next maintenance release.)

For 1.15.6, I wanted to get the bulk management license feature working on the admin post management screen, but I ran out of time. I'll work on this for the next maintenance release.

#4 Updated by Boone Gorges over 2 years ago

  • Target version changed from 1.15.6 to 1.15.7

#5 Updated by Boone Gorges over 2 years ago

Thanks, Ray!

#6 Updated by Gina Cherry about 2 years ago

Update to this issue. I think the original problem that I reported was also related to whether or not the CC license widget is displayed on the site. When I first noticed the issue, I was not displaying the CC license widget and as a result, the license appeared at the bottom of the main area of every page. When I added the widget in the footer, the CC license still appeared on the main area of pages that used a different license from the site, but appeared only in the footer on other pages.

I just saw this replicated on a site created by a faculty member in our open pedagogy seminar. The CC license was appearing in the main area of every page in her site. When I added the CC widget to the footer, we no longer saw the CC license in the main area of each page, but instead saw it in the footer on each page, which was preferable.

This may be more of a user issue than a bug. When you create a new site, you're prompted to choose a CC license, but it's not clear that there is a CC widget that should be included. I discovered the widget somewhat by accident. Perhaps there could be more explicit instruction for users.

(Sorry if this is not clear - I'm writing with very loud construction noise in the background and it's hard to think straight!)

#7 Updated by Raymond Hoh about 2 years ago

This may be more of a user issue than a bug. When you create a new site, you're prompted to choose a CC license, but it's not clear that there is a CC widget that should be included. I discovered the widget somewhat by accident. Perhaps there could be more explicit instruction for users.

Yes, I think we can do a better job with documentation here, especially with regards to using the CC widget to display the site license and what effect the CC widget plays in displaying the post license.

I'll work on this, and might rope in Scott for help.

For 1.15.6, I wanted to get the bulk management license feature working on the admin post management screen, but I ran out of time. I'll work on this for the next maintenance release.

The bulk management license feature is added for 1.15.7 to account for what I mentioned in comment 2. I've attached a screenshot of how it works.

Code reference: https://github.com/cuny-academic-commons/cac/commit/cf80e116c7e029cb8fcfab81c94a824c03266a39

Boone, this requires a git submodule update during the maintenance release.

#8 Updated by Boone Gorges about 2 years ago

  • Target version changed from 1.15.7 to 1.15.8

#9 Updated by Boone Gorges about 2 years ago

  • Target version changed from 1.15.8 to 1.15.9

#10 Updated by Boone Gorges about 2 years ago

  • Target version changed from 1.15.9 to 1.15.10

#11 Updated by Boone Gorges about 2 years ago

  • Target version changed from 1.15.10 to 1.15.11

#12 Updated by Boone Gorges about 2 years ago

  • Target version changed from 1.15.11 to 1.15.12

#13 Updated by Boone Gorges about 2 years ago

  • Target version changed from 1.15.12 to 1.15.13

#14 Updated by Boone Gorges almost 2 years ago

  • Target version changed from 1.15.13 to 1.15.14

#15 Updated by Boone Gorges almost 2 years ago

  • Target version changed from 1.15.14 to 1.16.1

#16 Updated by Boone Gorges almost 2 years ago

  • Target version changed from 1.16.1 to 1.16.2

#17 Updated by Boone Gorges almost 2 years ago

  • Target version changed from 1.16.2 to 1.16.3

#18 Updated by Boone Gorges almost 2 years ago

  • Target version changed from 1.16.3 to 1.16.4

#19 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.16.4 to 1.16.5

#20 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.16.5 to 1.16.6

#21 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.16.6 to 1.16.7

#22 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.16.7 to 1.16.8

#23 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.16.8 to 1.16.9

#24 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.16.9 to 1.16.10

#25 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.16.10 to 1.16.11

#26 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.16.11 to 1.16.12

#27 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.16.12 to 1.16.13

#28 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.16.13 to 1.16.14

#29 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.16.14 to 1.16.15

#30 Updated by Boone Gorges over 1 year ago

  • Target version changed from 1.16.15 to 1.17.0

#31 Updated by Boone Gorges about 1 year ago

  • Target version changed from 1.17.0 to 1.17.1

#32 Updated by Boone Gorges about 1 year ago

  • Target version changed from 1.17.1 to 1.17.2

#33 Updated by Boone Gorges about 1 year ago

  • Target version changed from 1.17.2 to 1.17.3

#34 Updated by Boone Gorges about 1 year ago

  • Target version changed from 1.17.3 to 1.17.4

#35 Updated by Boone Gorges about 1 year ago

  • Target version changed from 1.17.4 to 1.17.5

#36 Updated by Boone Gorges about 1 year ago

  • Target version changed from 1.17.5 to 1.17.6

#37 Updated by Boone Gorges 12 months ago

  • Target version changed from 1.17.6 to 1.17.7

#38 Updated by Boone Gorges 12 months ago

  • Target version changed from 1.17.7 to 1.17.8

#39 Updated by Boone Gorges 11 months ago

  • Target version changed from 1.17.8 to 1.18.1

#40 Updated by Boone Gorges 10 months ago

  • Target version changed from 1.18.1 to 1.18.2

#41 Updated by Boone Gorges 10 months ago

  • Target version changed from 1.18.2 to 1.18.3

#42 Updated by Boone Gorges 9 months ago

  • Target version changed from 1.18.3 to 1.18.4

#43 Updated by Boone Gorges 9 months ago

  • Target version changed from 1.18.4 to 1.18.5

#44 Updated by Boone Gorges 8 months ago

  • Target version changed from 1.18.5 to 1.18.6

#45 Updated by Boone Gorges 8 months ago

  • Target version changed from 1.18.6 to 1.18.7

#46 Updated by Boone Gorges 7 months ago

  • Target version changed from 1.18.7 to 1.18.8

#47 Updated by Boone Gorges 7 months ago

  • Target version changed from 1.18.8 to 1.18.9

#48 Updated by Boone Gorges 6 months ago

  • Target version changed from 1.18.9 to 1.18.10

#49 Updated by Boone Gorges 6 months ago

  • Target version changed from 1.18.10 to 1.18.11

#50 Updated by Boone Gorges 5 months ago

  • Target version changed from 1.18.11 to 1.18.12

#51 Updated by Boone Gorges 5 months ago

  • Target version changed from 1.18.12 to 1.18.13

#52 Updated by Boone Gorges 4 months ago

  • Target version changed from 1.18.13 to 1.18.14

#53 Updated by Boone Gorges 4 months ago

  • Target version changed from 1.18.14 to 1.18.15

#54 Updated by Boone Gorges 3 months ago

  • Target version changed from 1.18.15 to 1.18.16

#55 Updated by Boone Gorges 3 months ago

  • Target version changed from 1.18.16 to 1.18.17

#56 Updated by Boone Gorges 2 months ago

  • Target version changed from 1.18.17 to 1.18.18

#57 Updated by Boone Gorges about 1 month ago

  • Target version changed from 1.18.18 to 1.18.19

#58 Updated by Boone Gorges 29 days ago

  • Target version changed from 1.18.19 to 1.18.20

#59 Updated by Boone Gorges 15 days ago

  • Target version changed from 1.18.20 to 1.18.21

#60 Updated by Boone Gorges about 20 hours ago

  • Target version changed from 1.18.21 to 1.18.22

Also available in: Atom PDF