Auto-Upgrade to 4.2.2 fails because theme functions.php is included instead of wp-includes/functions.php

I am not confident your guess at “being included instead” is accurate. The inclusion of core file is hardcoded in wp-settings.php pretty hard, it would be extremely challenging to subvert under normal circumstances. I have trouble imaging scenario in which functions.php of the theme will be loaded, but add_action() will be unavailable. This simply shouldn’t … Read more

What’s wrong with always being root?

If you’re logged in as root, you can easily wipe directories or do something that in retrospect is really dumb on the system with the flip of a finger, while as a user you normally have to put a few extra mental cycles into what you’re typing before doing something that is dangerous. Also any … Read more

WordPress 4.4.2 Update not working

I had to change the ownership of the directory Current Ownership was username:www-data Changed it to www=data:www-data after this it’s not asking for my ftp password anymore and update is working with just one click Reference https://wordpress.org/support/topic/plugin-install-asks-for-ftp-details

Groups and subgroups for permission

First you need to make group and subgroup. You can use wordpress existing User Role or you can make custom user role (group) by own. Members is a nice plugin to create custom role. For example your main group is “Group1” and subgroup is “Subgroup1”. First you need to check current user role (Group of … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)