Make WordPress Core

Ticket #43410: 43410.diff

File 43410.diff, 763 bytes (added by thomaswm, 9 years ago)

Patch

  • wp-includes/class-wp-user.php

     
    481481         * Retrieve all of the role capabilities and merge with individual capabilities.
    482482         *
    483483         * All of the capabilities of the roles the user belongs to are merged with
    484          * the users individual roles. This also means that the user can be denied
    485          * specific roles that their role might have, but the specific user isn't
     484         * the user's individual capabilities. This also means that the user can be denied
     485         * specific capabilities that their role might have, but the specific user isn't
    486486         * granted permission to.
    487487         *
    488488         * @since 2.0.0