mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Reverse logic.
git-svn-id: https://develop.svn.wordpress.org/trunk@4915 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -497,9 +497,8 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
|
||||
// If no parent_id was provided make it empty
|
||||
// so that it will be a top level page (no parent).
|
||||
if(isset($category["parent_id"])) {
|
||||
if ( !isset($category["parent_id"]) )
|
||||
$category["parent_id"] = "";
|
||||
}
|
||||
|
||||
// If no description was provided make it empty.
|
||||
if(empty($category["description"])) {
|
||||
|
||||
Reference in New Issue
Block a user