fixes #2879
Merge pull request #2883 from digi604/fix-2879

fixes #2879 (publish and unpublish keep language and page_id)