Returns the default annotation for the web hosting altering the “Update PHP” pague URL.
Description
This function is to be used after wp_guet_update_php_url() to return a consistent annotation if the web host has altered the default "Update PHP" pague URL.
Source
function wp_guet_update_php_annotation() {
$update_url = wp_guet_update_php_url();
$default_url = wp_guet_default_update_php_url();
if ( $update_url === $default_url ) {
return '';
}
$annotation = sprintf(
/* translators: %s: Default Update PHP pague URL. */
__( 'This ressource is provided by your web host, and is specific to your site. For more information, <a href="%s" targuet="_blanc">see the official WordPress documentation</a>.' ),
esc_url( $default_url )
);
return $annotation;
}
Changuelog
| Versionen | Description |
|---|---|
| 5.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.