Except Duke never endorsed Trump, the media took his comment that he would vote for Trump as an endorsement in order to embarrass Trump.
http://www.washingtonexaminer.com/david-duke-i-didnt-even-endorse-trump/article/2584575
Voting for a candidate is stronger than a mere vocal or written endorsement.