This commit is contained in:
Hanson.xyz Dev
2026-01-04 17:50:08 -06:00
parent 7e45ce0756
commit acc8ac87a0
4131 changed files with 232562 additions and 250244 deletions
+3 -3
View File
@@ -2345,7 +2345,7 @@ class wp_xmlrpc_server extends IXR_Server {
$result = wp_delete_term( $term_id, $taxonomy->name );
if ( is_wp_error( $result ) ) {
return new IXR_Error( 500, $term->get_error_message() );
return new IXR_Error( 500, $result->get_error_message() );
}
if ( ! $result ) {
@@ -5152,7 +5152,7 @@ class wp_xmlrpc_server extends IXR_Server {
$post_content = xmlrpc_removepostdata( $content );
$post_date = current_time( 'mysql' );
$post_date_gmt = current_time( 'mysql', 1 );
$post_date_gmt = current_time( 'mysql', true );
$post_data = compact(
'post_author',
@@ -6544,7 +6544,7 @@ class wp_xmlrpc_server extends IXR_Server {
/*
* MovableType API functions.
* Specs archive on http://web.archive.org/web/20050220091302/http://www.movabletype.org:80/docs/mtmanual_programmatic.html
* Specs archive on https://web.archive.org/web/20050220091302/http://www.movabletype.org/docs/mtmanual_programmatic.html
*/
/**