<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[13705] sites/trunk/wordpress.org/public_html/wp-content: Learn: Sync with git WordPress/learn@af83214</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://meta.trac.wordpress.org/changeset/13705">13705</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://meta.trac.wordpress.org/changeset/13705","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>adamwood</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-05-15 01:45:40 +0000 (Wed, 15 May 2024)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Learn: Sync with git WordPress/learn@af83214</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnincadminphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/admin.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearninctaxonomyphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/taxonomy.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024functionsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/functions.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternsfrontpagecontentphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/front-page-content.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024stylecss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024templatesarchivecoursehtml">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/archive-course.html</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024templatessinglelessonhtml">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/single-lesson.html</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternslearningpathwaystermsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/learning-pathways-terms.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternsquerynoresultscoursephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/query-no-results-course.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternssenseilessonactionsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-actions.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024templatespagelearningpathwayshtml">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/page-learning-pathways.html</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024templatestaxonomylearningpathwayhtml">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/taxonomy-learning-pathway.html</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/inc/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternssenseilessonphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnincadminphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/admin.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/admin.php 2024-05-15 00:29:21 UTC (rev 13704)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/admin.php 2024-05-15 01:45:40 UTC (rev 13705)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,6 +6,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> use function WordPressdotorg\Locales\get_locales_with_english_names;
</span><span class="cx" style="display: block; padding: 0 10px"> use function WordPressdotorg\Locales\get_locale_name_from_code;
</span><span class="cx" style="display: block; padding: 0 10px"> use function WPOrg_Learn\Post_Meta\get_available_post_type_locales;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+use function WPOrg_Learn\Taxonomy\get_available_taxonomy_terms;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> defined( 'WPINC' ) || die();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -33,6 +34,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'pre_get_posts', __NAMESPACE__ . '\handle_list_table_views' );
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'bulk_edit_custom_box', __NAMESPACE__ . '\add_language_bulk_edit_field', 10, 2 );
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'save_post', __NAMESPACE__ . '\language_bulk_edit_save' );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+add_filter( 'sensei_course_custom_navigation_tabs', __NAMESPACE__ . '\add_sensei_course_custom_navigation_tabs' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Show a notice on taxonomy term screens about terms being translatable.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -223,7 +225,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Add filtering controls for the tutorial and lesson plan list tables.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Add filtering controls for the tutorial, lesson plan, lesson and course list tables.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $post_type
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $which
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -231,37 +233,76 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return void
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function add_admin_list_table_filters( $post_type, $which ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( ( 'wporg_workshop' !== $post_type && 'lesson-plan' !== $post_type ) || 'top' !== $which ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if (
+ (
+ 'wporg_workshop' !== $post_type &&
+ 'lesson-plan' !== $post_type &&
+ 'lesson' !== $post_type &&
+ 'course' !== $post_type
+ )
+ || 'top' !== $which
+ ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $post_status = filter_input( INPUT_GET, 'post_status', FILTER_SANITIZE_STRING );
- $available_locales = get_available_post_type_locales( 'language', $post_type, $post_status );
- $language = filter_input( INPUT_GET, 'language', FILTER_SANITIZE_STRING );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $audience = filter_input( INPUT_GET, 'wporg_audience', FILTER_SANITIZE_STRING );
+ $language = filter_input( INPUT_GET, 'language', FILTER_SANITIZE_STRING );
+ $level = filter_input( INPUT_GET, 'wporg_experience_level', FILTER_SANITIZE_STRING );
+ $post_status = filter_input( INPUT_GET, 'post_status', FILTER_SANITIZE_STRING );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $available_audiences = get_available_taxonomy_terms( 'audience', $post_type, $post_status );
+ $available_levels = get_available_taxonomy_terms( 'level', $post_type, $post_status );
+ $available_locales = get_available_post_type_locales( 'language', $post_type, $post_status );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <label for="filter-by-language" class="screen-reader-text">
- <?php esc_html_e( 'Filter by language', 'wporg-learn' ); ?>
- </label>
- <select id="filter-by-language" name="language">
- <option value=""<?php selected( ! $language ); ?>><?php esc_html_e( 'Any language', 'wporg-learn' ); ?></option>
- <?php foreach ( $available_locales as $code => $name ) : ?>
- <option value="<?php echo esc_attr( $code ); ?>"<?php selected( $code, $language ); ?>>
- <?php
- printf(
- '%s [%s]',
- esc_html( $name ),
- esc_html( $code )
- );
- ?>
- </option>
- <?php endforeach; ?>
- </select>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ <label for="filter-by-language" class="screen-reader-text">
+ <?php esc_html_e( 'Filter by language', 'wporg-learn' ); ?>
+ </label>
+ <select id="filter-by-language" name="language">
+ <option value=""<?php selected( ! $language ); ?>><?php esc_html_e( 'Any language', 'wporg-learn' ); ?></option>
+ <?php foreach ( $available_locales as $code => $name ) : ?>
+ <option value="<?php echo esc_attr( $code ); ?>"<?php selected( $code, $language ); ?>>
+ <?php
+ printf(
+ '%s [%s]',
+ esc_html( $name ),
+ esc_html( $code )
+ );
+ ?>
+ </option>
+ <?php endforeach; ?>
+ </select>
+
+ <label for="filter-by-audience" class="screen-reader-text">
+ <?php esc_html_e( 'Filter by audience', 'wporg-learn' ); ?>
+ </label>
+ <select id="filter-by-audience" name="wporg_audience">
+ <option value=""<?php selected( ! $audience ); ?>><?php esc_html_e( 'Any audience', 'wporg-learn' ); ?></option>
+ <?php foreach ( $available_audiences as $code => $name ) : ?>
+ <option value="<?php echo esc_attr( $code ); ?>"<?php selected( $code, $audience ); ?>>
+ <?php echo esc_html( $name ); ?>
+ </option>
+ <?php endforeach; ?>
+ </select>
+
+ <label for="filter-by-level" class="screen-reader-text">
+ <?php esc_html_e( 'Filter by level', 'wporg-learn' ); ?>
+ </label>
+ <select id="filter-by-level" name="wporg_experience_level">
+ <option value=""<?php selected( ! $level ); ?>><?php esc_html_e( 'Any level', 'wporg-learn' ); ?></option>
+ <?php foreach ( $available_levels as $code => $name ) : ?>
+ <option value="<?php echo esc_attr( $code ); ?>"<?php selected( $code, $level ); ?>>
+ <?php echo esc_html( $name ); ?>
+ </option>
+ <?php endforeach; ?>
+ </select>
+
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Alter the query to include tutorial and lesson plan list table filters.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Alter the query to include tutorial, lesson plan, lesson and course list table filters.
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Query $query
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -278,9 +319,46 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( 'edit-wporg_workshop' === $current_screen->id || 'edit-lesson-plan' === $current_screen->id ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if (
+ 'edit-wporg_workshop' === $current_screen->id ||
+ 'edit-lesson-plan' === $current_screen->id ||
+ 'edit-lesson' === $current_screen->id ||
+ 'edit-course' === $current_screen->id
+ ) {
+ $audience = filter_input( INPUT_GET, 'wporg_audience', FILTER_SANITIZE_STRING );
</ins><span class="cx" style="display: block; padding: 0 10px"> $language = filter_input( INPUT_GET, 'language', FILTER_SANITIZE_STRING );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $level = filter_input( INPUT_GET, 'wporg_experience_level', FILTER_SANITIZE_STRING );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Tax queries
+ $tax_query = $query->get( 'tax_query', array() );
+
+ if ( $audience ) {
+ $tax_query[] = array(
+ 'relation' => 'AND',
+ array(
+ 'taxonomy' => 'audience',
+ 'field' => 'slug',
+ 'terms' => $audience,
+ ),
+ );
+ }
+
+ if ( $level ) {
+ $tax_query[] = array(
+ 'relation' => 'AND',
+ array(
+ 'taxonomy' => 'level',
+ 'field' => 'slug',
+ 'terms' => $level,
+ ),
+ );
+ }
+
+ if ( ! empty( $tax_query ) ) {
+ $query->set( 'tax_query', $tax_query );
+ }
+
+ // Meta queries
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( $language ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $meta_query = $query->get( 'meta_query', array() );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -474,3 +552,19 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> update_post_meta( $post_id, 'language', $_REQUEST['language'] );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+/**
+ * Add custom navigation tabs for Sensei courses.
+ *
+ * @param array $tabs The existing navigation tabs.
+ * @return array The modified navigation tabs.
+ */
+function add_sensei_course_custom_navigation_tabs( $tabs ) {
+ $tabs['learning-pathways'] = array(
+ 'label' => __( 'Learning Pathways', 'wporg-learn' ),
+ 'url' => admin_url( 'edit-tags.php?taxonomy=learning-pathway&post_type=course' ),
+ 'screen_id' => 'edit-learning-pathway',
+ );
+
+ return $tabs;
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearninctaxonomyphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/taxonomy.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/taxonomy.php 2024-05-15 00:29:21 UTC (rev 13704)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/taxonomy.php 2024-05-15 01:45:40 UTC (rev 13705)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -32,6 +32,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> register_wp_version();
</span><span class="cx" style="display: block; padding: 0 10px"> register_included_content();
</span><span class="cx" style="display: block; padding: 0 10px"> register_topic();
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ register_learning_pathway();
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -61,7 +62,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'items_list_navigation' => __( 'Audiences list navigation', 'wporg-learn' ),
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $args = array(
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $args = array(
</ins><span class="cx" style="display: block; padding: 0 10px"> 'labels' => $labels,
</span><span class="cx" style="display: block; padding: 0 10px"> 'hierarchical' => true,
</span><span class="cx" style="display: block; padding: 0 10px"> 'public' => true,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -76,7 +77,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- register_taxonomy( 'audience', array( 'lesson-plan' ), $args );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ register_taxonomy( 'audience', array( 'lesson-plan', 'lesson', 'course' ), $args );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -240,7 +241,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'items_list_navigation' => __( 'Experience Levels list navigation', 'wporg-learn' ),
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $args = array(
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $args = array(
</ins><span class="cx" style="display: block; padding: 0 10px"> 'labels' => $labels,
</span><span class="cx" style="display: block; padding: 0 10px"> 'hierarchical' => true,
</span><span class="cx" style="display: block; padding: 0 10px"> 'public' => true,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -255,7 +256,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- register_taxonomy( 'level', array( 'lesson-plan' ), $args );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ register_taxonomy( 'level', array( 'lesson-plan', 'lesson', 'course' ), $args );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -529,6 +530,51 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Register the Learning Pathway taxonomy.
+ */
+function register_learning_pathway() {
+ $labels = array(
+ 'name' => _x( 'Learning Pathways', 'Taxonomy General Name', 'wporg-learn' ),
+ 'singular_name' => _x( 'Learning Pathway', 'Taxonomy Singular Name', 'wporg-learn' ),
+ 'menu_name' => __( 'Learning pathway', 'wporg-learn' ),
+ 'all_items' => __( 'All learning pathways', 'wporg-learn' ),
+ 'parent_item' => __( 'Parent learning pathway', 'wporg-learn' ),
+ 'parent_item_colon' => __( 'Parent learning pathway:', 'wporg-learn' ),
+ 'new_item_name' => __( 'New learning pathway Name', 'wporg-learn' ),
+ 'add_new_item' => __( 'Add New learning pathway', 'wporg-learn' ),
+ 'edit_item' => __( 'Edit learning pathway', 'wporg-learn' ),
+ 'update_item' => __( 'Update learning pathway', 'wporg-learn' ),
+ 'view_item' => __( 'View learning pathway', 'wporg-learn' ),
+ 'separate_items_with_commas' => __( 'Separate learning pathways with commas', 'wporg-learn' ),
+ 'add_or_remove_items' => __( 'Add or remove learning pathways', 'wporg-learn' ),
+ 'choose_from_most_used' => __( 'Choose from the most used', 'wporg-learn' ),
+ 'popular_items' => __( 'Popular learning pathways', 'wporg-learn' ),
+ 'search_items' => __( 'Search learning pathways', 'wporg-learn' ),
+ 'not_found' => __( 'No learning pathway found', 'wporg-learn' ),
+ 'no_terms' => __( 'No learning pathways', 'wporg-learn' ),
+ 'items_list' => __( 'Learning pathways list', 'wporg-learn' ),
+ 'items_list_navigation' => __( 'Learning pathways list navigation', 'wporg-learn' ),
+ );
+
+ $args = array(
+ 'labels' => $labels,
+ 'hierarchical' => false,
+ 'public' => true,
+ 'query_var' => 'wporg_learning_pathway', // Prevent collisions with query params in the archive
+ 'show_ui' => true,
+ 'show_admin_column' => true,
+ 'show_in_nav_menus' => true,
+ 'show_tagcloud' => false,
+ 'show_in_rest' => true,
+ 'capabilities' => array(
+ 'assign_terms' => 'edit_others_posts',
+ ),
+ );
+
+ register_taxonomy( 'learning-pathway', array( 'course' ), $args );
+}
+
+/**
</ins><span class="cx" style="display: block; padding: 0 10px"> * Add icon field for Category and Audience
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function register_custom_fields( $taxonomy ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -603,3 +649,49 @@
</span><span class="cx" style="display: block; padding: 0 10px"> rest_sanitize_boolean( $is_sticky )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+/**
+ * Get available taxonomy terms for a post type.
+ *
+ * @param string $taxonomy The taxonomy.
+ * @param string $post_type The post type.
+ * @param string $post_status The post status.
+ * @return array The available taxonomy terms.
+ */
+function get_available_taxonomy_terms( $taxonomy, $post_type, $post_status = null ) {
+ $posts = get_posts( array(
+ 'post_status' => $post_status ?? 'any',
+ 'post_type' => $post_type,
+ 'posts_per_page' => -1,
+ ) );
+
+ if ( empty( $posts ) ) {
+ return array();
+ }
+
+ $term_ids = array();
+ foreach ( $posts as $post ) {
+ $post_terms = wp_get_post_terms( $post->ID, $taxonomy, array( 'fields' => 'ids' ) );
+
+ if ( ! is_wp_error( $post_terms ) ) {
+ $term_ids = array_merge( $term_ids, $post_terms );
+ }
+ }
+
+ if ( empty( $term_ids ) ) {
+ return array();
+ }
+
+ $term_ids = array_unique( $term_ids );
+
+ $term_objects = get_terms( array(
+ 'taxonomy' => $taxonomy,
+ 'include' => $term_ids,
+ 'hide_empty' => false,
+ ) );
+
+ return array_reduce( $term_objects, function( $terms, $term_object ) {
+ $terms[ $term_object->slug ] = $term_object->name;
+ return $terms;
+ }, array());
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024functionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/functions.php 2024-05-15 00:29:21 UTC (rev 13704)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/functions.php 2024-05-15 01:45:40 UTC (rev 13705)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,57 +3,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> namespace WordPressdotorg\Theme\Learn_2024;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Shortcut to the build directory.
- *
- * @return string
- */
-function get_build_path() {
- return get_stylesheet_directory() . '/build/';
-}
-
-/**
- * Shortcut to the build URL.
- *
- * @return string
- */
-function get_build_url() {
- return get_stylesheet_directory_uri() . '/build/';
-}
-
-/**
- * Shortcut to the includes directory.
- *
- * @return string
- */
-function get_includes_path() {
- return get_stylesheet_directory() . '/inc/';
-}
-
-/**
- * Shortcut to the views directory.
- *
- * @return string
- */
-function get_views_path() {
- return get_stylesheet_directory() . '/views/';
-}
-
-/**
- * Admin.
- */
-require get_includes_path() . 'admin.php';
-
-/**
- * Capabilities.
- */
-require get_includes_path() . 'capabilities.php';
-
-/**
- * Taxonomies.
- */
-require get_includes_path() . 'taxonomy.php';
-
-/**
</del><span class="cx" style="display: block; padding: 0 10px"> * Actions and filters.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'after_setup_theme', __NAMESPACE__ . '\setup' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -111,9 +60,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // stylesheet as a dependency.
</span><span class="cx" style="display: block; padding: 0 10px"> wp_enqueue_style(
</span><span class="cx" style="display: block; padding: 0 10px"> 'wporg-learn-2024-style',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- get_build_url() . 'style/style-index.css',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ get_stylesheet_directory_uri() . '/build/style/style-index.css',
</ins><span class="cx" style="display: block; padding: 0 10px"> array( 'wporg-parent-2021-style', 'wporg-global-fonts' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- filemtime( get_build_path() . 'style/style-index.css' )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ filemtime( get_stylesheet_directory() . '/build/style/style-index.css' )
</ins><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Preload the heading font(s).
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -143,21 +92,37 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'learn' => array(
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'label' => __( 'Learning Pathways', 'wporg-learn' ),
+ 'url' => '/learning-pathways/',
+ ),
+ array(
</ins><span class="cx" style="display: block; padding: 0 10px"> 'label' => __( 'User', 'wporg-learn' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'url' => '/learning-pathways/user/',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'url' => '/learning-pathway/user/',
</ins><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'label' => __( 'Designer', 'wporg-learn' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'url' => '/learning-pathways/designer/',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'url' => '/learning-pathway/designer/',
</ins><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'label' => __( 'Contributor', 'wporg-learn' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'url' => '/learning-pathways/contributor/',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'url' => '/learning-pathway/contributor/',
</ins><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'label' => __( 'Developer', 'wporg-learn' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'url' => '/learning-pathways/developer/',
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'url' => '/learning-pathway/developer/',
</ins><span class="cx" style="display: block; padding: 0 10px"> ),
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ array(
+ 'label' => __( 'Courses', 'wporg-learn' ),
+ 'url' => '/courses/',
+ ),
+ array(
+ 'label' => __( 'Lessons', 'wporg-learn' ),
+ 'url' => '/lessons/',
+ ),
+ array(
+ 'label' => __( 'Online Workshops', 'wporg-learn' ),
+ 'url' => '/online-workshops/',
+ ),
</ins><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternsfrontpagecontentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/front-page-content.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/front-page-content.php 2024-05-15 00:29:21 UTC (rev 13704)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/front-page-content.php 2024-05-15 01:45:40 UTC (rev 13705)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,10 +9,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-block-group alignwide">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:heading {"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"className":"is-style-short-text","fontSize":"heading-5"} -->
</span><span class="cx" style="display: block; padding: 0 10px"> <h2 class="wp-block-heading is-style-short-text has-heading-5-font-size" style="font-style:normal;font-weight:600"><?php esc_html_e( 'Get Started', 'wporg-learn' ); ?></h2>
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:heading -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <!-- wp:pattern {"slug":"wporg-learn-2024/learning-pathways-terms"} /-->
+
</ins><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:group -->
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternslearningpathwaystermsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/learning-pathways-terms.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/learning-pathways-terms.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/learning-pathways-terms.php 2024-05-15 01:45:40 UTC (rev 13705)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,31 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Title: Learning Pathways Page content
+ * Slug: wporg-learn-2024/learning-pathways-terms
+ * Inserter: no
+ */
+
+/**
+ * TODO https://github.com/WordPress/Learn/issues/2430
+ * This is a temporary solution to display the learning pathways on the learning pathways page.
+ * This will be replaced with a block in the future.
+ */
+
+$learning_pathways = get_terms(
+ array(
+ 'taxonomy' => 'learning-pathway',
+ 'hide_empty' => false,
+ )
+);
+
+if ( ! empty( $learning_pathways ) && ! is_wp_error( $learning_pathways ) ) { ?>
+ <ul>
+ <?php foreach ( $learning_pathways as $learning_pathway ) { ?>
+ <li>
+ <a href="<?php echo esc_url( get_term_link( $learning_pathway ) ); ?>">
+ <?php echo esc_html( $learning_pathway->name ); ?>
+ </a>
+ </li>
+ <?php } ?>
+ </ul>
+<?php }
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/learning-pathways-terms.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternsquerynoresultscoursephp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/query-no-results-course.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/query-no-results-course.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/query-no-results-course.php 2024-05-15 01:45:40 UTC (rev 13705)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,16 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Title: Query no Courses found
+ * Slug: wporg-learn-2024/query-no-results-course
+ * Inserter: no
+ */
+
+?>
+
+<!-- wp:query-no-results -->
+
+ <!-- wp:paragraph -->
+ <p><?php echo esc_html__( 'No Courses found.', 'wporg-learn' ); ?></p>
+ <!-- /wp:paragraph -->
+
+<!-- /wp:query-no-results -->
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/query-no-results-course.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternssenseilessonactionsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-actions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-actions.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-actions.php 2024-05-15 01:45:40 UTC (rev 13705)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,32 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Title: Sensei Lesson Actions
+ * Slug: wporg-learn-2024/sensei-lesson-actions
+ * Inserter: no
+ *
+ * Original source: https://github.com/Automattic/sensei/blob/af62fb1115daf2063bc56331a7d8b1b3ea805866/themes/sensei-course-theme/templates/default/lesson.php
+ */
+
+?>
+
+<!-- wp:sensei-lms/lesson-actions {"toggledBlocks":{"sensei-lms/button-reset-lesson":false}} -->
+<div class="wp-block-sensei-lms-lesson-actions">
+ <div class="sensei-buttons-container">
+ <!-- wp:sensei-lms/button-complete-lesson {"inContainer":true,"className":"is-style-outline"} -->
+ <div class="wp-block-sensei-lms-button-complete-lesson is-style-outline sensei-buttons-container__button-block wp-block-sensei-lms-button-complete-lesson__wrapper"><div class="wp-block-sensei-lms-button-complete-lesson is-style-outline wp-block-sensei-button wp-block-button has-text-align-left"><button class="wp-block-button__link sensei-stop-double-submission"><?php esc_html_e( 'Complete Lesson', 'sensei-lms' ); ?></button></div></div>
+ <!-- /wp:sensei-lms/button-complete-lesson -->
+
+ <!-- wp:sensei-lms/button-view-quiz {"inContainer":true} -->
+ <div class="wp-block-sensei-lms-button-view-quiz is-style-default sensei-buttons-container__button-block wp-block-sensei-lms-button-view-quiz__wrapper"><div class="wp-block-sensei-lms-button-view-quiz is-style-default wp-block-sensei-button wp-block-button has-text-align-left"><button class="wp-block-button__link"><?php esc_html_e( 'Take Quiz', 'sensei-lms' ); ?></button></div></div>
+ <!-- /wp:sensei-lms/button-view-quiz -->
+
+ <!-- wp:sensei-lms/button-lesson-completed {"inContainer":true,"className":"is-style-outline"} -->
+ <div class="wp-block-sensei-lms-button-lesson-completed is-style-outline sensei-buttons-container__button-block wp-block-sensei-lms-button-lesson-completed__wrapper"><div class="wp-block-sensei-lms-button-lesson-completed is-style-outline wp-block-sensei-button wp-block-button has-text-align-left"><button class="wp-block-button__link"><?php esc_html_e( 'Completed', 'sensei-lms' ); ?></button></div></div>
+ <!-- /wp:sensei-lms/button-lesson-completed -->
+
+ <!-- wp:sensei-lms/button-next-lesson {"inContainer":true} -->
+ <div class="wp-block-sensei-lms-button-next-lesson is-style-default sensei-buttons-container__button-block wp-block-sensei-lms-button-next-lesson__wrapper"><div class="wp-block-sensei-lms-button-next-lesson is-style-default wp-block-sensei-button wp-block-button has-text-align-left"><button class="wp-block-button__link"><?php esc_html_e( 'Next Lesson', 'sensei-lms' ); ?></button></div></div>
+ <!-- /wp:sensei-lms/button-next-lesson -->
+ </div>
+</div>
+<!-- /wp:sensei-lms/lesson-actions -->
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-actions.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternssenseilessonphp"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson.php 2024-05-15 00:29:21 UTC (rev 13704)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson.php 2024-05-15 01:45:40 UTC (rev 13705)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,70 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php
-/**
- * Title: Sensei Lesson content
- * Slug: wporg-learn-2024/sensei-lesson
- * Inserter: no
- *
- * Original source: https://github.com/Automattic/sensei/blob/af62fb1115daf2063bc56331a7d8b1b3ea805866/themes/sensei-course-theme/templates/default/lesson.php
- */
-
-?>
-
-<!-- wp:pattern {"slug":"wporg-learn-2024/sensei-lesson-header"} /-->
-
-<!-- wp:sensei-lms/ui {"elementClass":"sensei-course-theme__columns","className":"sensei-version\u002d\u002d4-16-2"} -->
-<div class="wp-block-sensei-lms-ui sensei-course-theme__columns sensei-version--4-16-2">
-
- <!-- wp:sensei-lms/ui {"elementClass":"sensei-course-theme__sidebar","className":"","style"={"spacing":{"margin":{"top":"var:preset|spacing|50"},"padding":{"top":"var:preset|spacing|20","right":"var:preset|spacing|30","bottom":"var:preset|spacing|50","left":"var:preset|spacing|edge-space"}}}} -->
- <div class="wp-block-sensei-lms-ui sensei-course-theme__frame sensei-course-theme__sidebar" style="margin-top:var(--wp--preset--spacing--50);padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--edge-space)">
-
- <!-- wp:sensei-lms/course-navigation /-->
-
- </div>
- <!-- /wp:sensei-lms/ui -->
-
- <!-- wp:sensei-lms/ui {"elementClass":"sensei-course-theme__main-content","lock":{"move":false,"remove":false},"style"={"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|edge-space"}}}} -->
- <div class="wp-block-sensei-lms-ui sensei-course-theme__main-content" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--edge-space)">
-
- <!-- wp:sensei-lms/course-theme-lesson-module /-->
-
- <!-- wp:post-title {"level":1,"fontSize":"heading-1"} /-->
-
- <!-- wp:sensei-lms/course-theme-notices /-->
-
- <!-- wp:post-content {"layout":{"inherit":true}} /-->
-
- <!-- wp:group {"style":{"spacing":{"margin":{"top":"40px"}}},"layout":{"type":"constrained"}} -->
- <div class="wp-block-group" style="margin-top:40px">
- <!-- wp:sensei-lms/page-actions {"style":{"spacing":{"blockGap":"43px"}}} /-->
-
- <!-- wp:group {"style":{"spacing":{"margin":{"top":"20px"}}},"className":"sensei-lesson-footer","layout":{"type":"flex","flexWrap":"nowrap"}} -->
- <div class="wp-block-group sensei-lesson-footer" style="margin-top:20px">
- <!-- wp:sensei-lms/lesson-actions {"toggledBlocks":{"sensei-lms/button-reset-lesson":false}} -->
- <div class="wp-block-sensei-lms-lesson-actions">
- <div class="sensei-buttons-container">
- <!-- wp:sensei-lms/button-complete-lesson {"inContainer":true,"className":"is-style-outline"} -->
- <div class="wp-block-sensei-lms-button-complete-lesson is-style-outline sensei-buttons-container__button-block wp-block-sensei-lms-button-complete-lesson__wrapper"><div class="wp-block-sensei-lms-button-complete-lesson is-style-outline wp-block-sensei-button wp-block-button has-text-align-left"><button class="wp-block-button__link sensei-stop-double-submission"><?php esc_html_e( 'Complete Lesson', 'sensei-lms' ); ?></button></div></div>
- <!-- /wp:sensei-lms/button-complete-lesson -->
-
- <!-- wp:sensei-lms/button-view-quiz {"inContainer":true} -->
- <div class="wp-block-sensei-lms-button-view-quiz is-style-default sensei-buttons-container__button-block wp-block-sensei-lms-button-view-quiz__wrapper"><div class="wp-block-sensei-lms-button-view-quiz is-style-default wp-block-sensei-button wp-block-button has-text-align-left"><button class="wp-block-button__link"><?php esc_html_e( 'Take Quiz', 'sensei-lms' ); ?></button></div></div>
- <!-- /wp:sensei-lms/button-view-quiz -->
-
- <!-- wp:sensei-lms/button-lesson-completed {"inContainer":true,"className":"is-style-outline"} -->
- <div class="wp-block-sensei-lms-button-lesson-completed is-style-outline sensei-buttons-container__button-block wp-block-sensei-lms-button-lesson-completed__wrapper"><div class="wp-block-sensei-lms-button-lesson-completed is-style-outline wp-block-sensei-button wp-block-button has-text-align-left"><button class="wp-block-button__link"><?php esc_html_e( 'Completed', 'sensei-lms' ); ?></button></div></div>
- <!-- /wp:sensei-lms/button-lesson-completed -->
-
- <!-- wp:sensei-lms/button-next-lesson {"inContainer":true} -->
- <div class="wp-block-sensei-lms-button-next-lesson is-style-default sensei-buttons-container__button-block wp-block-sensei-lms-button-next-lesson__wrapper"><div class="wp-block-sensei-lms-button-next-lesson is-style-default wp-block-sensei-button wp-block-button has-text-align-left"><button class="wp-block-button__link"><?php esc_html_e( 'Next Lesson', 'sensei-lms' ); ?></button></div></div>
- <!-- /wp:sensei-lms/button-next-lesson -->
- </div>
- </div>
- <!-- /wp:sensei-lms/lesson-actions -->
- </div>
- <!-- /wp:group -->
- </div>
- <!-- /wp:group -->
- </div>
- <!-- /wp:sensei-lms/ui -->
-</div>
-<!-- /wp:sensei-lms/ui -->
</del></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024stylecss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css 2024-05-15 00:29:21 UTC (rev 13704)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css 2024-05-15 01:45:40 UTC (rev 13705)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Author: WordPress.org
</span><span class="cx" style="display: block; padding: 0 10px"> * Author URI: http://wordpress.org/
</span><span class="cx" style="display: block; padding: 0 10px"> * Description: A theme for learn.wordpress.org, built in 2024.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Version: 1.0.0-d28b25b
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Version: 1.0.0-a6877da
</ins><span class="cx" style="display: block; padding: 0 10px"> * License: GNU General Public License v2 or later
</span><span class="cx" style="display: block; padding: 0 10px"> * License URI: http://www.gnu.org/licenses/gpl-2.0.html
</span><span class="cx" style="display: block; padding: 0 10px"> * Text Domain: wporg-learn
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024templatesarchivecoursehtml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/archive-course.html</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/archive-course.html 2024-05-15 00:29:21 UTC (rev 13704)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/archive-course.html 2024-05-15 01:45:40 UTC (rev 13705)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,7 +8,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:query-title {"type":"archive","showPrefix":false} /-->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <!-- wp:query {"queryId":10,"query":{"perPage":6,"pages":0,"offset":0,"postType":"course","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"metadata":{"categories":["posts"],"patternName":"core/query-grid-posts","name":"Grid"}} -->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <!-- wp:query {"queryId":10,"query":{"perPage":6,"pages":0,"offset":0,"postType":"course","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":true},"metadata":{"categories":["posts"],"patternName":"core/query-grid-posts","name":"Grid"}} -->
</ins><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-block-query">
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:post-template {"layout":{"type":"grid","columnCount":3}} -->
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,6 +26,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:group -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:post-template -->
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ <!-- wp:pattern {"slug":"wporg-learn-2024/query-no-results-course"} /-->
+
</ins><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:query -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024templatespagelearningpathwayshtml"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/page-learning-pathways.html</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/page-learning-pathways.html (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/page-learning-pathways.html 2024-05-15 01:45:40 UTC (rev 13705)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,19 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:template-part {"slug":"header","className":"has-display-contents"} /-->
+
+<!-- wp:group {"tagName":"main","layout":{"type":"constrained"},"className":"entry-content","style":{"spacing":{"blockGap":"0px"}}} -->
+<main class="wp-block-group entry-content">
+
+ <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space","top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"constrained"}} -->
+ <div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--edge-space)">
+
+ <!-- wp:post-title {"level":1,"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|30"}}}} /-->
+
+ <!-- wp:pattern {"slug":"wporg-learn-2024/learning-pathways-terms"} /-->
+
+ </div>
+ <!-- /wp:group -->
+
+</main>
+<!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer"} /-->
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/page-learning-pathways.html
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024templatessinglelessonhtml"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/single-lesson.html</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/single-lesson.html 2024-05-15 00:29:21 UTC (rev 13704)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/single-lesson.html 2024-05-15 01:45:40 UTC (rev 13705)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1 +1,43 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<!-- wp:pattern {"slug":"wporg-learn-2024/sensei-lesson"} /-->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- Original source: https://github.com/Automattic/sensei/blob/af62fb1115daf2063bc56331a7d8b1b3ea805866/themes/sensei-course-theme/templates/default/lesson.php /-->
+
+<!-- wp:pattern {"slug":"wporg-learn-2024/sensei-lesson-header"} /-->
+
+<!-- wp:sensei-lms/ui {"elementClass":"sensei-course-theme__columns","className":"sensei-version\u002d\u002d4-16-2"} -->
+<div class="wp-block-sensei-lms-ui sensei-course-theme__columns sensei-version--4-16-2">
+
+ <!-- wp:sensei-lms/ui {"elementClass":"sensei-course-theme__sidebar","className":"","style"={"spacing":{"margin":{"top":"var:preset|spacing|50"},"padding":{"top":"var:preset|spacing|20","right":"var:preset|spacing|30","bottom":"var:preset|spacing|50","left":"var:preset|spacing|edge-space"}}}} -->
+ <div class="wp-block-sensei-lms-ui sensei-course-theme__frame sensei-course-theme__sidebar" style="margin-top:var(--wp--preset--spacing--50);padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--edge-space)">
+
+ <!-- wp:sensei-lms/course-navigation /-->
+
+ </div>
+ <!-- /wp:sensei-lms/ui -->
+
+ <!-- wp:sensei-lms/ui {"elementClass":"sensei-course-theme__main-content","lock":{"move":false,"remove":false},"style"={"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|edge-space"}}}} -->
+ <div class="wp-block-sensei-lms-ui sensei-course-theme__main-content" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--edge-space)">
+
+ <!-- wp:sensei-lms/course-theme-lesson-module /-->
+
+ <!-- wp:post-title {"level":1,"fontSize":"heading-1"} /-->
+
+ <!-- wp:sensei-lms/course-theme-notices /-->
+
+ <!-- wp:post-content {"layout":{"inherit":true}} /-->
+
+ <!-- wp:group {"style":{"spacing":{"margin":{"top":"40px"}}},"layout":{"type":"constrained"}} -->
+ <div class="wp-block-group" style="margin-top:40px">
+ <!-- wp:sensei-lms/page-actions {"style":{"spacing":{"blockGap":"43px"}}} /-->
+
+ <!-- wp:group {"style":{"spacing":{"margin":{"top":"20px"}}},"className":"sensei-lesson-footer","layout":{"type":"flex","flexWrap":"nowrap"}} -->
+ <div class="wp-block-group sensei-lesson-footer" style="margin-top:20px">
+
+ <!-- wp:pattern {"slug":"wporg-learn-2024/sensei-lesson-actions"} /-->
+
+ </div>
+ <!-- /wp:group -->
+ </div>
+ <!-- /wp:group -->
+ </div>
+ <!-- /wp:sensei-lms/ui -->
+</div>
+<!-- /wp:sensei-lms/ui -->
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024templatestaxonomylearningpathwayhtml"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/taxonomy-learning-pathway.html</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/taxonomy-learning-pathway.html (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/taxonomy-learning-pathway.html 2024-05-15 01:45:40 UTC (rev 13705)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,35 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:template-part {"slug":"header","className":"has-display-contents"} /-->
+
+<!-- wp:group {"tagName":"main","layout":{"type":"constrained"},"className":"entry-content","style":{"spacing":{"blockGap":"0px"}}} -->
+<main class="wp-block-group entry-content">
+
+ <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space","top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"constrained"}} -->
+ <div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--edge-space)">
+
+ <!-- wp:query-title {"type":"archive","showPrefix":false} /-->
+
+ <!-- wp:query {"query":{"postType":"course","order":"desc","orderBy":"date","inherit":true}} -->
+ <div class="wp-block-query wp-block-sensei-lms-course-list">
+
+ <!-- wp:post-template -->
+
+ <!-- wp:post-title {"isLink":true} /-->
+
+ <!-- wp:post-featured-image {"isLink":true,"align":"wide"} /-->
+
+ <!-- wp:post-excerpt /-->
+
+ <!-- /wp:post-template -->
+
+ <!-- wp:pattern {"slug":"wporg-learn-2024/query-no-results-course"} /-->
+
+ </div>
+ <!-- /wp:query -->
+
+ </div>
+ <!-- /wp:group -->
+
+</main>
+<!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer"} /-->
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/taxonomy-learning-pathway.html
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span></div>
</body>
</html>