[Bug] Popups don’t work
-
I tested trying to add a new popup, but the content field is never saved. After debugging the problem I found the error in the amp_enhancer_pop_up_editor_save_data() function.
The line if( !current_user_can( ‘edit_post’ ) ) should be changed to if( !current_user_can( ‘edit_post’, $post_id ) ).
Hope this helps.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.