WordPress.org
News
Showcase
Hosting
Extend
Themes
Plugins
Patterns
Blocks
Openverse
↗
︎
Learn
Learn WordPress
Documentation
Forums
Developers
WordPress.tv
↗
︎
Community
Make WordPress
Photo Directory
Five for the Future
Events
Job Board
↗
︎
About
About WordPress
Enterprise
Gutenberg
↗
︎
Get WordPress
Search Trac
Get WordPress
Make WordPress Core
Blog
Handbook
Tickets
Components
Browse Source
Trac Timeline
Create a New Ticket
Search:
Login
Notifications
Context Navigation
Back to Ticket #61908
Ticket #61908
: patch.php
File patch.php,
145 bytes
(added by
dpeterson1971
,
11 months ago
)
Line
1
<?php
2
3
if
(
null
===
$timestamp
)
{
4
$timestamp
=
time
();
5
}
elseif
(
!
is_numeric
(
$timestamp
)
&&
!
is_float
(
$timestamp
)
)
{
6
return
false
;
7
}
Trac UI Preferences
Download in other formats:
Original Format