Merge pull request #912 from rodrigoprimo/undefined-variable

Fix undefined variable in 'wp post edit'