mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Coding Standards: Rename $d parameter in various date/time functions to $format for clarity.
See #49222. git-svn-id: https://develop.svn.wordpress.org/trunk@47287 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -638,9 +638,9 @@ function wp_exif_frac2dec( $str ) {
|
||||
return $str;
|
||||
}
|
||||
|
||||
list( $n, $d ) = explode( '/', $str );
|
||||
if ( ! empty( $d ) ) {
|
||||
return $n / $d;
|
||||
list( $numerator, $denominator ) = explode( '/', $str );
|
||||
if ( ! empty( $denominator ) ) {
|
||||
return $numerator / $denominator;
|
||||
}
|
||||
return $str;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user