Updates to latest WordPress version

Fixes for queries and additional things that didn’t work properly.
Merge pull request #1 from avillegasn/master

Updates to latest WordPress version