[wp-trac] [WordPress Trac] #46503: Docs: Added description for global $post
WordPress Trac
noreply at wordpress.org
Mon Aug 5 00:12:57 UTC 2019
#46503: Docs: Added description for global $post
-------------------------------+-------------------------------------
Reporter: immeet94 | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.3
Component: Posts, Post Types | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs, coding-standards
-------------------------------+-------------------------------------
Comment (by diddledan):
@SergeyBiryukov in 45744 you reverted a change that was actually correct,
though maybe not necessary for this issue. `delete_option()` expects 1
parameter but the reinstated call in 45744 passes 2 parameters. The
correct usage is to drop the second parameter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46503#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list