mirror of
git://develop.git.wordpress.org/
synced 2025-04-05 20:53:07 +02:00
$_POST
array index is set before comparing it in post_preview()
.
This prevents PHP notices in cases where a user with 'edit_others_posts' but without 'publish_posts' previews another user's posts. Props tyxla. Fixes #31760. git-svn-id: https://develop.svn.wordpress.org/trunk@31896 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.6%
CSS
8.8%
JavaScript
8.1%
SCSS
0.8%
HTML
0.7%