title: Call to undefined function get_editable_roles()
body: <p>For some reason, I can't get working the WordPress function get_editable_roles(). Is there a bug with this? <strike>Doesn't mind where I add, in the functions.php, in the index.php, in the top, in the bottom. It always gives the undefined function error.</strike></p>
  
  <p>I added this line of code in Twenty Fifteen theme, in a fresh WordPress install and without any plugin:</p>
  
  <pre><code>$role = get_editable_roles();
  </code></pre>
  
  <p>It give this error:</p>
  
  <blockquote>
    <p>Error: Call to undefined function get_editable_roles()...</p>
  </blockquote>
  
  <p>If I load the user.php file before, then it works:</p>
  
  <pre><code>if (!function_exists('get_editable_roles')) {
     require_once(ABSPATH . '/wp-admin/includes/user.php');
  }
  </code></pre>