Changeset 51985
- Timestamp:
- 11/02/2021 07:07:10 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/_index.php
r51475 r51985 108 108 unset( $help ); 109 109 110 $wp_version = get_bloginfo( 'version', 'display' ); 111 $is_dev_version = preg_match( '/alpha|beta|RC/', $wp_version ); 112 113 if ( $is_dev_version ) { 114 /* translators: %s. The WordPress version. */ 115 $wp_version_text = sprintf( __( 'Version %s' ), $wp_version ); 116 } else { 117 $wp_version_text = sprintf( 118 /* 119 * translators: 120 * 1. A link to the changelog ending with the WordPress version where '.' is replaced by '-'. 121 * 2. The WordPress version. 122 */ 123 __( '<a href="%1$s">Version %2$s</a>' ), 124 esc_url( 'https://wordpress.org/support/wordpress-version/version-' . str_replace( '.', '-', $wp_version ) ), 125 $wp_version 126 ); 127 } 128 110 129 $screen->set_help_sidebar( 111 130 '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 112 131 '<p>' . __( '<a href="https://wordpress.org/support/article/dashboard-screen/">Documentation on Dashboard</a>' ) . '</p>' . 113 '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' 132 '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' . 133 '<p>' . $wp_version_text . '</p>' 114 134 ); 115 135
Note: See TracChangeset
for help on using the changeset viewer.