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/plugins.php

    r48062 r48095  
    567567
    568568$help_sidebar_autoupdates = '';
     569
    569570if ( current_user_can( 'update_plugins' ) && wp_is_auto_update_enabled_for_type( 'plugin' ) ) {
    570571    get_current_screen()->add_help_tab(
     
    584585    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    585586    '<p>' . __( '<a href="https://wordpress.org/support/article/managing-plugins/">Documentation on Managing Plugins</a>' ) . '</p>' .
    586     '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' .
    587     $help_sidebar_autoupdates
     587    $help_sidebar_autoupdates .
     588    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    588589);
    589590
Note: See TracChangeset for help on using the changeset viewer.