<!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>[13902] sites/trunk/wordpress.org/public_html/wp-content: Learn: Sync with git WordPress/learn@cafacec</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/13902">13902</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/13902","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-07-15 02:49:19 +0000 (Mon, 15 Jul 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@cafacec</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnincpostmetaphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/post-meta.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnwebpackconfigjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/webpack.config.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024incqueryphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/inc/query.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_htmlwpcontentthemespubwporglearn2024patternspagemycoursescontentphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/page-my-courses-content.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternspageonlineworkshopscontentphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/page-online-workshops-content.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternssidebarcoursephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sidebar-course.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternssidebardetailsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sidebar-details.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternssidebarlessonplanphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sidebar-lesson-plan.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>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlessonarchiveexcludedmetaassetphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-archive-excluded-meta.asset.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlessonarchiveexcludedmetajs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-archive-excluded-meta.js</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/lesson-archive-excluded-meta/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjslessonarchiveexcludedmetaindexjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/lesson-archive-excluded-meta/index.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildlessonarchiveexcludedmetaassetphp"></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/plugins/wporg-learn/build/lesson-archive-excluded-meta.asset.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/build/lesson-archive-excluded-meta.asset.php                         (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-archive-excluded-meta.asset.php   2024-07-15 02:49:19 UTC (rev 13902)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php return array('dependencies' => array('react', 'wp-components', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => '8d2e083e22101415fb2c');
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-archive-excluded-meta.asset.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_htmlwpcontentpluginswporglearnbuildlessonarchiveexcludedmetajs"></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/plugins/wporg-learn/build/lesson-archive-excluded-meta.js</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/build/lesson-archive-excluded-meta.js                                (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/lesson-archive-excluded-meta.js  2024-07-15 02:49:19 UTC (rev 13902)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+(()=>{"use strict";const e=window.React,t=window.wp.components,n=window.wp.data,o=window.wp.editPost,i=window.wp.element,l=window.wp.i18n,d=window.wp.plugins,r="excluded";(0,d.registerPlugin)("wporg-learn-lesson-archive-excluded-meta",{render:()=>{const d=(0,n.useSelect)((e=>e("core/editor").getEditedPostAttribute("meta")||{})),{editPost:c}=(0,n.useDispatch)("core/editor"),[s,w]=(0,i.useState)(d?._lesson_archive_excluded===r);return(0,e.createElement)(o.PluginDocumentSettingPanel,{title:(0,l.__)("Hidden Lesson","wporg-learn")},(0,e.createElement)(t.PanelRow,null,(0,e.createElement)(t.CheckboxControl,{label:(0,l.__)("Exclude this lesson from the archive","wporg-learn"),checked:s,onChange:e=>{w(e),c({meta:{...d,_lesson_archive_excluded:e?r:""}})}})))}})})();
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnincpostmetaphp"></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/post-meta.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/post-meta.php    2024-07-12 03:41:39 UTC (rev 13901)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/post-meta.php      2024-07-15 02:49:19 UTC (rev 13902)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -51,6 +51,21 @@
</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_post_meta(
+               'lesson',
+               '_lesson_archive_excluded',
+               array(
+                       'description'       => __( 'Whether the lesson should be excluded from archive views.', 'wporg-learn' ),
+                       'type'              => 'string',
+                       'single'            => true,
+                       'sanitize_callback' => 'sanitize_text_field',
+                       'show_in_rest'      => true,
+                       'auth_callback'     => function( $allowed, $meta_key, $post_id ) {
+                               return current_user_can( 'edit_post', $post_id );
+                       },
+               ),
+       );
</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">@@ -634,6 +649,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> function enqueue_editor_assets() {
</span><span class="cx" style="display: block; padding: 0 10px">        enqueue_expiration_date_assets();
</span><span class="cx" style="display: block; padding: 0 10px">        enqueue_language_meta_assets();
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        enqueue_lesson_archive_excluded_meta_assets();
</ins><span class="cx" style="display: block; padding: 0 10px">         enqueue_lesson_featured_meta_assets();
</span><span class="cx" style="display: block; padding: 0 10px">        enqueue_duration_meta_assets();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -692,6 +708,31 @@
</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">+ * Enqueue scripts for the archive excluded lesson meta block.
+ */
+function enqueue_lesson_archive_excluded_meta_assets() {
+       global $typenow;
+
+       if ( 'lesson' === $typenow ) {
+               $script_asset_path = get_build_path() . 'lesson-archive-excluded-meta.asset.php';
+               if ( ! file_exists( $script_asset_path ) ) {
+                       wp_die( 'You need to run `yarn start` or `yarn build` to build the required assets.' );
+               }
+
+               $script_asset = require( $script_asset_path );
+               wp_enqueue_script(
+                       'wporg-learn-lesson-archive-excluded-meta',
+                       get_build_url() . 'lesson-archive-excluded-meta.js',
+                       $script_asset['dependencies'],
+                       $script_asset['version'],
+                       true
+               );
+
+               wp_set_script_translations( 'wporg-learn-lesson-archive-excluded-meta', 'wporg-learn' );
+       }
+}
+
+/**
</ins><span class="cx" style="display: block; padding: 0 10px">  * Enqueue scripts for the featured lesson meta block.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> function enqueue_lesson_featured_meta_assets() {
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjslessonarchiveexcludedmetaindexjs"></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/plugins/wporg-learn/js/lesson-archive-excluded-meta/index.js</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/js/lesson-archive-excluded-meta/index.js                             (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/lesson-archive-excluded-meta/index.js       2024-07-15 02:49:19 UTC (rev 13902)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,42 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * WordPress dependencies
+ */
+import { CheckboxControl, PanelRow } from '@wordpress/components';
+import { useDispatch, useSelect } from '@wordpress/data';
+import { PluginDocumentSettingPanel } from '@wordpress/edit-post';
+import { useState } from '@wordpress/element';
+import { __ } from '@wordpress/i18n';
+import { registerPlugin } from '@wordpress/plugins';
+
+const EXCLUDED = 'excluded';
+
+const LessonArchiveExcludedMeta = () => {
+       const postMetaData = useSelect( ( select ) => select( 'core/editor' ).getEditedPostAttribute( 'meta' ) || {} );
+       const { editPost } = useDispatch( 'core/editor' );
+       const [ lessonExcluded, setLessonFeatured ] = useState( postMetaData?._lesson_archive_excluded === EXCLUDED );
+
+       return (
+               <PluginDocumentSettingPanel title={ __( 'Hidden Lesson', 'wporg-learn' ) }>
+                       <PanelRow>
+                               <CheckboxControl
+                                       label={ __( 'Exclude this lesson from the archive', 'wporg-learn' ) }
+                                       checked={ lessonExcluded }
+                                       onChange={ ( newLessonExcluded ) => {
+                                               setLessonFeatured( newLessonExcluded );
+
+                                               editPost( {
+                                                       meta: {
+                                                               ...postMetaData,
+                                                               _lesson_archive_excluded: newLessonExcluded ? EXCLUDED : '',
+                                                       },
+                                               } );
+                                       } }
+                               />
+                       </PanelRow>
+               </PluginDocumentSettingPanel>
+       );
+};
+
+registerPlugin( 'wporg-learn-lesson-archive-excluded-meta', {
+       render: LessonArchiveExcludedMeta,
+} );
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnwebpackconfigjs"></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/webpack.config.js</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/webpack.config.js    2024-07-12 03:41:39 UTC (rev 13901)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/webpack.config.js      2024-07-15 02:49:19 UTC (rev 13902)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,6 +8,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        'course-status': './js/course-status/src/index.js',
</span><span class="cx" style="display: block; padding: 0 10px">        'duration-meta': './js/duration-meta/index.js',
</span><span class="cx" style="display: block; padding: 0 10px">        'expiration-date': './js/expiration-date/index.js',
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        'lesson-archive-excluded-meta': './js/lesson-archive-excluded-meta/index.js',
</ins><span class="cx" style="display: block; padding: 0 10px">         'lesson-count': './js/lesson-count/src/index.js',
</span><span class="cx" style="display: block; padding: 0 10px">        'lesson-featured-meta': './js/lesson-featured-meta/index.js',
</span><span class="cx" style="display: block; padding: 0 10px">        'workshop-application-form': './js/workshop-application-form/src/index.js',
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024incqueryphp"></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/inc/query.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/inc/query.php        2024-07-12 03:41:39 UTC (rev 13901)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/inc/query.php  2024-07-15 02:49:19 UTC (rev 13902)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,8 +5,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> namespace WordPressdotorg\Theme\Learn_2024\Query;
</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_action( 'pre_get_posts', __NAMESPACE__ . '\modify_archive_queries' );
-add_action( 'pre_get_posts', __NAMESPACE__ . '\modify_level_query' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+add_action( 'pre_get_posts', __NAMESPACE__ . '\add_language_to_archive_queries' );
+add_action( 'pre_get_posts', __NAMESPACE__ . '\handle_all_level_query' );
+add_action( 'pre_get_posts', __NAMESPACE__ . '\add_excluded_to_lesson_archive_query' );
</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">  * Modify the query by adding meta query for language if set.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -13,7 +14,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @param WP_Query $query The query object.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-function modify_archive_queries( $query ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+function add_language_to_archive_queries( $query ) {
</ins><span class="cx" style="display: block; padding: 0 10px">         // Ensure this code runs only for the main query on archive pages and search results.
</span><span class="cx" style="display: block; padding: 0 10px">        if ( ! is_admin() && $query->is_main_query() && ( $query->is_archive() || $query->is_search() ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                if ( isset( $_GET['language'] ) && is_array( $_GET['language'] ) ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -39,6 +40,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $query->set( 'meta_query', $meta_query );
</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">+
+       return $query;
</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">@@ -48,7 +51,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * @param WP_Query $query The main query.
</span><span class="cx" style="display: block; padding: 0 10px">  * @return WP_Query
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-function modify_level_query( $query ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+function handle_all_level_query( $query ) {
</ins><span class="cx" style="display: block; padding: 0 10px">         if ( is_admin() || ! $query->is_main_query() ) {
</span><span class="cx" style="display: block; padding: 0 10px">                return;
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -61,3 +64,31 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        return $query;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+/**
+ * Modify the query by adding meta query for excluding the lesson from the archive if set.
+ *
+ * @param WP_Query $query The query object.
+ */
+function add_excluded_to_lesson_archive_query( $query ) {
+       // Ensure this code runs only for the main query on lesson archive pages and search results.
+       if ( ! is_admin() && $query->is_main_query() && ( $query->is_archive( 'lesson' ) || $query->is_search() ) ) {
+               $query->set(
+                       'meta_query',
+                       array(
+                               'relation' => 'OR',
+                               array(
+                                       'key'     => '_lesson_archive_excluded',
+                                       'compare' => 'NOT EXISTS',
+                               ),
+                               array(
+                                       'key'     => '_lesson_archive_excluded',
+                                       'value'   => 'excluded',
+                                       'compare' => '!=',
+                               ),
+                       )
+               );
+       }
+
+       return $query;
+}
</ins></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-07-12 03:41:39 UTC (rev 13901)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/front-page-content.php        2024-07-15 02:49:19 UTC (rev 13902)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -21,15 +21,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <h2 class="wp-block-heading" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--10)"><?php esc_html_e( 'Featured Courses', '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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","verticalAlignment":"top"}} -->
</ins><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--40)">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
-       <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|charcoal-4"}}}},"textColor":"charcoal-4"} -->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 
+       <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|charcoal-4"}}},"layout":{"selfStretch":"fixed","flexSize":"750px"}},"textColor":"charcoal-4"} -->
</ins><span class="cx" style="display: block; padding: 0 10px">         <p class="has-charcoal-4-color has-text-color has-link-color"><?php esc_html_e( 'Focus on building your skills through a series of lessons in various formats.', 'wporg-learn' ); ?></p>
</span><span class="cx" style="display: block; padding: 0 10px">        <!-- /wp:paragraph -->
</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:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|blueberry-1"}}}},"textColor":"charcoal-4"} -->
-       <p class="has-charcoal-4-color has-text-color has-link-color"><a href="<?php echo esc_url( site_url( '/courses/' ) ); ?>"><?php esc_html_e( 'See all Courses', 'wporg-learn' ); ?></a></p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|blueberry-1"}}}}} -->
+       <p class="has-link-color"><a href="<?php echo esc_url( get_post_type_archive_link( 'course' ) ); ?>"><?php esc_html_e( 'See all courses', 'wporg-learn' ); ?></a></p>
</ins><span class="cx" style="display: block; padding: 0 10px">         <!-- /wp:paragraph -->
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -57,15 +57,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <h2 class="wp-block-heading" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--10)"><?php esc_html_e( 'Featured Lessons', '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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","verticalAlignment":"top"}} -->
</ins><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--40)">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
-       <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|charcoal-4"}}}},"textColor":"charcoal-4"} -->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 
+       <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|charcoal-4"}}},"layout":{"selfStretch":"fixed","flexSize":"750px"}},"textColor":"charcoal-4"} -->
</ins><span class="cx" style="display: block; padding: 0 10px">         <p class="has-charcoal-4-color has-text-color has-link-color"><?php esc_html_e( 'Improve your WordPress expertise with versatile lessons featuring a blend of videos, practical exercises, quizzes, and text-based content.', 'wporg-learn' ); ?></p>
</span><span class="cx" style="display: block; padding: 0 10px">        <!-- /wp:paragraph -->
</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:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|blueberry-1"}}}},"textColor":"charcoal-4"} -->
-       <p class="has-charcoal-4-color has-text-color has-link-color"><a href="<?php echo esc_url( site_url( '/lessons/' ) ); ?>"><?php esc_html_e( 'See all Lessons', 'wporg-learn' ); ?></a></p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|blueberry-1"}}}}} -->
+       <p class="has-link-color"><a href="<?php echo esc_url( get_post_type_archive_link( 'lesson' ) ); ?>"><?php esc_html_e( 'See all lessons', 'wporg-learn' ); ?></a></p>
</ins><span class="cx" style="display: block; padding: 0 10px">         <!-- /wp:paragraph -->
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -93,15 +93,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <h2 class="wp-block-heading" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--10)"><?php esc_html_e( 'Upcoming Online Workshops', '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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","verticalAlignment":"top"}} -->
</ins><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--40)">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
-       <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|charcoal-4"}}}},"textColor":"charcoal-4"} -->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 
+       <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|charcoal-4"}}},"layout":{"selfStretch":"fixed","flexSize":"750px"}},"textColor":"charcoal-4"} -->
</ins><span class="cx" style="display: block; padding: 0 10px">         <p class="has-charcoal-4-color has-text-color has-link-color"><?php esc_html_e( 'Join a live session alongside other learners, led by experienced WordPress professionals.', 'wporg-learn' ); ?></p>
</span><span class="cx" style="display: block; padding: 0 10px">        <!-- /wp:paragraph -->
</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:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|blueberry-1"}}}},"textColor":"charcoal-4"} -->
-       <p class="has-charcoal-4-color has-text-color has-link-color"><a href="<?php echo esc_url( site_url( '/online-workshops' ) ); ?>"><?php esc_html_e( 'See all Online Workshops', 'wporg-learn' ); ?></a></p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|blueberry-1"}}}}} -->
+       <p class="has-link-color"><a href="<?php echo esc_url( site_url( '/online-workshops' ) ); ?>"><?php esc_html_e( 'See all online workshops', 'wporg-learn' ); ?></a></p>
</ins><span class="cx" style="display: block; padding: 0 10px">         <!-- /wp:paragraph -->
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternspagemycoursescontentphp"></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/page-my-courses-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/page-my-courses-content.php 2024-07-12 03:41:39 UTC (rev 13901)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/page-my-courses-content.php   2024-07-15 02:49:19 UTC (rev 13902)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -56,7 +56,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                        <!-- wp:sensei-lms/button-take-course -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-sensei-lms-button-take-course is-style-default is-small wp-block-sensei-button wp-block-button">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                <button class="wp-block-button__link"><?php esc_html_e( 'Take course', 'wporg-learn' ); ?></button>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                         <button class="wp-block-button__link"><?php esc_html_e( 'Take this course', 'wporg-learn' ); ?></button>
</ins><span class="cx" style="display: block; padding: 0 10px">                                         </div>
</span><span class="cx" style="display: block; padding: 0 10px">                                        <!-- /wp:sensei-lms/button-take-course -->
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternspageonlineworkshopscontentphp"></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/page-online-workshops-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/page-online-workshops-content.php   2024-07-12 03:41:39 UTC (rev 13901)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/page-online-workshops-content.php     2024-07-15 02:49:19 UTC (rev 13902)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -48,7 +48,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        <?php echo wp_kses_post(
</span><span class="cx" style="display: block; padding: 0 10px">                                sprintf(
</span><span class="cx" style="display: block; padding: 0 10px">                                        /* translators: %1$s: meetup.com online workshops link, %2$s: code of conduct link */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        __( 'RSVPs and communications are handled through <a href="%1$s">the Meetup.com group</a>. Each event links to the RSVP page. Events are shown in your local time. You must agree to the <a href="%2$s">Code of Conduct</a> in order to participate in online workshops.', 'wporg-learn' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 __( 'RSVPs and communications are handled through <a href="%1$s">the Meetup.com group ↗</a>. Each event links to the RSVP page. Events are shown in your local time. You must agree to the <a href="%2$s">Code of Conduct</a> in order to participate in online workshops.', 'wporg-learn' ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                         esc_url( 'https://www.meetup.com/learn-wordpress-online-workshops/' ),
</span><span class="cx" style="display: block; padding: 0 10px">                                        esc_url( 'https://learn.wordpress.org/online-workshops/code-of-conduct/' ),
</span><span class="cx" style="display: block; padding: 0 10px">                                )
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternssidebarcoursephp"></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/sidebar-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/sidebar-course.php  2024-07-12 03:41:39 UTC (rev 13901)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sidebar-course.php    2024-07-15 02:49:19 UTC (rev 13902)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -44,7 +44,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        <!-- wp:sensei-lms/button-take-course {"align":"full"} -->
</span><span class="cx" style="display: block; padding: 0 10px">                        <div class="wp-block-sensei-lms-button-take-course is-style-default wp-block-sensei-button wp-block-button has-text-align-full">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                <button class="wp-block-button__link"><?php esc_html_e( 'Take course', 'wporg-learn' ); ?></button>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         <button class="wp-block-button__link"><?php esc_html_e( 'Take this course', 'wporg-learn' ); ?></button>
</ins><span class="cx" style="display: block; padding: 0 10px">                         </div>
</span><span class="cx" style="display: block; padding: 0 10px">                        <!-- /wp:sensei-lms/button-take-course -->
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternssidebardetailsphp"></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/sidebar-details.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/sidebar-details.php 2024-07-12 03:41:39 UTC (rev 13901)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sidebar-details.php   2024-07-15 02:49:19 UTC (rev 13902)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -49,7 +49,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                <?php echo wp_kses_post(
</span><span class="cx" style="display: block; padding: 0 10px">                        sprintf(
</span><span class="cx" style="display: block; padding: 0 10px">                                /* translators: 1: License link */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                __( '<a href="%s">CC BY-SA 4.0 <span aria-hidden="true" class="wp-exclude-emoji">↗</span></a>', 'wporg-learn' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         __( '<a href="%s">CC BY-SA 4.0 ↗</a>', 'wporg-learn' ),
</ins><span class="cx" style="display: block; padding: 0 10px">                                 'http://creativecommons.org/licenses/by-sa/4.0/',
</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_htmlwpcontentthemespubwporglearn2024patternssidebarlessonplanphp"></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/sidebar-lesson-plan.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/sidebar-lesson-plan.php     2024-07-12 03:41:39 UTC (rev 13901)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/sidebar-lesson-plan.php       2024-07-15 02:49:19 UTC (rev 13902)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -24,9 +24,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                        <!-- wp:button {"textAlign":"center","width":100,"style":{"border":{"radius":"2px"},"spacing":{"padding":{"left":"13px","right":"13px","top":"16px","bottom":"16px"}},"typography":{"lineHeight":0,"fontStyle":"normal","fontWeight":"400"}},"className":"aligncenter is-style-fill","fontSize":"normal","fontFamily":"inter"} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-button has-custom-width wp-block-button__width-100 has-custom-font-size aligncenter is-style-fill has-inter-font-family has-normal-font-size" style="font-style:normal;font-weight:400;line-height:0">
</span><span class="cx" style="display: block; padding: 0 10px">                                                <a class="wp-block-button__link has-text-align-center wp-element-button" href="<?php echo esc_attr( $current_post->slides_view_url ); ?>" style="border-radius:2px;padding-top:16px;padding-right:13px;padding-bottom:16px;padding-left:13px" target="_blank" rel="noreferrer noopener">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        <?php esc_html_e( 'View slides', 'wporg-learn' ); ?>
-                                                       <span aria-hidden="true" class="wp-exclude-emoji">↗</span>
-                                               </a>                              
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 <?php esc_html_e( 'View slides ↗', 'wporg-learn' ); ?>
+                                               </a>
</ins><span class="cx" style="display: block; padding: 0 10px">                                         </div>
</span><span class="cx" style="display: block; padding: 0 10px">                                        <!-- /wp:button -->
</span><span class="cx" style="display: block; padding: 0 10px">                                <?php endif; ?>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -34,9 +33,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                        <!-- wp:button {"textAlign":"center","width":100,"style":{"border":{"radius":"2px"},"spacing":{"margin":{"bottom":"40px"},"padding":{"left":"13px","right":"13px","top":"16px","bottom":"16px"}},"typography":{"lineHeight":0,"fontStyle":"normal","fontWeight":"400"}},"className":"aligncenter is-style-text","fontSize":"normal","fontFamily":"inter"} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-button has-custom-width wp-block-button__width-100 has-custom-font-size aligncenter is-style-text has-inter-font-family has-normal-font-size" style="font-style:normal;font-weight:400;line-height:0">
</span><span class="cx" style="display: block; padding: 0 10px">                                                <a class="wp-block-button__link has-text-align-center wp-element-button" href="<?php echo esc_attr( $current_post->slides_download_url ); ?>" style="border-radius:2px;padding-top:16px;padding-right:13px;padding-bottom:16px;padding-left:13px" target="_blank" rel="noreferrer noopener">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        <?php esc_html_e( 'Download slides', 'wporg-learn' ); ?>
-                                                       <span aria-hidden="true" class="wp-exclude-emoji">↗</span>
-                                               </a>                              
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 <?php esc_html_e( 'Download slides ↗', 'wporg-learn' ); ?>
+                                               </a>
</ins><span class="cx" style="display: block; padding: 0 10px">                                         </div>
</span><span class="cx" style="display: block; padding: 0 10px">                                        <!-- /wp:button -->
</span><span class="cx" style="display: block; padding: 0 10px">                                <?php elseif ( $current_post->slides_download_url ) : ?>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -43,8 +41,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                        <!-- wp:button {"textAlign":"center","width":100,"style":{"border":{"radius":"2px"},"spacing":{"padding":{"left":"13px","right":"13px","top":"16px","bottom":"16px"}},"typography":{"lineHeight":0,"fontStyle":"normal","fontWeight":"400"}},"className":"aligncenter is-style-fill","fontSize":"normal","fontFamily":"inter"} -->
</span><span class="cx" style="display: block; padding: 0 10px">                                        <div class="wp-block-button has-custom-width wp-block-button__width-100 has-custom-font-size aligncenter is-style-fill has-inter-font-family has-normal-font-size" style="font-style:normal;font-weight:400;line-height:0">
</span><span class="cx" style="display: block; padding: 0 10px">                                                <a class="wp-block-button__link has-text-align-center wp-element-button" href="<?php echo esc_attr( $current_post->slides_download_url ); ?>" style="border-radius:2px;padding-top:16px;padding-right:13px;padding-bottom:16px;padding-left:13px" target="_blank" rel="noreferrer noopener">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                                        <?php esc_html_e( 'Download slides', 'wporg-learn' ); ?>
-                                                       <span aria-hidden="true" class="wp-exclude-emoji">↗</span>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                                 <?php esc_html_e( 'Download slides ↗', 'wporg-learn' ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px">                                                 </a>                              
</span><span class="cx" style="display: block; padding: 0 10px">                                        </div>
</span><span class="cx" style="display: block; padding: 0 10px">                                        <!-- /wp:button -->
</span></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-07-12 03:41:39 UTC (rev 13901)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css      2024-07-15 02:49:19 UTC (rev 13902)
</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-a4426a2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Version: 1.0.0-74ac4ff
</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>
</div>

</body>
</html>