wp_insert_post()
, when setting $post_author
, use isset()
instead of ! empty()
to allow 0
to be passed as the value for $post_author
.
Adds unit tests. Props ericdaams, wonderboymusic. Fixes #32585. git-svn-id: https://develop.svn.wordpress.org/trunk@34085 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
76.7%
CSS
10.9%
JavaScript
9.2%
Modelica
2.4%
HTML
0.6%
Other
0.2%