WordPress/wp-includes/rest-api/endpoints
K. Adam White fac9f5f9fb REST API: Avoid undefined-property notice when setting parent term to 0.
Only try to access `term_id` once `$parent_term` is known to be a `WP_Term`.

Props dlh, earnjam.
Fixes #44983.

Built from https://develop.svn.wordpress.org/trunk@44965


git-svn-id: http://core.svn.wordpress.org/trunk@44796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-21 18:59:52 +00:00
..
class-wp-rest-attachments-controller.php REST API: Remove unused attachments controller method. 2019-03-19 03:28:51 +00:00
class-wp-rest-autosaves-controller.php
class-wp-rest-block-renderer-controller.php
class-wp-rest-blocks-controller.php
class-wp-rest-comments-controller.php
class-wp-rest-controller.php General: Fix problematic string to array parsing. 2019-01-10 21:06:49 +00:00
class-wp-rest-post-statuses-controller.php
class-wp-rest-post-types-controller.php
class-wp-rest-posts-controller.php
class-wp-rest-revisions-controller.php
class-wp-rest-search-controller.php
class-wp-rest-settings-controller.php
class-wp-rest-taxonomies-controller.php
class-wp-rest-terms-controller.php REST API: Avoid undefined-property notice when setting parent term to 0. 2019-03-21 18:59:52 +00:00
class-wp-rest-themes-controller.php
class-wp-rest-users-controller.php REST API: Allow a user to change the letter casing of their email. 2019-01-17 21:25:51 +00:00