wp_welcome_panel

The timeline below displays how wordpress function wp_welcome_panel has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.3

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 * @since 5.9.0 Send users to the Site Editor if the active theme is block-based.
 */
function wp_welcome_panel()
{
    list($display_version) = explode('-', get_bloginfo('version'));
    $can_customize = current_user_can('customize');
    $is_block_theme = wp_is_block_theme();
    ?>
	<div class="welcome-panel-content">
	<div class="welcome-panel-header">
		<div class="welcome-panel-header-image">
			<?php 
    echo file_get_contents(dirname(__DIR__) . '/images/dashboard-background.svg');
    ?>
		</div>
		<h2><?php 
    _e('Welcome to WordPress!');
    ?></h2>
		<p>
			<a href="<?php 
    echo esc_url(admin_url('about.php'));
    ?>">
			<?php 
    /* translators: %s: Current WordPress version. */
    printf(__('Learn more about the %s version.'), $display_version);
    ?>
			</a>
		</p>
	</div>
	<div class="welcome-panel-column-container">
		<div class="welcome-panel-column">
			<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
				<rect width="48" height="48" rx="4" fill="#1E1E1E"/>
				<path fill-rule="evenodd" clip-rule="evenodd" d="M32.0668 17.0854L28.8221 13.9454L18.2008 24.671L16.8983 29.0827L21.4257 27.8309L32.0668 17.0854ZM16 32.75H24V31.25H16V32.75Z" fill="white"/>
			</svg>
			<div class="welcome-panel-column-content">
				<h3><?php 
    _e('Author rich content with blocks and patterns');
    ?></h3>
				<p><?php 
    _e('Block patterns are pre-configured block layouts. Use them to get inspired or create new pages in a flash.');
    ?></p>
				<a href="<?php 
    echo esc_url(admin_url('post-new.php?post_type=page'));
    ?>"><?php 
    _e('Add a new page');
    ?></a>
			</div>
		</div>
		<div class="welcome-panel-column">
			<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
				<rect width="48" height="48" rx="4" fill="#1E1E1E"/>
				<path fill-rule="evenodd" clip-rule="evenodd" d="M18 16h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H18a2 2 0 0 1-2-2V18a2 2 0 0 1 2-2zm12 1.5H18a.5.5 0 0 0-.5.5v3h13v-3a.5.5 0 0 0-.5-.5zm.5 5H22v8h8a.5.5 0 0 0 .5-.5v-7.5zm-10 0h-3V30a.5.5 0 0 0 .5.5h2.5v-8z" fill="#fff"/>
			</svg>
			<div class="welcome-panel-column-content">
			<?php 
    if ($is_block_theme) {
        ?>
				<h3><?php 
        _e('Customize your entire site with block themes');
        ?></h3>
				<p><?php 
        _e('Design everything on your site &#8212; from the header down to the footer, all using blocks and patterns.');
        ?></p>
				<a href="<?php 
        echo esc_url(admin_url('site-editor.php'));
        ?>"><?php 
        _e('Open site editor');
        ?></a>
			<?php 
    } else {
        ?>
				<h3><?php 
        _e('Start Customizing');
        ?></h3>
				<p><?php 
        _e('Configure your site&#8217;s logo, header, menus, and more in the Customizer.');
        ?></p>
				<?php 
        if ($can_customize) {
            ?>
					<a class="load-customize hide-if-no-customize" href="<?php 
            echo wp_customize_url();
            ?>"><?php 
            _e('Open the Customizer');
            ?></a>
				<?php 
        }
        ?>
			<?php 
    }
    ?>
			</div>
		</div>
		<div class="welcome-panel-column">
			<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
				<rect width="48" height="48" rx="4" fill="#1E1E1E"/>
				<path fill-rule="evenodd" clip-rule="evenodd" d="M31 24a7 7 0 0 1-7 7V17a7 7 0 0 1 7 7zm-7-8a8 8 0 1 1 0 16 8 8 0 0 1 0-16z" fill="#fff"/>
			</svg>
			<div class="welcome-panel-column-content">
			<?php 
    if ($is_block_theme) {
        ?>
				<h3><?php 
        _e('Switch up your site&#8217;s look & feel with Styles');
        ?></h3>
				<p><?php 
        _e('Tweak your site, or give it a whole new look! Get creative &#8212; how about a new color palette or font?');
        ?></p>
				<a href="<?php 
        echo esc_url(admin_url('/site-editor.php?path=%2Fwp_global_styles'));
        ?>"><?php 
        _e('Edit styles');
        ?></a>
			<?php 
    } else {
        ?>
				<h3><?php 
        _e('Discover a new way to build your site.');
        ?></h3>
				<p><?php 
        _e('There is a new kind of WordPress theme, called a block theme, that lets you build the site you&#8217;ve always wanted &#8212; with blocks and styles.');
        ?></p>
				<a href="<?php 
        echo esc_url(__('https://wordpress.org/documentation/article/block-themes/'));
        ?>"><?php 
        _e('Learn about block themes');
        ?></a>
			<?php 
    }
    ?>
			</div>
		</div>
	</div>
	</div>
	<?php 
}

WordPress Version: 6.2

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 * @since 5.9.0 Send users to the Site Editor if the active theme is block-based.
 */
