WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Administrative Privileges (3 posts)

  1. Luis Marcos Loaiza
    Member
    Posted 4 years ago #

    Hello Everyone, I got runing in my server wordpress 3.0.1, I got this problem hope you can help me solving it.
    I just installed a theme (WhiteHouse), works great, after a few hours editing, decide to log out, and see it without the edit tags in posts or pages.
    Sudenly instead of the log-out function this message appears "Sorry, but you don’t have the administrative privileges needed to do this."
    I can't acces to Index, admin, login, nothing, the same message again and again and again. What could it be? My hosting provider says that's my worpress instalation.

  2. Luis Marcos Loaiza
    Member
    Posted 4 years ago #

    I don't belive that anyone has been trough this.
    Seriusly?

  3. oweninnamibia
    Member
    Posted 4 years ago #

    Issue is something to do with WP_DIE function on line 3 of 'functions_libraray.php' in the Core>Functions directory.

    Change this:

    function checkauthority(){
    if (!current_user_can('edit_themes'))
    wp_die('Sorry, but you don’t have the administrative privileges needed to do this.');
    }

    To this:

    function checkauthority(){
    if (!current_user_can('edit_themes'))
    ;
    }

    ;-)

Topic Closed

This topic has been closed to new replies.

About this Topic