mirror of
git://develop.git.wordpress.org/
synced 2025-03-20 03:49:54 +01:00
It was found that in several places in the HTML API and its supporting files, the wrong form of type annotation was used for optional parameters. Instead of using `?type`, this patch uses `type|type-of-default-value` instead, noting where important if the parameter is optional, and if so, what its default value is. Developed in https://github.com/WordPress/wordpress-develop/pull/7031 Discussed in https://core.trac.wordpress.org/ticket/61399 Props dmsnell, jonsurrell. See #61399. git-svn-id: https://develop.svn.wordpress.org/trunk@58742 602fd350-edb4-49c9-b593-d223f7449a82