missing semicolon
This commit is contained in:
parent
1f372e9641
commit
7c3042f4b0
|
@ -20,7 +20,6 @@ abstract class Repository {
|
|||
add_action('init', array(&$this, 'init_capabilities'), 11);
|
||||
add_filter('tainacan-get-map-'.$this->get_name(), array($this, 'get_default_properties'));
|
||||
|
||||
|
||||
add_filter('map_meta_cap', array($this, 'map_meta_cap'), 10, 4);
|
||||
}
|
||||
|
||||
|
@ -551,7 +550,7 @@ abstract class Repository {
|
|||
if (in_array($user_id, $moderators)) {
|
||||
// if user is moderator, we clear the current caps
|
||||
// (that might fave edit_others_posts) and leave only edit_posts
|
||||
$caps = [$collection_cpt->cap->edit_posts]
|
||||
$caps = [$collection_cpt->cap->edit_posts];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue