Bug: Activity log excludes 'subscribers'
-
For several hours I was debugging a problem in which the custom activity I was tracking (page views) would work for guests, but not subscribers. I could see the activity appearing in the raw database, but these visits were not showing up in the activity log.
I fixed the problem by addressing what appears to be a bug in class-awl-activity-log-list-table.php
Change:
$this->_caps = apply_filters( 'aal_init_caps', array( 'administrator' => array( 'administrator', 'editor', 'author', 'guest' ), 'editor' => array( 'editor', 'author', 'guest' ), 'author' => array( 'author', 'guest' ), ) );To:
$this->_caps = apply_filters( 'aal_init_caps', array( 'administrator' => array( 'administrator', 'editor', 'author', 'guest', 'subscriber' ), 'editor' => array( 'editor', 'author', 'guest', 'subscriber' ), 'author' => array( 'author', 'guest' , 'subscriber'), ) );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Bug: Activity log excludes 'subscribers'’ is closed to new replies.