function wp_welcome_panel()
{
    list($display_version) = explode('-', get_bloginfo('version'));
    $can_customize = current_user_can('customize');
    $is_block_theme = wp_is_block_theme();
    ?>
	<div class="welcome-panel-content">
	<div class="welcome-panel-header">
		<div class="welcome-panel-header-image">
			<?php 
    echo file_get_contents(dirname(__DIR__) . '/images/dashboard-background.svg');
    ?>
		</div>
		<h2><?php 
    _e('Welcome to WordPress!');
    ?></h2>
		<p>
			<a href="<?php 
    echo esc_url(admin_url('about.php'));
    ?>">
			<?php 
    /* translators: %s: Current WordPress version. */
    printf(__('Learn more about the %s version.'), $display_version);
    ?>
			</a>
		</p>
	</div>
	<div class="welcome-panel-column-container">
		<div class="welcome-panel-column">
			<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
				<rect width="48" height="48" rx="4" fill="#1E1E1E"/>
				<path fill-rule="evenodd" clip-rule="evenodd" d="M32.0668 17.0854L28.8221 13.9454L18.2008 24.671L16.8983 29.0827L21.4257 27.8309L32.0668 17.0854ZM16 32.75H24V31.25H16V32.75Z" fill="white"/>
			</svg>
			<div class="welcome-panel-column-content">
				<h3><?php 
    _e('Author rich content with blocks and patterns');
    ?></h3>
				<p><?php 
    _e('Block patterns are pre-configured block layouts. Use them to get inspired or create new pages in a flash.');
    ?></p>
				<a href="<?php 
    echo esc_url(admin_url('post-new.php?post_type=page'));
    ?>"><?php 
    _e('Add a new page');
    ?></a>
			</div>
		</div>
		<div class="welcome-panel-column">
			<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
				<rect width="48" height="48" rx="4" fill="#1E1E1E"/>
				<path fill-rule="evenodd" clip-rule="evenodd" d="M18 16h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H18a2 2 0 0 1-2-2V18a2 2 0 0 1 2-2zm12 1.5H18a.5.5 0 0 0-.5.5v3h13v-3a.5.5 0 0 0-.5-.5zm.5 5H22v8h8a.5.5 0 0 0 .5-.5v-7.5zm-10 0h-3V30a.5.5 0 0 0 .5.5h2.5v-8z" fill="#fff"/>
			</svg>
			<div class="welcome-panel-column-content">
			<?php 
    if ($is_block_theme) {
        ?>
				<h3><?php 
        _e('Customize your entire site with block themes');
        ?></h3>
				<p><?php 
        _e('Design everything on your site &#8212; from the header down to the footer, all using blocks and patterns.');
        ?></p>
				<a href="<?php 
        echo esc_url(admin_url('site-editor.php'));
        ?>"><?php 
        _e('Open site editor');
        ?></a>
			<?php 
    } else {
        ?>
				<h3><?php 
        _e('Start Customizing');
        ?></h3>
				<p><?php 
        _e('Configure your site&#8217;s logo, header, menus, and more in the Customizer.');
        ?></p>
				<?php 
        if ($can_customize) {
            ?>
					<a class="load-customize hide-if-no-customize" href="<?php 
            echo wp_customize_url();
            ?>"><?php 
            _e('Open the Customizer');
            ?></a>
				<?php 
        }
        ?>
			<?php 
    }
    ?>
			</div>
		</div>
		<div class="welcome-panel-column">
			<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
				<rect width="48" height="48" rx="4" fill="#1E1E1E"/>
				<path fill-rule="evenodd" clip-rule="evenodd" d="M31 24a7 7 0 0 1-7 7V17a7 7 0 0 1 7 7zm-7-8a8 8 0 1 1 0 16 8 8 0 0 1 0-16z" fill="#fff"/>
			</svg>
			<div class="welcome-panel-column-content">
			<?php 
    if ($is_block_theme) {
        ?>
				<h3><?php 
        _e('Switch up your site&#8217;s look & feel with Styles');
        ?></h3>
				<p><?php 
        _e('Tweak your site, or give it a whole new look! Get creative &#8212; how about a new color palette or font?');
        ?></p>
			<?php 
    } else {
        ?>
				<h3><?php 
        _e('Discover a new way to build your site.');
        ?></h3>
				<p><?php 
        _e('There is a new kind of WordPress theme, called a block theme, that lets you build the site you&#8217;ve always wanted &#8212; with blocks and styles.');
        ?></p>
				<a href="<?php 
        echo esc_url(__('https://wordpress.org/documentation/article/block-themes/'));
        ?>"><?php 
        _e('Learn about block themes');
        ?></a>
			<?php 
    }
    ?>
			</div>
		</div>
	</div>
	</div>
	<?php 
}

WordPress Version: 6.1

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 * @since 5.9.0 Send users to the Site Editor if the active theme is block-based.
 */
function wp_welcome_panel()
{
    list($display_version) = explode('-', get_bloginfo('version'));
    $can_customize = current_user_can('customize');
    $is_block_theme = wp_is_block_theme();
    ?>
	<div class="welcome-panel-content">
	<div class="welcome-panel-header">
		<div class="welcome-panel-header-image">
			<?php 
    echo file_get_contents(dirname(__DIR__) . '/images/about-header-about.svg');
    ?>
		</div>
		<h2><?php 
    _e('Welcome to WordPress!');
    ?></h2>
		<p>
			<a href="<?php 
    echo esc_url(admin_url('about.php'));
    ?>">
			<?php 
    /* translators: %s: Current WordPress version. */
    printf(__('Learn more about the %s version.'), $display_version);
    ?>
			</a>
		</p>
	</div>
	<div class="welcome-panel-column-container">
		<div class="welcome-panel-column">
			<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
				<rect width="48" height="48" rx="4" fill="#1E1E1E"/>
				<path fill-rule="evenodd" clip-rule="evenodd" d="M32.0668 17.0854L28.8221 13.9454L18.2008 24.671L16.8983 29.0827L21.4257 27.8309L32.0668 17.0854ZM16 32.75H24V31.25H16V32.75Z" fill="white"/>
			</svg>
			<div class="welcome-panel-column-content">
				<h3><?php 
    _e('Author rich content with blocks and patterns');
    ?></h3>
				<p><?php 
    _e('Block patterns are pre-configured block layouts. Use them to get inspired or create new pages in a flash.');
    ?></p>
				<a href="<?php 
    echo esc_url(admin_url('post-new.php?post_type=page'));
    ?>"><?php 
    _e('Add a new page');
    ?></a>
			</div>
		</div>
		<div class="welcome-panel-column">
			<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
				<rect width="48" height="48" rx="4" fill="#1E1E1E"/>
				<path fill-rule="evenodd" clip-rule="evenodd" d="M18 16h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H18a2 2 0 0 1-2-2V18a2 2 0 0 1 2-2zm12 1.5H18a.5.5 0 0 0-.5.5v3h13v-3a.5.5 0 0 0-.5-.5zm.5 5H22v8h8a.5.5 0 0 0 .5-.5v-7.5zm-10 0h-3V30a.5.5 0 0 0 .5.5h2.5v-8z" fill="#fff"/>
			</svg>
			<div class="welcome-panel-column-content">
			<?php 
    if ($is_block_theme) {
        ?>
				<h3><?php 
        _e('Customize your entire site with block themes');
        ?></h3>
				<p><?php 
        _e('Design everything on your site &#8212; from the header down to the footer, all using blocks and patterns.');
        ?></p>
				<a href="<?php 
        echo esc_url(admin_url('site-editor.php'));
        ?>"><?php 
        _e('Open site editor');
        ?></a>
			<?php 
    } else {
        ?>
				<h3><?php 
        _e('Start Customizing');
        ?></h3>
				<p><?php 
        _e('Configure your site&#8217;s logo, header, menus, and more in the Customizer.');
        ?></p>
				<?php 
        if ($can_customize) {
            ?>
					<a class="load-customize hide-if-no-customize" href="<?php 
            echo wp_customize_url();
            ?>"><?php 
            _e('Open the Customizer');
            ?></a>
				<?php 
        }
        ?>
			<?php 
    }
    ?>
			</div>
		</div>
		<div class="welcome-panel-column">
			<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
				<rect width="48" height="48" rx="4" fill="#1E1E1E"/>
				<path fill-rule="evenodd" clip-rule="evenodd" d="M31 24a7 7 0 0 1-7 7V17a7 7 0 0 1 7 7zm-7-8a8 8 0 1 1 0 16 8 8 0 0 1 0-16z" fill="#fff"/>
			</svg>
			<div class="welcome-panel-column-content">
			<?php 
    if ($is_block_theme) {
        ?>
				<h3><?php 
        _e('Switch up your site&#8217;s look & feel with Styles');
        ?></h3>
				<p><?php 
        _e('Tweak your site, or give it a whole new look! Get creative &#8212; how about a new color palette or font?');
        ?></p>
				<a href="<?php 
        echo esc_url(admin_url('site-editor.php?styles=open'));
        ?>"><?php 
        _e('Edit styles');
        ?></a>
			<?php 
    } else {
        ?>
				<h3><?php 
        _e('Discover a new way to build your site.');
        ?></h3>
				<p><?php 
        _e('There is a new kind of WordPress theme, called a block theme, that lets you build the site you&#8217;ve always wanted &#8212; with blocks and styles.');
        ?></p>
				<a href="<?php 
        echo esc_url(__('https://wordpress.org/support/article/block-themes/'));
        ?>"><?php 
        _e('Learn about block themes');
        ?></a>
			<?php 
    }
    ?>
			</div>
		</div>
	</div>
	</div>
	<?php 
}

