mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-27 16:04:31 +00:00
Oops.
git-svn-id: https://develop.svn.wordpress.org/trunk@4027 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -716,6 +716,8 @@ function wp_update_post($postarr = array()) {
|
||||
}
|
||||
|
||||
function wp_publish_post($post_id) {
|
||||
global $wpdb;
|
||||
|
||||
$post = get_post($post_id);
|
||||
|
||||
if ( empty($post) )
|
||||
|
||||
Reference in New Issue
Block a user