Make WordPress Core


Ignore:
Timestamp:
06/19/2020 09:12:34 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Help/About: Move "Learn more: Auto-updates documentation" link about "Support", for consistency with other screens.

Follow-up to [48062].

See #50215.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update-core.php

    r48062 r48095  
    747747
    748748$help_sidebar_autoupdates = '';
     749
    749750if ( ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type( 'theme' ) ) || ( current_user_can( 'update_plugins' ) && wp_is_auto_update_enabled_for_type( 'plugin' ) ) ) {
    750751    $help_tab_autoupdates  = '<p>' . __( 'Auto-updates can be enabled or disabled for each individual theme or plugin. Themes or plugins 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>';
     
    765766    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    766767    '<p>' . __( '<a href="https://wordpress.org/support/article/dashboard-updates-screen/">Documentation on Updating WordPress</a>' ) . '</p>' .
    767     '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' .
    768     $help_sidebar_autoupdates
     768    $help_sidebar_autoupdates .
     769    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    769770);
    770771
Note: See TracChangeset for help on using the changeset viewer.