Coder Social home page Coder Social logo

Comments (3)

ethanosullivan avatar ethanosullivan commented on July 20, 2024

Hi @elosha, thanks for addressing this. I'll try to replicate this on my end to see if the same happens to me. Do you run any other plugins that change comments or Gravatar? I want to make sure you're not running any plugins that are conflicting with Disable Blogging.

from disable-blogging.

elosha avatar elosha commented on July 20, 2024

Thanks! I used WP-Disable before but that has shown the same issues (on multiple installs) and started to get bloated. Therefore I swapped it for your plug-in, which is way cleaner. 💯 I've got no other plug-ins installed that are related to avatars/blogging.

from disable-blogging.

joshuadavidnelson avatar joshuadavidnelson commented on July 20, 2024

I tried to replicate this connection to the comment settings and avatar settings without success, but caught this other Disable Blogging option that might be the source.

It appears the logic in the plugin is if the "Avatar Display" option (under the "Profile" tab in Settings > Blogging) is checked, it sets the Discussion settings for "Show avatars" to 0 (unchecked, toggling off Gravatars). However, if you uncheck the Disable Blogging "Avatar Display" settings, it will also set the Discussion setting to 1 (toggling Gravatars back on).

This essentially means that the setting in Discussions cannot be un/set while Disable Blogging is active if there are options selected in the about_yourself section of Blogging settings page (see this code).

I don't think that's a great user experience and since there is already a core option in the Discussion settings, I would propose we either remove the "Avatar Display" option from Disable Blogging entirely - or, perhaps, only showing the option & performing this logic when comments are disabled (and the Discussion settings are unavailable). If my assessment of the issue makes sense, I'd be happy to put a PR together.

from disable-blogging.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.