Changeset 48062 for trunk/src/wp-admin/themes.php
- Timestamp:
- 06/16/2020 05:27:05 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/themes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/themes.php
r48059 r48062 183 183 } // End if 'edit_theme_options' && 'customize'. 184 184 185 // Help tab: Auto-updates. 186 $help_sidebar_autoupdates = ''; 187 if ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type( 'theme' ) ) { 188 $help_tab_autoupdates = 189 '<p>' . __( 'Auto-updates can be enabled or disabled for each individual theme. Themes with auto-updates enabled will display the estimated date of the next auto-update. Auto-updates depends on the WP-Cron task scheduling system.' ) . '</p>' . 190 '<p>' . __( 'Please note: Third-party themes and plugins, or custom code, may override WordPress scheduling.' ) . '</p>'; 191 192 get_current_screen()->add_help_tab( 193 array( 194 'id' => 'plugins-themes-auto-updates', 195 'title' => __( 'Auto-updates' ), 196 'content' => $help_tab_autoupdates, 197 ) 198 ); 199 200 $help_sidebar_autoupdates = '<p>' . __( '<a href="https://wordpress.org/support/article/plugins-themes-auto-updates/">Learn more: Auto-updates documentation</a>' ) . '</p>'; 201 } // End if 'update_themes' && 'wp_is_auto_update_enabled_for_type'. 202 185 203 get_current_screen()->set_help_sidebar( 186 204 '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 187 205 '<p>' . __( '<a href="https://wordpress.org/support/article/using-themes/">Documentation on Using Themes</a>' ) . '</p>' . 188 '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' 206 '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' . 207 $help_sidebar_autoupdates 189 208 ); 190 209
Note: See TracChangeset
for help on using the changeset viewer.