Making WordPress.org


Ignore:
Timestamp:
05/03/2023 11:33:44 PM (3 years ago)
Author:
adamwood
Message:

Learn: Sync with git WordPress/learn@83713e4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/functions.php

    r12473 r12570  
    708708
    709709                case 'lesson-plan':
    710                         $args['meta']  = wporg_learn_get_lesson_plan_taxonomy_data( $post_id, 'archive' );
     710                        $args['meta'] = array_merge(
     711                                wporg_learn_get_lesson_plan_taxonomy_data( $post_id, 'archive' ),
     712                                array(
     713                                        array(
     714                                                'icon'  => 'admin-site-alt3',
     715                                                'label' => __( 'Language:', 'wporg-learn' ),
     716                                                'value' => \WordPressdotorg\Locales\get_locale_name_from_code( $post->language, 'native' ),
     717                                        ),
     718                                )
     719                        );
    711720                        break;
    712721
Note: See TracChangeset for help on using the changeset viewer.