Make WordPress Core

Changeset 47427


Ignore:
Timestamp:
03/04/2020 11:32:52 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing @throws tag to _wp_json_sanity_check() DocBlock.

Props subrataemfluence.
See #45643.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r47398 r47427  
    39003900 * @see wp_json_encode()
    39013901 *
     3902 * @throws Exception If depth limit is reached.
     3903 *
    39023904 * @param mixed $data  Variable (usually an array or object) to encode as JSON.
    39033905 * @param int   $depth Maximum depth to walk through $data. Must be greater than 0.
Note: See TracChangeset for help on using the changeset viewer.