Simplify pattern of wordpress detection