mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article.
Props ianbelanger, tobifjellner, SergeyBiryukov. See #47771. git-svn-id: https://develop.svn.wordpress.org/trunk@45674 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1740,7 +1740,7 @@ function wp_welcome_panel() {
|
||||
<?php if ( current_user_can( 'manage_options' ) ) : ?>
|
||||
<li><?php printf( '<a href="%s" class="welcome-icon welcome-comments">' . __( 'Turn comments on or off' ) . '</a>', admin_url( 'options-discussion.php' ) ); ?></li>
|
||||
<?php endif; ?>
|
||||
<li><?php printf( '<a href="%s" class="welcome-icon welcome-learn-more">' . __( 'Learn more about getting started' ) . '</a>', __( 'https://codex.wordpress.org/First_Steps_With_WordPress' ) ); ?></li>
|
||||
<li><?php printf( '<a href="%s" class="welcome-icon welcome-learn-more">' . __( 'Learn more about getting started' ) . '</a>', __( 'https://wordpress.org/support/article/first-steps-with-wordpress-b/' ) ); ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1811,7 +1811,7 @@ function WP_Filesystem( $args = false, $context = false, $allow_relaxed_file_own
|
||||
* The return value can be overridden by defining the `FS_METHOD` constant in `wp-config.php`,
|
||||
* or filtering via {@see 'filesystem_method'}.
|
||||
*
|
||||
* @link https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants
|
||||
* @link https://wordpress.org/support/article/editing-wp-config-php/#wordpress-upgrade-constants
|
||||
*
|
||||
* Plugins may define a custom transport handler, See WP_Filesystem().
|
||||
*
|
||||
|
||||
@@ -665,7 +665,7 @@ function post_excerpt_meta_box( $post ) {
|
||||
printf(
|
||||
/* translators: %s: Codex URL */
|
||||
__( 'Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="%s">Learn more about manual excerpts</a>.' ),
|
||||
__( 'https://codex.wordpress.org/Excerpt' )
|
||||
__( 'https://wordpress.org/support/article/excerpt/' )
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
@@ -702,7 +702,7 @@ function post_trackback_meta_box( $post ) {
|
||||
printf(
|
||||
/* translators: %s: Codex URL */
|
||||
__( 'Trackbacks are a way to notify legacy blog systems that you’ve linked to them. If you link other WordPress sites, they’ll be notified automatically using <a href="%s">pingbacks</a>, no other action necessary.' ),
|
||||
__( 'https://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments' )
|
||||
__( 'https://wordpress.org/support/article/introduction-to-blogging/#comments' )
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
@@ -739,7 +739,7 @@ function post_custom_meta_box( $post ) {
|
||||
printf(
|
||||
/* translators: %s: Codex URL */
|
||||
__( 'Custom fields can be used to add extra metadata to a post that you can <a href="%s">use in your theme</a>.' ),
|
||||
__( 'https://codex.wordpress.org/Using_Custom_Fields' )
|
||||
__( 'https://wordpress.org/support/article/custom-fields/' )
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
@@ -763,7 +763,7 @@ function post_comment_status_meta_box( $post ) {
|
||||
printf(
|
||||
/* translators: %s: Codex URL */
|
||||
__( 'Allow <a href="%s">trackbacks and pingbacks</a> on this page' ),
|
||||
__( 'https://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments' )
|
||||
__( 'https://wordpress.org/support/article/introduction-to-blogging/#managing-comments' )
|
||||
);
|
||||
?>
|
||||
</label>
|
||||
|
||||
@@ -1166,6 +1166,6 @@ function get_site_screen_help_tab_args() {
|
||||
*/
|
||||
function get_site_screen_help_sidebar_content() {
|
||||
return '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
|
||||
'<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Sites_Screen">Documentation on Site Management</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-sites-screen/">Documentation on Site Management</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support Forums</a>' ) . '</p>';
|
||||
}
|
||||
|
||||
@@ -129,5 +129,5 @@ function options_reading_add_js() {
|
||||
*/
|
||||
function options_reading_blog_charset() {
|
||||
echo '<input name="blog_charset" type="text" id="blog_charset" value="' . esc_attr( get_option( 'blog_charset' ) ) . '" class="regular-text" />';
|
||||
echo '<p class="description">' . __( 'The <a href="https://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your site (UTF-8 is recommended)' ) . '</p>';
|
||||
echo '<p class="description">' . __( 'The <a href="https://wordpress.org/support/article/glossary/#character-set">character encoding</a> of your site (UTF-8 is recommended)' ) . '</p>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user