Making WordPress.org


Ignore:
Timestamp:
11/13/2024 02:53:50 AM (3 months ago)
Author:
adamwood
Message:

Support 2024: i18n for homepage 'Get started' links

Enables the slug for the welcome page to be translated, so that the 'Get started' links on the archive and homepage can be customized per locale.

Fixes https://meta.trac.wordpress.org/ticket/7821

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/archive-forum.php

    r13861 r14172  
    1616            <section>
    1717                <p><?php printf(
    18                     /* Translators: forums URL */
     18                    /* Translators: forums welcome page URL */
    1919                    __( 'Our community-based support forums are a great place to learn, share, and help each other. <a href="%s">Find out how to get started</a>.', 'wporg-forums' ),
    20                     esc_url( site_url( '/welcome/' ) )
     20                    esc_url( wporg_support_get_welcome_url() )
    2121                ) ?></p>
    2222            </section>
Note: See TracChangeset for help on using the changeset viewer.