Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Christian Wach

    (@needle)

    Can you describe your WordPress install in a bit more detail for me?

    Cheers, Christian

    Thread Starter silsbyc

    (@silsbyc)

    We are running WordPress 4.5.2 multisite with CommentPress Core 3.8.9 activated on a per site basis.

    The front end is over HTTP, and the admin panel is over HTTPS. (So I am thinking it might have something to do with calling Add Media from HTTP, but it is handled over HTTPS)

    Not sure when Add Media stopped working, as we only usually launch new CommentPress sites at the semester and this is the first time a class has reported this problem.

    Thanks for any insight.

    Plugin Author Christian Wach

    (@needle)

    The front end is over HTTP, and the admin panel is over HTTPS. (So I am thinking it might have something to do with calling Add Media from HTTP, but it is handled over HTTPS)

    That sounds likely to be the cause of the issue. I’m not aware of a straightforward solution, other than making the front-end HTTPS as well. Not very helpful, I know.

    Does the plugin that enforces HTTPS wp-admin allow contextual overrides (if that’s how it’s being done)?

    Plugin Author Christian Wach

    (@needle)

    Hmm, thinking about this a little more – I can’t quite figure out why there’d be an issue with https content embedded in a http context. Have you checked your console for any error messages?

    Thread Starter silsbyc

    (@silsbyc)

    The HTTP/HTTPS switch is being done through Rewrite Rules on the webserver, not by a plugin. So no contextual overrides.

    I’ve set up a test server to run fully through HTTPS for troubleshooting. And now the “Add Media” button works! (Might also be something to do with upgrading to WP 4.5.3 while doing this)

    Discovered some more data points.

    If accessing HTTPS front-end, then annotators need to be Editors in order to upload media to the annotation. I think this is new behavior, as previous semesters have had Authors leaving image annotations.

    Plugin Author Christian Wach

    (@needle)

    I’ve set up a test server to run fully through HTTPS for troubleshooting. And now the “Add Media” button works!

    Good news!

    If accessing HTTPS front-end, then annotators need to be Editors in order to upload media to the annotation. I think this is new behavior, as previous semesters have had Authors leaving image annotations.

    It ought to be available to users with ‘author’ role. Wouldn’t make much sense in a WordPress publishing context otherwise. I’ll check against bleeding-edge installs and see if I can tease out what’s going on.

    BTW, thanks for the rating!

    Cheers, Christian

    Plugin Author Christian Wach

    (@needle)

    If accessing HTTPS front-end, then annotators need to be Editors in order to upload media to the annotation. I think this is new behavior, as previous semesters have had Authors leaving image annotations.

    I’ve tried to replicate this on a number of installs, both single and multisite and cannot do so. Do you perhaps have another plugin active which modifies the author role? You can check by installing one of the many plugins that reveal the capabilities of each role.

    BTW, thank you! The attempt to replicate the problem did reveal that another plugin of mine – BP Group Sites – was incorrectly overriding the media buttons and quicktags editor on the main site of a BuddyPress multisite install. If you’re not running BP Group Sites, then (obviously) it can be discounted as the cause.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add Media problem’ is closed to new replies.