rebase on oct-10-2023
This commit is contained in:
@@ -116,7 +116,7 @@ $is_dev_version = preg_match( '/alpha|beta|RC/', $wp_version );
|
||||
if ( ! $is_dev_version ) {
|
||||
$version_url = sprintf(
|
||||
/* translators: %s: WordPress version. */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( $wp_version )
|
||||
);
|
||||
|
||||
@@ -186,7 +186,7 @@ if ( has_action( 'welcome_panel' ) && current_user_can( 'edit_theme_options' ) )
|
||||
<a class="welcome-panel-close" href="<?php echo esc_url( admin_url( '?welcome=0' ) ); ?>" aria-label="<?php esc_attr_e( 'Dismiss the welcome panel' ); ?>"><?php _e( 'Dismiss' ); ?></a>
|
||||
<?php
|
||||
/**
|
||||
* Add content to the welcome panel on the admin dashboard.
|
||||
* Fires when adding content to the welcome panel on the admin dashboard.
|
||||
*
|
||||
* To remove the default welcome panel, use remove_action():
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user