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/patterns/welcome-cards.php

    r13312 r14172  
    2020
    2121                    <!-- wp:paragraph -->
    22                     <p>' . __( '<a href="https://wordpress.org/support/welcome/">Get started</a>', 'wporg-forums' ) . '</p>
     22                    <p>' . sprintf(
     23                        /* Translators: forums welcome page URL */
     24                        __( '<a href="%s">Get started</a>', 'wporg-forums' ),
     25                        esc_url( wporg_support_get_welcome_url() )
     26                    ) . '</p>
    2327                    <!-- /wp:paragraph -->
    2428
Note: See TracChangeset for help on using the changeset viewer.