mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: Various docblock corrections.
See #53399 git-svn-id: https://develop.svn.wordpress.org/trunk@52299 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -687,8 +687,8 @@ function wp_exif_frac2dec( $str ) {
|
||||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param string $str
|
||||
* @return int
|
||||
* @param string $str A date string expected to be in Exif format (Y:m:d H:i:s).
|
||||
* @return int|false The unix timestamp, or false on failure.
|
||||
*/
|
||||
function wp_exif_date2ts( $str ) {
|
||||
list( $date, $time ) = explode( ' ', trim( $str ) );
|
||||
|
||||
@@ -209,8 +209,8 @@ function _wp_translate_postdata( $update = false, $post_data = null ) {
|
||||
*
|
||||
* @since 5.0.1
|
||||
*
|
||||
* @param array|null $post_data Optional. The array of post data to process.
|
||||
* Defaults to the `$_POST` superglobal.
|
||||
* @param array|WP_Error|null $post_data The array of post data to process, or an error object.
|
||||
* Defaults to the `$_POST` superglobal.
|
||||
* @return array|WP_Error Array of post data on success, WP_Error on failure.
|
||||
*/
|
||||
function _wp_get_allowed_postdata( $post_data = null ) {
|
||||
|
||||
Reference in New Issue
Block a user