Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #10805


Ignore:
Timestamp:
09/18/2009 08:48:20 AM (15 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10805 – Description

    initial v1  
    55The major downside to this is that the many -currently being developed- themes which still use user levels for adding admin menu's may cause PHP Noices to show up (However, Unless they're running as a dev install, they may not see them) - Which also means, Many theme designers may not see the warnings either, as from my experience, most theme designers dont run with WP_DEBUG turned on either..
    66
    7 I'm attaching a patch to emit a warning:
     7I'm attaching a patch to emit a PHP Notice:
    88{{{
    99Notice: Usage of User Levels by Plugins and Themes is deprecated since version 2.0! Use Roles and Capabilities instead. in C:\www\wordpress\wp-includes\functions.php on line 2942