Skip to content

useRootPaddingAwareAlignments does not work for users not having edit_theme_options #45573

@christofervas

Description

@christofervas

Description

  • In WordPress 6.1 useRootPaddingAwareAlignments does not work in the block editor for users not having edit_theme_options capability.

Step-by-step reproduction instructions

  1. Set useRootPaddingAwareAlignments to true
  2. Access the block editor with a user not having the edit_theme_options capability

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions