only open wp on initial load of wp#index
Merge pull request #1616 from opf/fix/only_open_wp_on_inital_wp_index