title: current_user_can with custom role and capanbility always false
body: <p>I've created a custom role &quot;Expert&quot; and added a custom capability to this role: &quot;manage_zoom_meetings&quot;.</p>
  <p>If I try to check if the current user has the capability, the function <code>current_user_can('manage_zoom_meetings')</code> returns <code>false</code>.</p>
  <p>I've tested this code to check if the role is maybe not existing for the function current_user_can.</p>
  <pre><code>add_filter( 'user_has_cap', function ( $allcaps, $caps, $args, $user ) {
     wp_die( var_export( get_role( 'expert' )-&gt;capabilities, true ) );
     return $allcaps;
  }, PHP_INT_MAX, 4 );
  </code></pre>
  <p>The output looks like this:</p>
  <pre><code>array ( 'level_0' =&gt; true, 'manage_zoom_meetings' =&gt; true, 'read' =&gt; true, )
  </code></pre>
  <p>I don't understand what is wrong here.</p>
  <p>The problem is, that I'm not able to add this capability to an admin menu item (<code>add_menu_page()</code>) or to a custom post type.</p>