Make WordPress Core

Ticket #56405: 56405-2.diff

File 56405-2.diff, 1.3 KB (added by poena, 2 years ago)

Removed reference to how to use the feature filter

  • src/wp-admin/theme-install.php

     
    138138        )
    139139);
    140140
     141// Help tab: Block themes.
     142$help_block_themes = '<p>' . __( 'A block theme is a theme that uses blocks for all parts of a site including navigation menus, header, content, and site footer. These themes are built for the newest features in WordPress that allow you to edit and customize all parts of your site.' ) . '</p>' .
     143'<p>' . __( ' With a block theme, you can place and edit blocks outside your content by customizing or creating new templates.' ) . '</p>';
     144       
     145get_current_screen()->add_help_tab(
     146        array(
     147                'id'      => 'block_themes',
     148                'title'   => __( 'Block themes' ),
     149                'content' => $help_block_themes,
     150        )
     151);
     152
    141153get_current_screen()->set_help_sidebar(
    142154        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    143155        '<p>' . __( '<a href="https://wordpress.org/support/article/appearance-themes-screen/#install-themes">Documentation on Adding New Themes</a>' ) . '</p>' .
     156        '<p>' . __( '<a href="https://wordpress.org/support/article/block-themes/">Documentation on block themes</a>' ) . '</p>' .
    144157        '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    145158);
    146159