WordPress Version: 5.9

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 * @since 5.9.0 Send users to the Site Editor if the current theme is block-based.
 */
function wp_welcome_panel()
{
    list($display_version) = explode('-', get_bloginfo('version'));
    $can_customize = current_user_can('customize');
    $is_block_theme = wp_is_block_theme();
    ?>
	<div class="welcome-panel-content">
	<div class="welcome-panel-header">
		<h2><?php 
    _e('Welcome to WordPress!');
    ?></h2>
		<p>
			<a href="<?php 
    echo esc_url(admin_url('about.php'));
    ?>">
			<?php 
    /* translators: %s: Current WordPress version. */
    printf(__('Learn more about the %s version.'), $display_version);
    ?>
			</a>
		</p>
	</div>
	<div class="welcome-panel-column-container">
		<div class="welcome-panel-column">
			<div class="welcome-panel-icon-pages"></div>
			<div class="welcome-panel-column-content">
				<h3><?php 
    _e('Author rich content with blocks and patterns');
    ?></h3>
				<p><?php 
    _e('Block patterns are pre-configured block layouts. Use them to get inspired or create new pages in a flash.');
    ?></p>
				<a href="<?php 
    echo esc_url(admin_url('post-new.php?post_type=page'));
    ?>"><?php 
    _e('Add a new page');
    ?></a>
			</div>
		</div>
		<div class="welcome-panel-column">
			<div class="welcome-panel-icon-layout"></div>
			<div class="welcome-panel-column-content">
			<?php 
    if ($is_block_theme) {
        ?>
				<h3><?php 
        _e('Customize your entire site with block themes');
        ?></h3>
				<p><?php 
        _e('Design everything on your site &#8212; from the header down to the footer, all using blocks and patterns.');
        ?></p>
				<a href="<?php 
        echo esc_url(admin_url('site-editor.php'));
        ?>"><?php 
        _e('Open site editor');
        ?></a>
			<?php 
    } else {
        ?>
				<h3><?php 
        _e('Start Customizing');
        ?></h3>
				<p><?php 
        _e('Configure your site&#8217;s logo, header, menus, and more in the Customizer.');
        ?></p>
				<?php 
        if ($can_customize) {
            ?>
					<a class="load-customize hide-if-no-customize" href="<?php 
            echo wp_customize_url();
            ?>"><?php 
            _e('Open the Customizer');
            ?></a>
				<?php 
        }
        ?>
			<?php 
    }
    ?>
			</div>
		</div>
		<div class="welcome-panel-column">
			<div class="welcome-panel-icon-styles"></div>
			<div class="welcome-panel-column-content">
			<?php 
    if ($is_block_theme) {
        ?>
				<h3><?php 
        _e('Switch up your site&#8217;s look & feel with Styles');
        ?></h3>
				<p><?php 
        _e('Tweak your site, or give it a whole new look! Get creative &#8212; how about a new color palette or font?');
        ?></p>
				<a href="<?php 
        echo esc_url(admin_url('site-editor.php?styles=open'));
        ?>"><?php 
        _e('Edit styles');
        ?></a>
			<?php 
    } else {
        ?>
				<h3><?php 
        _e('Discover a new way to build your site.');
        ?></h3>
				<p><?php 
        _e('There&#8217;s a new kind of WordPress theme, called a block theme, that lets you build the site you&#8217;ve always wanted &#8212; with blocks and styles.');
        ?></p>
				<a href="<?php 
        echo esc_url(__('https://wordpress.org/support/article/block-themes/'));
        ?>"><?php 
        _e('Learn about block themes');
        ?></a>
			<?php 
    }
    ?>
			</div>
		</div>
	</div>
	</div>
	<?php 
}

