mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 05:25:33 +00:00
When Gutenberg is either not installed, or not activated, only show the callout to users with the `install_plugins` capability. When Gutenberg is activated, expand that to include all users with the `edit_posts` capability. 4.9 branch commit. Props pento. Fixes #44680. Built from https://develop.svn.wordpress.org/branches/4.9@43544 git-svn-id: http://core.svn.wordpress.org/branches/4.9@43373 1a063a9b-81f0-0310-95a4-ce76da25c4cd