• Resolved Birmania

    (@birmania)


    Hi,

    Currently, even if user have the right “read_private_ai1ec_events”, he cannot see any of them.

    If you want to fix this, you must replace at :

    Line 761 : all-in-one-event-calenda/app/model/search.php

    From :

    // Query the correct post status
    if (
    current_user_can( ‘administrator’ ) ||
    current_user_can( ‘editor’ )
    ) {

    To :

    // Query the correct post status
    if (
    current_user_can( ‘administrator’ ) ||
    current_user_can( ‘editor’ ) ||
    current_user_can( ‘read_private_ai1ec_events’ )
    ) {

    Yours faithfully,
    Birmania

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bugfix : read_private_ai1ec_events do nothing’ is closed to new replies.