WordPress Version: 5.8

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 */
function wp_welcome_panel()
{
    ?>
	<div class="welcome-panel-content">
	<h2><?php 
    _e('Welcome to WordPress!');
    ?></h2>
	<p class="about-description"><?php 
    _e('We&#8217;ve assembled some links to get you started:');
    ?></p>
	<div class="welcome-panel-column-container">
	<div class="welcome-panel-column">
		<?php 
    if (current_user_can('customize')) {
        ?>
			<h3><?php 
        _e('Get Started');
        ?></h3>
			<a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php 
        echo wp_customize_url();
        ?>"><?php 
        _e('Customize Your Site');
        ?></a>
		<?php 
    }
    ?>
		<a class="button button-primary button-hero hide-if-customize" href="<?php 
    echo esc_url(admin_url('themes.php'));
    ?>"><?php 
    _e('Customize Your Site');
    ?></a>
		<?php 
    if (current_user_can('install_themes') || current_user_can('switch_themes') && count(wp_get_themes(array('allowed' => true))) > 1) {
        ?>
			<?php 
        $themes_link = current_user_can('customize') ? add_query_arg('autofocus[panel]', 'themes', admin_url('customize.php')) : admin_url('themes.php');
        ?>
			<p class="hide-if-no-customize">
				<?php 
        /* translators: %s: URL to Themes panel in Customizer or Themes screen. */
        printf(__('or, <a href="%s">change your theme completely</a>'), $themes_link);
        ?>
			</p>
		<?php 
    }
    ?>
	</div>
	<div class="welcome-panel-column">
		<h3><?php 
    _e('Next Steps');
    ?></h3>
		<ul>
		<?php 
    if ('page' === get_option('show_on_front') && !get_option('page_for_posts')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    } elseif ('page' === get_option('show_on_front')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Add a blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
		<?php 
    } else {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Write your first blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add an About page') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-setup-home">' . __('Set up your homepage') . '</a>', current_user_can('customize') ? add_query_arg('autofocus[section]', 'static_front_page', admin_url('customize.php')) : admin_url('options-reading.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-view-site">' . __('View your site') . '</a>', home_url('/'));
    ?></li>
		</ul>
	</div>
	<div class="welcome-panel-column welcome-panel-last">
		<h3><?php 
    _e('More Actions');
    ?></h3>
		<ul>
		<?php 
    if (current_theme_supports('widgets')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-widgets">' . __('Manage widgets') . '</a>', admin_url('widgets.php'));
        ?></li>
		<?php 
    }
    ?>
		<?php 
    if (current_theme_supports('menus')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-menus">' . __('Manage menus') . '</a>', admin_url('nav-menus.php'));
        ?></li>
		<?php 
    }
    ?>
		<?php 
    if (current_user_can('manage_options')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-comments">' . __('Turn comments on or off') . '</a>', admin_url('options-discussion.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-learn-more">' . __('Learn more about getting started') . '</a>', __('https://wordpress.org/support/article/first-steps-with-wordpress/'));
    ?></li>
		</ul>
	</div>
	</div>
	</div>
	<?php 
}

WordPress Version: 5.5

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 */
function wp_welcome_panel()
{
    ?>
	<div class="welcome-panel-content">
	<h2><?php 
    _e('Welcome to WordPress!');
    ?></h2>
	<p class="about-description"><?php 
    _e('We&#8217;ve assembled some links to get you started:');
    ?></p>
	<div class="welcome-panel-column-container">
	<div class="welcome-panel-column">
		<?php 
    if (current_user_can('customize')) {
        ?>
			<h3><?php 
        _e('Get Started');
        ?></h3>
			<a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php 
        echo wp_customize_url();
        ?>"><?php 
        _e('Customize Your Site');
        ?></a>
		<?php 
    }
    ?>
		<a class="button button-primary button-hero hide-if-customize" href="<?php 
    echo admin_url('themes.php');
    ?>"><?php 
    _e('Customize Your Site');
    ?></a>
		<?php 
    if (current_user_can('install_themes') || current_user_can('switch_themes') && count(wp_get_themes(array('allowed' => true))) > 1) {
        ?>
			<?php 
        $themes_link = current_user_can('customize') ? add_query_arg('autofocus[panel]', 'themes', admin_url('customize.php')) : admin_url('themes.php');
        ?>
			<p class="hide-if-no-customize">
				<?php 
        /* translators: %s: URL to Themes panel in Customizer or Themes screen. */
        printf(__('or, <a href="%s">change your theme completely</a>'), $themes_link);
        ?>
			</p>
		<?php 
    }
    ?>
	</div>
	<div class="welcome-panel-column">
		<h3><?php 
    _e('Next Steps');
    ?></h3>
		<ul>
		<?php 
    if ('page' === get_option('show_on_front') && !get_option('page_for_posts')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    } elseif ('page' === get_option('show_on_front')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Add a blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
		<?php 
    } else {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Write your first blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add an About page') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-setup-home">' . __('Set up your homepage') . '</a>', current_user_can('customize') ? add_query_arg('autofocus[section]', 'static_front_page', admin_url('customize.php')) : admin_url('options-reading.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-view-site">' . __('View your site') . '</a>', home_url('/'));
    ?></li>
		</ul>
	</div>
	<div class="welcome-panel-column welcome-panel-last">
		<h3><?php 
    _e('More Actions');
    ?></h3>
		<ul>
		<?php 
    if (current_theme_supports('widgets')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-widgets">' . __('Manage widgets') . '</a>', admin_url('widgets.php'));
        ?></li>
		<?php 
    }
    ?>
		<?php 
    if (current_theme_supports('menus')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-menus">' . __('Manage menus') . '</a>', admin_url('nav-menus.php'));
        ?></li>
		<?php 
    }
    ?>
		<?php 
    if (current_user_can('manage_options')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-comments">' . __('Turn comments on or off') . '</a>', admin_url('options-discussion.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-learn-more">' . __('Learn more about getting started') . '</a>', __('https://wordpress.org/support/article/first-steps-with-wordpress/'));
    ?></li>
		</ul>
	</div>
	</div>
	</div>
	<?php 
}

WordPress Version: 3.1

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 */
function wp_welcome_panel()
{
    ?>
	<div class="welcome-panel-content">
	<h2><?php 
    _e('Welcome to WordPress!');
    ?></h2>
	<p class="about-description"><?php 
    _e('We&#8217;ve assembled some links to get you started:');
    ?></p>
	<div class="welcome-panel-column-container">
	<div class="welcome-panel-column">
		<?php 
    if (current_user_can('customize')) {
        ?>
			<h3><?php 
        _e('Get Started');
        ?></h3>
			<a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php 
        echo wp_customize_url();
        ?>"><?php 
        _e('Customize Your Site');
        ?></a>
		<?php 
    }
    ?>
		<a class="button button-primary button-hero hide-if-customize" href="<?php 
    echo admin_url('themes.php');
    ?>"><?php 
    _e('Customize Your Site');
    ?></a>
		<?php 
    if (current_user_can('install_themes') || current_user_can('switch_themes') && count(wp_get_themes(array('allowed' => true))) > 1) {
        ?>
			<?php 
        $themes_link = current_user_can('customize') ? add_query_arg('autofocus[panel]', 'themes', admin_url('customize.php')) : admin_url('themes.php');
        ?>
			<p class="hide-if-no-customize">
				<?php 
        /* translators: %s: URL to Themes panel in Customizer or Themes screen. */
        printf(__('or, <a href="%s">change your theme completely</a>'), $themes_link);
        ?>
			</p>
		<?php 
    }
    ?>
	</div>
	<div class="welcome-panel-column">
		<h3><?php 
    _e('Next Steps');
    ?></h3>
		<ul>
		<?php 
    if ('page' == get_option('show_on_front') && !get_option('page_for_posts')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    } elseif ('page' == get_option('show_on_front')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Add a blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
		<?php 
    } else {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Write your first blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add an About page') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-setup-home">' . __('Set up your homepage') . '</a>', current_user_can('customize') ? add_query_arg('autofocus[section]', 'static_front_page', admin_url('customize.php')) : admin_url('options-reading.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-view-site">' . __('View your site') . '</a>', home_url('/'));
    ?></li>
		</ul>
	</div>
	<div class="welcome-panel-column welcome-panel-last">
		<h3><?php 
    _e('More Actions');
    ?></h3>
		<ul>
		<?php 
    if (current_theme_supports('widgets')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-widgets">' . __('Manage widgets') . '</a>', admin_url('widgets.php'));
        ?></li>
		<?php 
    }
    ?>
		<?php 
    if (current_theme_supports('menus')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-menus">' . __('Manage menus') . '</a>', admin_url('nav-menus.php'));
        ?></li>
		<?php 
    }
    ?>
		<?php 
    if (current_user_can('manage_options')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-comments">' . __('Turn comments on or off') . '</a>', admin_url('options-discussion.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-learn-more">' . __('Learn more about getting started') . '</a>', __('https://wordpress.org/support/article/first-steps-with-wordpress-b/'));
    ?></li>
		</ul>
	</div>
	</div>
	</div>
	<?php 
}

WordPress Version: 5.3

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 */
function wp_welcome_panel()
{
    ?>
	<div class="welcome-panel-content">
	<h2><?php 
    _e('Welcome to WordPress!');
    ?></h2>
	<p class="about-description"><?php 
    _e('We&#8217;ve assembled some links to get you started:');
    ?></p>
	<div class="welcome-panel-column-container">
	<div class="welcome-panel-column">
		<?php 
    if (current_user_can('customize')) {
        ?>
			<h3><?php 
        _e('Get Started');
        ?></h3>
			<a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php 
        echo wp_customize_url();
        ?>"><?php 
        _e('Customize Your Site');
        ?></a>
		<?php 
    }
    ?>
		<a class="button button-primary button-hero hide-if-customize" href="<?php 
    echo admin_url('themes.php');
    ?>"><?php 
    _e('Customize Your Site');
    ?></a>
		<?php 
    if (current_user_can('install_themes') || current_user_can('switch_themes') && count(wp_get_themes(array('allowed' => true))) > 1) {
        ?>
			<?php 
        $themes_link = current_user_can('customize') ? add_query_arg('autofocus[panel]', 'themes', admin_url('customize.php')) : admin_url('themes.php');
        ?>
			<p class="hide-if-no-customize">
				<?php 
        /* translators: %s: URL to Themes panel in Customizer or Themes screen. */
        printf(__('or, <a href="%s">change your theme completely</a>'), $themes_link);
        ?>
			</p>
		<?php 
    }
    ?>
	</div>
	<div class="welcome-panel-column">
		<h3><?php 
    _e('Next Steps');
    ?></h3>
		<ul>
		<?php 
    if ('page' == get_option('show_on_front') && !get_option('page_for_posts')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    } elseif ('page' == get_option('show_on_front')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Add a blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
		<?php 
    } else {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Write your first blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add an About page') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-setup-home">' . __('Set up your homepage') . '</a>', current_user_can('customize') ? add_query_arg('autofocus[section]', 'static_front_page', admin_url('customize.php')) : admin_url('options-reading.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-view-site">' . __('View your site') . '</a>', home_url('/'));
    ?></li>
		</ul>
	</div>
	<div class="welcome-panel-column welcome-panel-last">
		<h3><?php 
    _e('More Actions');
    ?></h3>
		<ul>
		<?php 
    if (current_theme_supports('widgets') || current_theme_supports('menus')) {
        if (current_theme_supports('widgets') && current_theme_supports('menus')) {
            $widgets_menus_link = sprintf(
                /* translators: 1: URL to Widgets screen, 2: URL to Menus screen. */
                __('Manage <a href="%1$s">widgets</a> or <a href="%2$s">menus</a>'),
                admin_url('widgets.php'),
                admin_url('nav-menus.php')
            );
        } elseif (current_theme_supports('widgets')) {
            $widgets_menus_link = '<a href="' . admin_url('widgets.php') . '">' . __('Manage widgets') . '</a>';
        } else {
            $widgets_menus_link = '<a href="' . admin_url('nav-menus.php') . '">' . __('Manage menus') . '</a>';
        }
        ?>
			<li><div class="welcome-icon welcome-widgets-menus"><?php 
        echo $widgets_menus_link;
        ?></div></li>
		<?php 
    }
    ?>
		<?php 
    if (current_user_can('manage_options')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-comments">' . __('Turn comments on or off') . '</a>', admin_url('options-discussion.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-learn-more">' . __('Learn more about getting started') . '</a>', __('https://wordpress.org/support/article/first-steps-with-wordpress-b/'));
    ?></li>
		</ul>
	</div>
	</div>
	</div>
	<?php 
}

WordPress Version: 5.1

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 */
function wp_welcome_panel()
{
    ?>
	<div class="welcome-panel-content">
	<h2><?php 
    _e('Welcome to WordPress!');
    ?></h2>
	<p class="about-description"><?php 
    _e('We&#8217;ve assembled some links to get you started:');
    ?></p>
	<div class="welcome-panel-column-container">
	<div class="welcome-panel-column">
		<?php 
    if (current_user_can('customize')) {
        ?>
			<h3><?php 
        _e('Get Started');
        ?></h3>
			<a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php 
        echo wp_customize_url();
        ?>"><?php 
        _e('Customize Your Site');
        ?></a>
		<?php 
    }
    ?>
		<a class="button button-primary button-hero hide-if-customize" href="<?php 
    echo admin_url('themes.php');
    ?>"><?php 
    _e('Customize Your Site');
    ?></a>
		<?php 
    if (current_user_can('install_themes') || current_user_can('switch_themes') && count(wp_get_themes(array('allowed' => true))) > 1) {
        ?>
			<?php 
        $themes_link = current_user_can('customize') ? add_query_arg('autofocus[panel]', 'themes', admin_url('customize.php')) : admin_url('themes.php');
        ?>
			<p class="hide-if-no-customize"><?php 
        printf(__('or, <a href="%s">change your theme completely</a>'), $themes_link);
        ?></p>
		<?php 
    }
    ?>
	</div>
	<div class="welcome-panel-column">
		<h3><?php 
    _e('Next Steps');
    ?></h3>
		<ul>
		<?php 
    if ('page' == get_option('show_on_front') && !get_option('page_for_posts')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    } elseif ('page' == get_option('show_on_front')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Add a blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
		<?php 
    } else {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Write your first blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add an About page') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-setup-home">' . __('Set up your homepage') . '</a>', current_user_can('customize') ? add_query_arg('autofocus[section]', 'static_front_page', admin_url('customize.php')) : admin_url('options-reading.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-view-site">' . __('View your site') . '</a>', home_url('/'));
    ?></li>
		</ul>
	</div>
	<div class="welcome-panel-column welcome-panel-last">
		<h3><?php 
    _e('More Actions');
    ?></h3>
		<ul>
		<?php 
    if (current_theme_supports('widgets') || current_theme_supports('menus')) {
        ?>
			<li><div class="welcome-icon welcome-widgets-menus">
			<?php 
        if (current_theme_supports('widgets') && current_theme_supports('menus')) {
            printf(__('Manage <a href="%1$s">widgets</a> or <a href="%2$s">menus</a>'), admin_url('widgets.php'), admin_url('nav-menus.php'));
        } elseif (current_theme_supports('widgets')) {
            echo '<a href="' . admin_url('widgets.php') . '">' . __('Manage widgets') . '</a>';
        } else {
            echo '<a href="' . admin_url('nav-menus.php') . '">' . __('Manage menus') . '</a>';
        }
        ?>
			</div></li>
		<?php 
    }
    ?>
		<?php 
    if (current_user_can('manage_options')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-comments">' . __('Turn comments on or off') . '</a>', admin_url('options-discussion.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-learn-more">' . __('Learn more about getting started') . '</a>', __('https://codex.wordpress.org/First_Steps_With_WordPress'));
    ?></li>
		</ul>
	</div>
	</div>
	</div>
	<?php 
}

WordPress Version: 4.9

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 */
function wp_welcome_panel()
{
    ?>
	<div class="welcome-panel-content">
	<h2><?php 
    _e('Welcome to WordPress!');
    ?></h2>
	<p class="about-description"><?php 
    _e('We&#8217;ve assembled some links to get you started:');
    ?></p>
	<div class="welcome-panel-column-container">
	<div class="welcome-panel-column">
		<?php 
    if (current_user_can('customize')) {
        ?>
			<h3><?php 
        _e('Get Started');
        ?></h3>
			<a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php 
        echo wp_customize_url();
        ?>"><?php 
        _e('Customize Your Site');
        ?></a>
		<?php 
    }
    ?>
		<a class="button button-primary button-hero hide-if-customize" href="<?php 
    echo admin_url('themes.php');
    ?>"><?php 
    _e('Customize Your Site');
    ?></a>
		<?php 
    if (current_user_can('install_themes') || current_user_can('switch_themes') && count(wp_get_themes(array('allowed' => true))) > 1) {
        ?>
			<?php 
        $themes_link = current_user_can('customize') ? add_query_arg('autofocus[panel]', 'themes', admin_url('customize.php')) : admin_url('themes.php');
        ?>
			<p class="hide-if-no-customize"><?php 
        printf(__('or, <a href="%s">change your theme completely</a>'), $themes_link);
        ?></p>
		<?php 
    }
    ?>
	</div>
	<div class="welcome-panel-column">
		<h3><?php 
    _e('Next Steps');
    ?></h3>
		<ul>
		<?php 
    if ('page' == get_option('show_on_front') && !get_option('page_for_posts')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    } elseif ('page' == get_option('show_on_front')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Add a blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
		<?php 
    } else {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Write your first blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add an About page') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-view-site">' . __('View your site') . '</a>', home_url('/'));
    ?></li>
		</ul>
	</div>
	<div class="welcome-panel-column welcome-panel-last">
		<h3><?php 
    _e('More Actions');
    ?></h3>
		<ul>
		<?php 
    if (current_theme_supports('widgets') || current_theme_supports('menus')) {
        ?>
			<li><div class="welcome-icon welcome-widgets-menus"><?php 
        if (current_theme_supports('widgets') && current_theme_supports('menus')) {
            printf(__('Manage <a href="%1$s">widgets</a> or <a href="%2$s">menus</a>'), admin_url('widgets.php'), admin_url('nav-menus.php'));
        } elseif (current_theme_supports('widgets')) {
            echo '<a href="' . admin_url('widgets.php') . '">' . __('Manage widgets') . '</a>';
        } else {
            echo '<a href="' . admin_url('nav-menus.php') . '">' . __('Manage menus') . '</a>';
        }
        ?></div></li>
		<?php 
    }
    ?>
		<?php 
    if (current_user_can('manage_options')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-comments">' . __('Turn comments on or off') . '</a>', admin_url('options-discussion.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-learn-more">' . __('Learn more about getting started') . '</a>', __('https://codex.wordpress.org/First_Steps_With_WordPress'));
    ?></li>
		</ul>
	</div>
	</div>
	</div>
	<?php 
}

WordPress Version: 4.4

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 */
function wp_welcome_panel()
{
    ?>
	<div class="welcome-panel-content">
	<h2><?php 
    _e('Welcome to WordPress!');
    ?></h2>
	<p class="about-description"><?php 
    _e('We&#8217;ve assembled some links to get you started:');
    ?></p>
	<div class="welcome-panel-column-container">
	<div class="welcome-panel-column">
		<?php 
    if (current_user_can('customize')) {
        ?>
			<h3><?php 
        _e('Get Started');
        ?></h3>
			<a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php 
        echo wp_customize_url();
        ?>"><?php 
        _e('Customize Your Site');
        ?></a>
		<?php 
    }
    ?>
		<a class="button button-primary button-hero hide-if-customize" href="<?php 
    echo admin_url('themes.php');
    ?>"><?php 
    _e('Customize Your Site');
    ?></a>
		<?php 
    if (current_user_can('install_themes') || current_user_can('switch_themes') && count(wp_get_themes(array('allowed' => true))) > 1) {
        ?>
			<p class="hide-if-no-customize"><?php 
        printf(__('or, <a href="%s">change your theme completely</a>'), admin_url('themes.php'));
        ?></p>
		<?php 
    }
    ?>
	</div>
	<div class="welcome-panel-column">
		<h3><?php 
    _e('Next Steps');
    ?></h3>
		<ul>
		<?php 
    if ('page' == get_option('show_on_front') && !get_option('page_for_posts')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    } elseif ('page' == get_option('show_on_front')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Add a blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
		<?php 
    } else {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Write your first blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add an About page') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-view-site">' . __('View your site') . '</a>', home_url('/'));
    ?></li>
		</ul>
	</div>
	<div class="welcome-panel-column welcome-panel-last">
		<h3><?php 
    _e('More Actions');
    ?></h3>
		<ul>
		<?php 
    if (current_theme_supports('widgets') || current_theme_supports('menus')) {
        ?>
			<li><div class="welcome-icon welcome-widgets-menus"><?php 
        if (current_theme_supports('widgets') && current_theme_supports('menus')) {
            printf(__('Manage <a href="%1$s">widgets</a> or <a href="%2$s">menus</a>'), admin_url('widgets.php'), admin_url('nav-menus.php'));
        } elseif (current_theme_supports('widgets')) {
            echo '<a href="' . admin_url('widgets.php') . '">' . __('Manage widgets') . '</a>';
        } else {
            echo '<a href="' . admin_url('nav-menus.php') . '">' . __('Manage menus') . '</a>';
        }
        ?></div></li>
		<?php 
    }
    ?>
		<?php 
    if (current_user_can('manage_options')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-comments">' . __('Turn comments on or off') . '</a>', admin_url('options-discussion.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-learn-more">' . __('Learn more about getting started') . '</a>', __('https://codex.wordpress.org/First_Steps_With_WordPress'));
    ?></li>
		</ul>
	</div>
	</div>
	</div>
	<?php 
}

WordPress Version: 4.2

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 */
function wp_welcome_panel()
{
    ?>
	<div class="welcome-panel-content">
	<h3><?php 
    _e('Welcome to WordPress!');
    ?></h3>
	<p class="about-description"><?php 
    _e('We&#8217;ve assembled some links to get you started:');
    ?></p>
	<div class="welcome-panel-column-container">
	<div class="welcome-panel-column">
		<?php 
    if (current_user_can('customize')) {
        ?>
			<h4><?php 
        _e('Get Started');
        ?></h4>
			<a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php 
        echo wp_customize_url();
        ?>"><?php 
        _e('Customize Your Site');
        ?></a>
		<?php 
    }
    ?>
		<a class="button button-primary button-hero hide-if-customize" href="<?php 
    echo admin_url('themes.php');
    ?>"><?php 
    _e('Customize Your Site');
    ?></a>
		<?php 
    if (current_user_can('install_themes') || current_user_can('switch_themes') && count(wp_get_themes(array('allowed' => true))) > 1) {
        ?>
			<p class="hide-if-no-customize"><?php 
        printf(__('or, <a href="%s">change your theme completely</a>'), admin_url('themes.php'));
        ?></p>
		<?php 
    }
    ?>
	</div>
	<div class="welcome-panel-column">
		<h4><?php 
    _e('Next Steps');
    ?></h4>
		<ul>
		<?php 
    if ('page' == get_option('show_on_front') && !get_option('page_for_posts')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    } elseif ('page' == get_option('show_on_front')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Add a blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
		<?php 
    } else {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Write your first blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add an About page') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-view-site">' . __('View your site') . '</a>', home_url('/'));
    ?></li>
		</ul>
	</div>
	<div class="welcome-panel-column welcome-panel-last">
		<h4><?php 
    _e('More Actions');
    ?></h4>
		<ul>
		<?php 
    if (current_theme_supports('widgets') || current_theme_supports('menus')) {
        ?>
			<li><div class="welcome-icon welcome-widgets-menus"><?php 
        if (current_theme_supports('widgets') && current_theme_supports('menus')) {
            printf(__('Manage <a href="%1$s">widgets</a> or <a href="%2$s">menus</a>'), admin_url('widgets.php'), admin_url('nav-menus.php'));
        } elseif (current_theme_supports('widgets')) {
            echo '<a href="' . admin_url('widgets.php') . '">' . __('Manage widgets') . '</a>';
        } else {
            echo '<a href="' . admin_url('nav-menus.php') . '">' . __('Manage menus') . '</a>';
        }
        ?></div></li>
		<?php 
    }
    ?>
		<?php 
    if (current_user_can('manage_options')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-comments">' . __('Turn comments on or off') . '</a>', admin_url('options-discussion.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-learn-more">' . __('Learn more about getting started') . '</a>', __('https://codex.wordpress.org/First_Steps_With_WordPress'));
    ?></li>
		</ul>
	</div>
	</div>
	</div>
	<?php 
}

WordPress Version: 4.0

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 */
function wp_welcome_panel()
{
    ?>
	<div class="welcome-panel-content">
	<h3><?php 
    _e('Welcome to WordPress!');
    ?></h3>
	<p class="about-description"><?php 
    _e('We&#8217;ve assembled some links to get you started:');
    ?></p>
	<div class="welcome-panel-column-container">
	<div class="welcome-panel-column">
		<?php 
    if (current_user_can('customize')) {
        ?>
			<h4><?php 
        _e('Get Started');
        ?></h4>
			<a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php 
        echo wp_customize_url();
        ?>"><?php 
        _e('Customize Your Site');
        ?></a>
		<?php 
    }
    ?>
		<a class="button button-primary button-hero hide-if-customize" href="<?php 
    echo admin_url('themes.php');
    ?>"><?php 
    _e('Customize Your Site');
    ?></a>
		<?php 
    if (current_user_can('install_themes') || current_user_can('switch_themes') && count(wp_get_themes(array('allowed' => true))) > 1) {
        ?>
			<p class="hide-if-no-customize"><?php 
        printf(__('or, <a href="%s">change your theme completely</a>'), admin_url('themes.php'));
        ?></p>
		<?php 
    }
    ?>
	</div>
	<div class="welcome-panel-column">
		<h4><?php 
    _e('Next Steps');
    ?></h4>
		<ul>
		<?php 
    if ('page' == get_option('show_on_front') && !get_option('page_for_posts')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    } elseif ('page' == get_option('show_on_front')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Add a blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
		<?php 
    } else {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Write your first blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add an About page') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-view-site">' . __('View your site') . '</a>', home_url('/'));
    ?></li>
		</ul>
	</div>
	<div class="welcome-panel-column welcome-panel-last">
		<h4><?php 
    _e('More Actions');
    ?></h4>
		<ul>
		<?php 
    if (current_theme_supports('widgets') || current_theme_supports('menus')) {
        ?>
			<li><div class="welcome-icon welcome-widgets-menus"><?php 
        if (current_theme_supports('widgets') && current_theme_supports('menus')) {
            printf(__('Manage <a href="%1$s">widgets</a> or <a href="%2$s">menus</a>'), admin_url('widgets.php'), admin_url('nav-menus.php'));
        } elseif (current_theme_supports('widgets')) {
            echo '<a href="' . admin_url('widgets.php') . '">' . __('Manage widgets') . '</a>';
        } else {
            echo '<a href="' . admin_url('nav-menus.php') . '">' . __('Manage menus') . '</a>';
        }
        ?></div></li>
		<?php 
    }
    ?>
		<?php 
    if (current_user_can('manage_options')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-comments">' . __('Turn comments on or off') . '</a>', admin_url('options-discussion.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-learn-more">' . __('Learn more about getting started') . '</a>', __('http://codex.wordpress.org/First_Steps_With_WordPress'));
    ?></li>
		</ul>
	</div>
	</div>
	</div>
	<?php 
}

WordPress Version: 3.9

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 */
function wp_welcome_panel()
{
    ?>
	<div class="welcome-panel-content">
	<h3><?php 
    _e('Welcome to WordPress!');
    ?></h3>
	<p class="about-description"><?php 
    _e('We&#8217;ve assembled some links to get you started:');
    ?></p>
	<div class="welcome-panel-column-container">
	<div class="welcome-panel-column">
		<h4><?php 
    _e('Get Started');
    ?></h4>
		<a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php 
    echo wp_customize_url();
    ?>"><?php 
    _e('Customize Your Site');
    ?></a>
		<a class="button button-primary button-hero hide-if-customize" href="<?php 
    echo admin_url('themes.php');
    ?>"><?php 
    _e('Customize Your Site');
    ?></a>
		<?php 
    if (current_user_can('install_themes') || current_user_can('switch_themes') && count(wp_get_themes(array('allowed' => true))) > 1) {
        ?>
			<p class="hide-if-no-customize"><?php 
        printf(__('or, <a href="%s">change your theme completely</a>'), admin_url('themes.php'));
        ?></p>
		<?php 
    }
    ?>
	</div>
	<div class="welcome-panel-column">
		<h4><?php 
    _e('Next Steps');
    ?></h4>
		<ul>
		<?php 
    if ('page' == get_option('show_on_front') && !get_option('page_for_posts')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    } elseif ('page' == get_option('show_on_front')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Add a blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
		<?php 
    } else {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Write your first blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add an About page') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-view-site">' . __('View your site') . '</a>', home_url('/'));
    ?></li>
		</ul>
	</div>
	<div class="welcome-panel-column welcome-panel-last">
		<h4><?php 
    _e('More Actions');
    ?></h4>
		<ul>
		<?php 
    if (current_theme_supports('widgets') || current_theme_supports('menus')) {
        ?>
			<li><div class="welcome-icon welcome-widgets-menus"><?php 
        if (current_theme_supports('widgets') && current_theme_supports('menus')) {
            printf(__('Manage <a href="%1$s">widgets</a> or <a href="%2$s">menus</a>'), admin_url('widgets.php'), admin_url('nav-menus.php'));
        } elseif (current_theme_supports('widgets')) {
            echo '<a href="' . admin_url('widgets.php') . '">' . __('Manage widgets') . '</a>';
        } else {
            echo '<a href="' . admin_url('nav-menus.php') . '">' . __('Manage menus') . '</a>';
        }
        ?></div></li>
		<?php 
    }
    ?>
		<?php 
    if (current_user_can('manage_options')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-comments">' . __('Turn comments on or off') . '</a>', admin_url('options-discussion.php'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-learn-more">' . __('Learn more about getting started') . '</a>', __('http://codex.wordpress.org/First_Steps_With_WordPress'));
    ?></li>
		</ul>
	</div>
	</div>
	</div>
	<?php 
}

WordPress Version: 3.7

/**
 * Displays a welcome panel to introduce users to WordPress.
 *
 * @since 3.3.0
 */
function wp_welcome_panel()
{
    ?>
	<div class="welcome-panel-content">
	<h3><?php 
    _e('Welcome to WordPress!');
    ?></h3>
	<p class="about-description"><?php 
    _e('We&#8217;ve assembled some links to get you started:');
    ?></p>
	<div class="welcome-panel-column-container">
	<div class="welcome-panel-column">
		<h4><?php 
    _e('Get Started');
    ?></h4>
		<a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php 
    echo wp_customize_url();
    ?>"><?php 
    _e('Customize Your Site');
    ?></a>
		<a class="button button-primary button-hero hide-if-customize" href="<?php 
    echo admin_url('themes.php');
    ?>"><?php 
    _e('Customize Your Site');
    ?></a>
		<?php 
    if (current_user_can('install_themes') || current_user_can('switch_themes') && count(wp_get_themes(array('allowed' => true))) > 1) {
        ?>
			<p class="hide-if-no-customize"><?php 
        printf(__('or, <a href="%s">change your theme completely</a>'), admin_url('themes.php'));
        ?></p>
		<?php 
    }
    ?>
	</div>
	<div class="welcome-panel-column">
		<h4><?php 
    _e('Next Steps');
    ?></h4>
		<ul>
		<?php 
    if ('page' == get_option('show_on_front') && !get_option('page_for_posts')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    } elseif ('page' == get_option('show_on_front')) {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-edit-page">' . __('Edit your front page') . '</a>', get_edit_post_link(get_option('page_on_front')));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add additional pages') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Add a blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
		<?php 
    } else {
        ?>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-write-blog">' . __('Write your first blog post') . '</a>', admin_url('post-new.php'));
        ?></li>
			<li><?php 
        printf('<a href="%s" class="welcome-icon welcome-add-page">' . __('Add an About page') . '</a>', admin_url('post-new.php?post_type=page'));
        ?></li>
		<?php 
    }
    ?>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-view-site">' . __('View your site') . '</a>', home_url('/'));
    ?></li>
		</ul>
	</div>
	<div class="welcome-panel-column welcome-panel-last">
		<h4><?php 
    _e('More Actions');
    ?></h4>
		<ul>
			<li><?php 
    printf('<div class="welcome-icon welcome-widgets-menus">' . __('Manage <a href="%1$s">widgets</a> or <a href="%2$s">menus</a>') . '</div>', admin_url('widgets.php'), admin_url('nav-menus.php'));
    ?></li>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-comments">' . __('Turn comments on or off') . '</a>', admin_url('options-discussion.php'));
    ?></li>
			<li><?php 
    printf('<a href="%s" class="welcome-icon welcome-learn-more">' . __('Learn more about getting started') . '</a>', __('http://codex.wordpress.org/First_Steps_With_WordPress'));
    ?></li>
		</ul>
	</div>
	</div>
	</div>
	<?php 
}