WordPress.org

Ready to get started?Download WordPress

Forums

Ultimate Security Checker
Files & folders permission check (2 posts)

  1. santanin
    Member
    Posted 1 year ago #

    Hello,

    As various security plugins suggest, I changed the "wp-content" folder to be something else, and set the permissions to 755. However, I still get a "D" for:

    Files & folders permission check
    Insufficient rights on wp-content folder!
    Insufficient rights on wp-content/themes folder!
    Insufficient rights on wp-content/plugins folder!

    Am I still getting a "D" because your plugin does not understand that I changed the name of the "wp-content" folder and it just cannot find it? Or is there a bug? Or do you know of a way to fix it?

    Thank you!!

    http://wordpress.org/extend/plugins/ultimate-security-checker/

  2. teckyhead
    Member
    Posted 1 year ago #

    The problem appears to be at line 468 of securitycheck.class.php. For some reason this line is returning false:

    if(defined(WP_CONTENT_DIR)){

    It checks to see if there is a WP_CONTENT_DIR define in your wp-config.php. An alternate way to check (which fixed the issue for me) is this:

    if(constant('WP_CONTENT_DIR')!=NULL){

    Altering plugin files is a short term fix though - it will be overwritten with the next update. Hopefully the plugin author will fix the issue before then.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.