Ticket #26185: 26185.wp_checkdate.diff
File 26185.wp_checkdate.diff, 758 bytes (added by , 11 years ago) |
---|
-
wp-includes/functions.php
4236 4236 } 4237 4237 4238 4238 /** 4239 * Test if the supplied date is valid for the Gregorian calendar 4239 * Test if the supplied date is valid for the Gregorian calendar. 4240 4240 * 4241 4241 * @since 3.5.0 4242 * @see checkdate() 4242 4243 * 4243 * @return bool true|false 4244 * @param int $month Month number. 4245 * @param int $day Day number. 4246 * @param int $year Year number. 4247 * @param string $source_date The date to filter. 4248 * @return bool True if valid date, false if not valid date. 4244 4249 */ 4245 4250 function wp_checkdate( $month, $day, $year, $source_date ) { 4246 4251 /**