GithubHelp home page GithubHelp logo

Comments (5)

t-hamano avatar t-hamano commented on September 24, 2024

Hi @rohitmathur-7,

Thanks for the report.

I think the underlying issue is that we can't get user data for a super admin via the REST API if the super admin doesn't exist as a user in the subsite.

So I proposed a change in the core: https://core.trac.wordpress.org/ticket/61444

from gutenberg.

rohitmathur-7 avatar rohitmathur-7 commented on September 24, 2024

Hi @t-hamano ,
I also thought of this approach only first,
But is there a particular reason why we don't get user data for super admins via the REST API in the first place?

from gutenberg.

t-hamano avatar t-hamano commented on September 24, 2024

But is there a particular reason why we don't get user data for super admins via the REST API in the first place?

I don't know if this is intentional or a bug, please see the core ticket for more details.

from gutenberg.

github-actions avatar github-actions commented on September 24, 2024

Hi,
This issue has gone 30 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps.
Thanks for helping out.

from gutenberg.

t-hamano avatar t-hamano commented on September 24, 2024

Sorry for the late reply.

#64165 now shows (No author) as a fallback when the post author does not exist. This also applies if there is no super admin for that subsite.

Ideally, the author dropdown should include super admin even if there are no super admin for that subsite. However, as this comment says, there is an issue with the REST API where super admin cannot be retrieved.

Therefore, I think some kind of workaround on the core side will be needed to fundamentally solve this issue.

from gutenberg.

Related Issues (20)

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.