[wp-trac] [WordPress Trac] #52947: Docs: json_decode PHP function is inadvertently pulled up in DevHub documentation

WordPress Trac noreply at wordpress.org
Wed Mar 31 09:03:18 UTC 2021


#52947: Docs: json_decode PHP function is inadvertently pulled up in DevHub
documentation
--------------------------+------------------------------
 Reporter:  audrasjb      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  docs
--------------------------+------------------------------
Description changed by audrasjb:

Old description:

> I don't know exactly why, but it seems like the `json_decode` native PHP
> function is inadvertently pulled up in DevHub Documentation.
>
> https://developer.wordpress.org/reference/functions/json_decode/
>
> Interestingly, the related source code seems to be the `hash_equals`
> function.

New description:

 I don't know exactly why, but it seems like the `json_decode` native PHP
 function is inadvertently pulled up in DevHub Documentation.

 https://developer.wordpress.org/reference/functions/json_decode/

 Interestingly, the related source code seems to be the `hash_equals`
 function.

 Here is the linked source on Trac:
 https://core.trac.wordpress.org/browser/tags/5.7/src/wp-
 includes/compat.php#L304

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52947#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list