Ticket #38529: 38529.2.diff
File 38529.2.diff, 2.5 KB (added by , 7 years ago) |
---|
-
src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
1132 1132 'description' => __( 'The content for the object.' ), 1133 1133 'type' => 'object', 1134 1134 'context' => array( 'view', 'edit', 'embed' ), 1135 'arg_options' => array( 1136 'sanitize_callback' => null, // Note: sanitization implemented in self::prepare_item_for_database() 1137 ), 1135 1138 'properties' => array( 1136 1139 'raw' => array( 1137 1140 'description' => __( 'Content for the object, as it exists in the database.' ), -
src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
1813 1813 'description' => __( 'The title for the object.' ), 1814 1814 'type' => 'object', 1815 1815 'context' => array( 'view', 'edit', 'embed' ), 1816 'arg_options' => array( 1817 'sanitize_callback' => null, // Note: sanitization implemented in self::prepare_item_for_database() 1818 ), 1816 1819 'properties' => array( 1817 1820 'raw' => array( 1818 1821 'description' => __( 'Title for the object, as it exists in the database.' ), … … 1834 1837 'description' => __( 'The content for the object.' ), 1835 1838 'type' => 'object', 1836 1839 'context' => array( 'view', 'edit' ), 1840 'arg_options' => array( 1841 'sanitize_callback' => null, // Note: sanitization implemented in self::prepare_item_for_database() 1842 ), 1837 1843 'properties' => array( 1838 1844 'raw' => array( 1839 1845 'description' => __( 'Content for the object, as it exists in the database.' ), … … 1869 1875 'description' => __( 'The excerpt for the object.' ), 1870 1876 'type' => 'object', 1871 1877 'context' => array( 'view', 'edit', 'embed' ), 1878 'arg_options' => array( 1879 'sanitize_callback' => null, // Note: sanitization implemented in self::prepare_item_for_database() 1880 ), 1872 1881 'properties' => array( 1873 1882 'raw' => array( 1874 1883 'description' => __( 'Excerpt for the object, as it exists in the database.' ),