wp core update 6.6
This commit is contained in:
@@ -51,12 +51,15 @@ get_current_screen()->set_help_sidebar(
|
||||
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
|
||||
'<p>' . __( '<a href="https://developer.wordpress.org/themes/">Documentation on Theme Development</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="https://wordpress.org/documentation/article/appearance-theme-file-editor-screen/">Documentation on Editing Themes</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="https://wordpress.org/documentation/article/editing-files/">Documentation on Editing Files</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="https://developer.wordpress.org/advanced-administration/wordpress/edit-files/">Documentation on Editing Files</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="https://developer.wordpress.org/themes/basics/template-tags/">Documentation on Template Tags</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
|
||||
);
|
||||
|
||||
wp_reset_vars( array( 'action', 'error', 'file', 'theme' ) );
|
||||
$action = ! empty( $_REQUEST['action'] ) ? sanitize_text_field( $_REQUEST['action'] ) : '';
|
||||
$theme = ! empty( $_REQUEST['theme'] ) ? sanitize_text_field( $_REQUEST['theme'] ) : '';
|
||||
$file = ! empty( $_REQUEST['file'] ) ? sanitize_text_field( $_REQUEST['file'] ) : '';
|
||||
$error = ! empty( $_REQUEST['error'] );
|
||||
|
||||
if ( $theme ) {
|
||||
$stylesheet = $theme;
|
||||
@@ -356,7 +359,7 @@ else :
|
||||
printf(
|
||||
/* translators: %s: Documentation URL. */
|
||||
__( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
|
||||
__( 'https://wordpress.org/documentation/article/changing-file-permissions/' )
|
||||
__( 'https://developer.wordpress.org/advanced-administration/server/file-permissions/' )
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user