Avoid a PHP notice if the `last_updated` property isn't present in a plugin's data from the Plugins API.
Fixes #33024 Props icetee Built from https://develop.svn.wordpress.org/trunk@34458 git-svn-id: http://core.svn.wordpress.org/trunk@34422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6fd566d97b
commit
af1517279e
|
@ -457,7 +457,11 @@ function install_plugin_information() {
|
|||
echo "</div>\n";
|
||||
|
||||
$date_format = __( 'M j, Y @ H:i' );
|
||||
|
||||
if ( ! empty( $api->last_updated ) ) {
|
||||
$last_updated_timestamp = strtotime( $api->last_updated );
|
||||
}
|
||||
|
||||
?>
|
||||
<div id="<?php echo $_tab; ?>-content" class='<?php echo $_with_banner; ?>'>
|
||||
<div class="fyi">
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34457';
|
||||
$wp_version = '4.4-alpha-34458';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue