[wp-trac] [WordPress Trac] #45019: Add a link to configure static home page on Welcome Panel

WordPress Trac noreply at wordpress.org
Tue Oct 2 14:25:03 UTC 2018


#45019: Add a link to configure static home page on Welcome Panel
-------------------------------------------------+-------------------------
 Reporter:  professor44                          |       Owner:
                                                 |  professor44
     Type:  feature request                      |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.0
Component:  Administration                       |     Version:
 Severity:  minor                                |  Resolution:
 Keywords:  has-patch has-screenshots ui-        |     Focuses:  ui,
  feedback needs-refresh                         |  administration
-------------------------------------------------+-------------------------
Changes (by pento):

 * keywords:  has-patch 2nd-opinion has-screenshots dev-feedback ui-feedback
     => has-patch has-screenshots ui-feedback needs-refresh
 * owner:  (none) => professor44
 * version:  trunk =>
 * status:  new => assigned
 * milestone:  Awaiting Review => 5.0


Comment:

 Thank you for the patches, @professor44 and @mukesh27!

 We do need to check whether the current user can use the customizer, and
 we need to check if they're able to change the option in the first place.

 There's an example nearby of how we can do these checks:

 source:/trunk/src/wp-admin/includes/dashboard.php at 43571:1734-1737#L1734

 For this new link, the outer `if` needs to check for the `manage_options`
 permission.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45019#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list