Make WordPress Core

Ticket #35080: 35080.diff

File 35080.diff, 516 bytes (added by GunGeekATX, 8 years ago)

Updated documentation in return value

  • src/wp-includes/class-wp-role.php

     
    9292         * @access public
    9393         *
    9494         * @param string $cap Capability name.
    95          * @return bool True, if user has capability. False, if doesn't have capability.
     95         * @return bool True, if role has capability. False, if doesn't have capability.
    9696         */
    9797        public function has_cap( $cap ) {
    9898                /**