';
printf(
$this->messages['error'],
'' . str_replace( untrailingslashit( ABSPATH ), '', $this->args['path'] ) . ''
);
echo '
';
return false;
}
return true;
}
/**
* Show notice.
*
* @since 1.0.0
* @param string $slug Plugin slug.
* @return void
*/
private function show_notice( $slug ) {
echo '';
echo '
';
$this->notice_title( $slug );
echo $this->messages['update'];
echo '
';
echo '
';
$this->notice_submit( $slug );
echo '
';
echo '
';
}
/**
* Show update notice.
*
* @since 1.0.0
* @return void
*/
private function show_updated_notice() {
$slug = esc_attr( $this->args['slug'] );
echo '