Changeset 56171 for trunk/src/wp-admin/update-core.php
- Timestamp:
- 07/09/2023 02:47:22 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r56107 r56171 1018 1018 } 1019 1019 1020 $help_sidebar_rollback = ''; 1021 1022 if ( current_user_can( 'update_themes' ) || current_user_can( 'update_plugins' ) ) { 1023 $rollback_help = '<p>' . __( 'This feature will create a temporary backup of a plugin or theme before it is upgraded. This backup is used to restore the plugin or theme back to its previous state if there is an error during the update process.' ) . '</p>'; 1024 1025 $rollback_help .= '<p>' . __( 'On systems with fewer resources, this may lead to server timeouts or resource limits being reached. If you encounter an issue during the update process, please create a support forum ticket and reference <strong>Rollback</strong> in the issue title.' ) . '</p>'; 1026 1027 get_current_screen()->add_help_tab( 1028 array( 1029 'id' => 'rollback-plugins-themes', 1030 'title' => __( 'Restore Plugin or Theme' ), 1031 'content' => $rollback_help, 1032 ) 1033 ); 1034 1035 $help_sidebar_rollback = '<p>' . __( '<a href="https://wordpress.org/documentation/article/common-wordpress-errors/">Common Errors</a>' ) . '</p>'; 1036 } 1037 1020 1038 get_current_screen()->set_help_sidebar( 1021 1039 '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 1022 1040 '<p>' . __( '<a href="https://wordpress.org/documentation/article/dashboard-updates-screen/">Documentation on Updating WordPress</a>' ) . '</p>' . 1023 1041 $help_sidebar_autoupdates . 1024 '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>' 1042 '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>' . 1043 $help_sidebar_rollback 1025 1044 ); 1026 1045 … … 1034 1053 <div class="wrap"> 1035 1054 <h1><?php _e( 'WordPress Updates' ); ?></h1> 1036 <p><?php _e( ' Here you can find information about updates, set auto-updates and see what plugins or themes need updating.' ); ?></p>1055 <p><?php _e( 'Updates may take several minutes to complete. If there is no feedback after 5 minutes, or if there are errors please refer to the Help section above.' ); ?></p> 1037 1056 1038 1057 <?php
Note: See TracChangeset
for help on using the changeset viewer.