Changes between Initial Version and Version 1 of Ticket #32739
- Timestamp:
- 06/20/2015 08:35:27 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32739
- Property Summary Allow Non-administrators to Access the Customizer (Not Working) → Allow Non-administrators to Access the Customizer
- Property Version 4.2.2 → 4.2
-
Ticket #32739 – Description
initial v1 1 1 The following code added to function file is the stated way to provide access to the customizer for users with "edit_posts" capabilities. 2 2 3 ********************************4 3 4 {{{ 5 5 function allow_users_who_can_edit_posts_to_customize( $caps, $cap, $user_id ) { 6 6 $required_cap = 'edit_posts'; … … 11 11 } 12 12 add_filter( 'map_meta_cap', 'allow_users_who_can_edit_posts_to_customize', 10, 3 ); 13 }}} 13 14 14 ********************************15 15 16 16 The Probblem; Outside of the admin, eligible users are shown the customizer link in the toolbar, but when they click the link they get "Cheating,'uh" accusation rather than the customizer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)