Make WordPress Core

Ticket #54820: 54820.diff

File 54820.diff, 2.1 KB (added by shreyasikhar26, 3 years ago)

Patch file with the required changes

  • src/wp-includes/class-wp-xmlrpc-server.php

    diff --git a/src/wp-includes/class-wp-xmlrpc-server.php b/src/wp-includes/class-wp-xmlrpc-server.php
    index e031097de8..c952d9dc58 100644
    a b class wp_xmlrpc_server extends IXR_Server { 
    22742274         *     @type int    $blog_id      Blog ID (unused).
    22752275         *     @type string $username     Username.
    22762276         *     @type string $password     Password.
    2277          *     @type string $taxnomy_name Taxonomy name.
     2277         *     @type string $taxonomy_name Taxonomy name.
    22782278         *     @type int    $term_id      Term ID.
    22792279         * }
    22802280         * @return true|IXR_Error True on success, IXR_Error instance on failure.
    class wp_xmlrpc_server extends IXR_Server { 
    23442344         *     @type int    $blog_id  Blog ID (unused).
    23452345         *     @type string $username Username.
    23462346         *     @type string $password Password.
    2347          *     @type string $taxnomy  Taxonomy name.
     2347         *     @type string $taxonomy  Taxonomy name.
    23482348         *     @type string $term_id  Term ID.
    23492349         * }
    23502350         * @return array|IXR_Error IXR_Error on failure, array on success, containing:
    class wp_xmlrpc_server extends IXR_Server { 
    24172417         *     @type int    $blog_id  Blog ID (unused).
    24182418         *     @type string $username Username.
    24192419         *     @type string $password Password.
    2420          *     @type string $taxnomy  Taxonomy name.
     2420         *     @type string $taxonomy  Taxonomy name.
    24212421         *     @type array  $filter   Optional. Modifies the query used to retrieve posts. Accepts 'number',
    24222422         *                            'offset', 'orderby', 'order', 'hide_empty', and 'search'. Default empty array.
    24232423         * }
    class wp_xmlrpc_server extends IXR_Server { 
    25092509         *     @type int    $blog_id  Blog ID (unused).
    25102510         *     @type string $username Username.
    25112511         *     @type string $password Password.
    2512          *     @type string $taxnomy  Taxonomy name.
     2512         *     @type string $taxonomy  Taxonomy name.
    25132513         *     @type array  $fields   Optional. Array of taxonomy fields to limit to in the return.
    25142514         *                            Accepts 'labels', 'cap', 'menu', and 'object_type'.
    25152515         *                            Default empty array.