[wp-trac] [WordPress Trac] #41316: Introduce "Try Gutenberg" callout
WordPress Trac
noreply at wordpress.org
Thu Oct 12 23:21:09 UTC 2017
#41316: Introduce "Try Gutenberg" callout
------------------------------------+-----------------------------
Reporter: melchoyce | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 4.9
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: needs-design has-patch | Focuses: administration
------------------------------------+-----------------------------
Comment (by pento):
Replying to [comment:28 Joen]:
> Latter sounds good — though there appeared to be some logic in the code
that would display three different messages depending on your user rights.
Yep, there are 3 cases:
- If Gutenberg is not installed, ''and'' the user can install plugins,
show the Install Today button.
- If Gutenberg is installed but not activated, ''and'' the user can
install plugins, show the Activate Today button.
- If Gutenberg is installed and activated, ''and'' the user can edit
posts, show the Try Today button.
For any other cases (ie, Gutenberg isn't installed, and the user can't
install plugins; the user can't edit posts), the button is hidden.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41316#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list