Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button to set Term Featured Media does not open featured-image box #1224

Closed
benlk opened this issue May 23, 2016 · 13 comments
Closed

Button to set Term Featured Media does not open featured-image box #1224

benlk opened this issue May 23, 2016 · 13 comments
Assignees
Labels
priority: high Either blocks work on a priority-normal task or a solution here informs other work. type: bug

Comments

@benlk
Copy link
Collaborator

benlk commented May 23, 2016

This is on the develop branch, with WordPress 4.5.2.

The button doesn’t work to assign a term banner image. I have tried in chrome and firefox after cleared caches and a restart, Ron has tried in chrome. The button doesn’t seem to want to activate.

This doesn't cause any JavaScript errors.

@benlk benlk added type: bug priority: high Either blocks work on a priority-normal task or a solution here informs other work. labels May 23, 2016
@benlk benlk added this to the 0.5.5 - Story Elements milestone May 23, 2016
@benlk benlk assigned aschweigert and benlk and unassigned aschweigert May 23, 2016
@benlk
Copy link
Collaborator Author

benlk commented May 25, 2016

Can't reproduce this in vagrant or in the staging site for the production instance concerned.

Staging and production are using:

  • the same versions of Largo
  • the same versions of WordPress
  • INN/analytic-bridge
  • Better WordPress Google XML Sitemaps
  • Disqus
  • DoubleClick for WordPress
  • Easy Digital Downloads - Restrict Content Pro Member Discounts
  • Easy Digital Downloads - Stripe Payment Gateway
  • Edit Flow
  • GP Pay Per Word
  • GP Preview Submission
  • GP Word Count
  • Gravity Forms Coupons Add-on
  • Gravity Forms MailChimp Add-On
  • Gravity Forms Stripe Add-On
  • Gravity Perks
  • Link Roundups
  • Redirection
  • Regenerate Thumbnails
  • RNS EDD Customizations
  • RNS Transmissions
  • Simple History 2.5.5 (outdated, current is 2.6)
  • INN/super-cool-ad-inserter-plugin
  • Term Debt Consolidator
  • User Role Editor

Staging is using:

  • Coauthors Plus 3.1.1
  • Easy Digital Downloads 2.5.13
  • Gravity Forms 2.0-beta-2
  • Restrict Content Pro 2.5.2
  • SearchWP

Production is using:

  • Coauthors Plus 3.2.1
  • Easy Digital Downloads 2.5.16
  • Gravity Forms 2.0-rc-1
  • Restrict Content 2.5.4
  • Aksimet

There is a slight display difference between vagrant/staging and production, which appears to be because vagrant/staging is enqueueing /wp-content/themes/largo/css/featured-media.css and production is not?

  • update plugins on staging to match production
  • see if that causes a problem

@benlk
Copy link
Collaborator Author

benlk commented May 25, 2016

Updating plugins on vagrant to match production did not cause this error until after I updated vagrant to WordPress 4.5.2.

Cleared:

  • Akismet (updated, enabled)
  • Restrict Content
  • Coauthors Plus
  • Easy Digital Downloads
  • Gravity Forms

@benlk
Copy link
Collaborator Author

benlk commented May 25, 2016

These aren't enqueued on affected pages:

<link rel="stylesheet" id="largo_featured_media-css" href="http://rns.staging.wpengine.com/wp-content/themes/largo/css/featured-media.min.css?ver=4.4.3" type="text/css" media="all">
<script type="text/javascript" src="http://rns.staging.wpengine.com/wp-content/themes/largo/js/featured-media.min.js?ver=4.4.3"></script>

@benlk
Copy link
Collaborator Author

benlk commented May 25, 2016

This appears to affect all Largo taxonomies in WordPress 4.5.2.

@benlk
Copy link
Collaborator Author

benlk commented May 25, 2016

All term edit screens now use the admin url term.php, which isn't in this array of when to enqueue the relevant scripts and styles: https://github.com/INN/Largo/pull/1010/files#diff-216f6d639b07286f59ca7d39193160f8R342

Since this affects all sites in 0.5.2, I'd like to make the fix in master and then merge master back into develop. @INN/tech-team does course of action make sense?

@benlk
Copy link
Collaborator Author

benlk commented May 25, 2016

#1125 merged.

@jackbrighton
Copy link

Was this bug fix deployed? I can set Featured Media for a taxonomy term on Staging, but not Production.

Mississippi Today just filed a ticket asking if it's possible to add a banner on Category pages, and this would fulfill what they're asking about.

@benlk
Copy link
Collaborator Author

benlk commented May 31, 2016

No, this hasn't been deployed to production yet.

@benlk
Copy link
Collaborator Author

benlk commented May 31, 2016

Production is currently checked out at cdcd8ab, and the only things that have changed between then and now are this PR and a bunch of docs.

@aschweigert
Copy link

let's go ahead and get it deployed. @jackbrighton the styles for this are pretty rough so they'd need to think through what exactly they want and we'd probably need to add some custom styles to support it.

@jackbrighton
Copy link

Here's what a 1170px image looks like on a Category page on MSToday/Staging. Not too bad:

http://mstoday-largoproject-wpengine-com.largoproject.staging.wpengine.com/category/education/

@aschweigert
Copy link

Yeah, the main thing is that many orgs seen to want to use this and put text in the image (or overlay the text on the image) for the category title so it's sort of a case-by-case sort of thing unless we come up with some kind of "standard" approach

@benlk
Copy link
Collaborator Author

benlk commented May 31, 2016

Deployed on production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: high Either blocks work on a priority-normal task or a solution here informs other work. type: bug
Projects
None yet
Development

No branches or pull requests

3 participants