<!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>[13839] sites/trunk/wordpress.org/public_html/wp-content: Learn: Sync with git WordPress/learn@cb9f74d</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/13839">13839</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/13839","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-06-20 01:29:10 +0000 (Thu, 20 Jun 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@cb9f74d</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnwporglearnphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/wporg-learn.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2020functionsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/functions.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternsfrontpageheaderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/front-page-header.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternspagelearningpathwayscontentphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/page-learning-pathways-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_htmlwpcontentthemespubwporglearn2024patternssearchcontentphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/search-content.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srclearningpathwayheaderindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/learning-pathway-header/index.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_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_htmlwpcontentthemespubwporglearn2024templatespageonlineworkshopshtml">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/page-online-workshops.html</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024themejson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/theme.json</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnincredirectsphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/redirects.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnincredirectsphp"></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/inc/redirects.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/redirects.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/redirects.php 2024-06-20 01:29:10 UTC (rev 13839)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,65 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+
+namespace WPOrg_Learn\Redirects;
+
+add_action( 'template_redirect', __NAMESPACE__ . '\wporg_learn_redirect_meetings' );
+add_action( 'template_redirect', __NAMESPACE__ . '\wporg_learn_redirect_old_urls' );
+
+/**
+ * Redirect meeting posts to associated link
+ *
+ * @return void
+ */
+function wporg_learn_redirect_meetings() {
+ global $post;
+
+ if ( is_singular( array( 'meeting' ) ) ) {
+
+ if ( ! empty( $post->ID ) ) {
+
+ $redirect = wp_http_validate_url( get_post_meta( $post->ID, 'link', true ) );
+
+ if ( $redirect && wp_redirect( $redirect ) ) {
+ exit;
+ }
+ }
+ }
+
+}
+
+/**
+ * Redirect old pages to their new homes.
+ *
+ * @return void
+ */
+function wporg_learn_redirect_old_urls() {
+ if ( ! is_404() ) {
+ return;
+ }
+
+ $redirects = array(
+ // Source => Destination, any characters after the source will be appended to the destination.
+ '/workshop/' => '/tutorial/',
+ '/workshops' => '/tutorials',
+ '/social-learning' => '/online-workshops',
+ '/workshop-presenter-application' => '/tutorial-presenter-application',
+ '/report-content-errors' => '/report-content-feedback',
+ );
+
+ // Use `REQUEST_URI` rather than `$wp->request`, to get the entire source URI including url parameters.
+ $request = $_SERVER['REQUEST_URI'] ?? '';
+
+ foreach ( $redirects as $source => $destination ) {
+ if ( str_starts_with( $request, $source ) ) {
+ $redirect = $destination;
+
+ // Append any extra request parameters.
+ if ( strlen( $request ) > strlen( $source ) ) {
+ $redirect .= substr( $request, strlen( $source ) );
+ }
+
+ wp_safe_redirect( $redirect );
+ die();
+ }
+ }
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/redirects.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_htmlwpcontentpluginswporglearnwporglearnphp"></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/wporg-learn.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/wporg-learn.php 2024-06-20 00:09:29 UTC (rev 13838)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/wporg-learn.php 2024-06-20 01:29:10 UTC (rev 13839)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -84,6 +84,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> require_once get_includes_path() . 'post-meta.php';
</span><span class="cx" style="display: block; padding: 0 10px"> require_once get_includes_path() . 'post-type.php';
</span><span class="cx" style="display: block; padding: 0 10px"> require_once get_includes_path() . 'profiles.php';
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ require_once get_includes_path() . 'redirects.php';
</ins><span class="cx" style="display: block; padding: 0 10px"> require_once get_includes_path() . 'sensei.php';
</span><span class="cx" style="display: block; padding: 0 10px"> require_once get_includes_path() . 'taxonomy.php';
</span><span class="cx" style="display: block; padding: 0 10px"> require_once get_includes_path() . 'export.php';
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2020functionsphp"></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-2020/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-2020/functions.php 2024-06-20 00:09:29 UTC (rev 13838)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/functions.php 2024-06-20 01:29:10 UTC (rev 13839)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1141,67 +1141,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> add_filter( 'jetpack_news_sitemap_generate', '__return_false' );
</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">- * Redirect meeting posts to associated link
- *
- * @return void
- */
-function wporg_learn_redirect_meetings() {
- global $post;
-
- if ( is_singular( array( 'meeting' ) ) ) {
-
- if ( ! empty( $post->ID ) ) {
-
- $redirect = wp_http_validate_url( get_post_meta( $post->ID, 'link', true ) );
-
- if ( $redirect && wp_redirect( $redirect ) ) {
- exit;
- }
- }
- }
-
-}
-add_action( 'template_redirect', 'wporg_learn_redirect_meetings' );
-
-/**
- * Redirect old pages to their new homes.
- *
- * @return void
- */
-function wporg_learn_redirect_old_urls() {
- if ( ! is_404() ) {
- return;
- }
-
- $redirects = array(
- // Source => Destination, any characters after the source will be appended to the destination.
- '/workshop/' => '/tutorial/',
- '/workshops' => '/tutorials',
- '/social-learning' => '/online-workshops',
- '/workshop-presenter-application' => '/tutorial-presenter-application',
- '/report-content-errors' => '/report-content-feedback',
- );
-
- // Use `REQUEST_URI` rather than `$wp->request`, to get the entire source URI including url parameters.
- $request = $_SERVER['REQUEST_URI'] ?? '';
-
- foreach ( $redirects as $source => $destination ) {
- if ( str_starts_with( $request, $source ) ) {
- $redirect = $destination;
-
- // Append any extra request parameters.
- if ( strlen( $request ) > strlen( $source ) ) {
- $redirect .= substr( $request, strlen( $source ) );
- }
-
- wp_safe_redirect( $redirect );
- die();
- }
- }
-}
-add_action( 'template_redirect', 'wporg_learn_redirect_old_urls' );
-
-/**
</del><span class="cx" style="display: block; padding: 0 10px"> * Add file MIME types for upload.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $mime_types Default array of MIME types.
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternsfrontpageheaderphp"></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-header.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-header.php 2024-06-20 00:09:29 UTC (rev 13838)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/front-page-header.php 2024-06-20 01:29:10 UTC (rev 13839)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -23,8 +23,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|30"},"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"wrap","verticalAlignment":"bottom"}} -->
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--30)">
</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:heading {"level":1,"style":{"typography":{"fontSize":"50px","fontStyle":"normal","fontWeight":"400"}},"fontFamily":"eb-garamond"} -->
- <h1 class="wp-block-heading has-eb-garamond-font-family" style="font-size:50px;font-style:normal;font-weight:400"><?php esc_html_e( 'Learn WordPress', 'wporg-learn' ); ?></h1>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <!-- wp:heading {"level":1,"style":{"typography":{"fontSize":"50px"}}} -->
+ <h1 class="wp-block-heading" style="font-size:50px"><?php esc_html_e( 'Learn WordPress', 'wporg-learn' ); ?></h1>
</ins><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:heading -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:paragraph {"style":{"typography":{"lineHeight":"2.3"}},"textColor":"white"} -->
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternspagelearningpathwayscontentphp"></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-learning-pathways-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-learning-pathways-content.php 2024-06-20 00:09:29 UTC (rev 13838)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/page-learning-pathways-content.php 2024-06-20 01:29:10 UTC (rev 13839)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -8,8 +8,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> use function WPOrg_Learn\Sensei\{get_my_courses_page_url}
</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">-<!-- wp:paragraph {"style":{"spacing":{"margin":{"top":"0"}}}} -->
-<p style="margin-top:0"><?php esc_html_e( 'Dive into our learning pathways which will take you from beginner to expert at your own pace.', 'wporg-learn' ); ?></p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:heading {"level":1} -->
+<h1 class="wp-block-heading"><?php esc_html_e( 'Learning Pathways', 'wporg-learn' ); ?></h1>
+<!-- /wp:heading -->
+
+<!-- wp:paragraph {"style":{"spacing":{"margin":{"top":"var:preset|spacing|10"}}}} -->
+<p style="margin-top:var(--wp--preset--spacing--10)"><?php esc_html_e( 'Dive into our learning pathways which will take you from beginner to expert at your own pace.', 'wporg-learn' ); ?></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"> <!-- wp:buttons {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
</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-06-20 00:09:29 UTC (rev 13838)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/page-online-workshops-content.php 2024-06-20 01:29:10 UTC (rev 13839)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,6 +10,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:group {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained","justifyContent":"left","contentSize":"730px"}} -->
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--50)">
</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:heading {"level":1} -->
+ <h1 class="wp-block-heading"><?php esc_html_e( 'Online Workshops', 'wporg-learn' ); ?></h1>
+ <!-- /wp:heading -->
+
</ins><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:paragraph -->
</span><span class="cx" style="display: block; padding: 0 10px"> <p><?php esc_html_e( 'Online workshops are live sessions where you can learn alongside other WordPress enthusiasts. They are a safe zone where you can come as you are, develop new ideas, explore issues, ask questions, network over shared interests, exchange theories, collaborate on work, and thrive in uncertainty.', 'wporg-learn' ); ?></p>
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:paragraph -->
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternssearchcontentphp"></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/search-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/search-content.php 2024-06-20 00:09:29 UTC (rev 13838)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/search-content.php 2024-06-20 01:29:10 UTC (rev 13839)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7,6 +7,16 @@
</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">+<!-- wp:group {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained","justifyContent":"left","contentSize":"730px"}} -->
+<div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--50)">
+
+ <!-- wp:heading {"level":1} -->
+ <h1 class="wp-block-heading"><?php esc_html_e( 'Search results', 'wporg-learn' ); ?></h1>
+ <!-- /wp:heading -->
+
+</div>
+<!-- /wp:group -->
+
</ins><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"},"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|50"}}}} -->
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-block-group alignwide" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--50)">
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -56,8 +66,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:query-no-results -->
</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:heading {"level":1,"fontFamily":"eb-garamond"} -->
- <h1 class="wp-block-heading has-eb-garamond-font-family"><?php esc_html_e( 'No results found', 'wporg-learn' ); ?></h1>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <!-- wp:heading {"level":2} -->
+ <h2 class="wp-block-heading"><?php esc_html_e( 'No results found', 'wporg-learn' ); ?></h2>
</ins><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:heading -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} -->
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srclearningpathwayheaderindexphp"></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/src/learning-pathway-header/index.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/src/learning-pathway-header/index.php 2024-06-20 00:09:29 UTC (rev 13838)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/learning-pathway-header/index.php 2024-06-20 01:29:10 UTC (rev 13839)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -49,10 +49,6 @@
</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">- $learning_pathway_id = $learning_pathway_object->term_id;
- $learning_pathway_name = $learning_pathway_object->name;
- $learning_pathway_description = $learning_pathway_object->description;
-
</del><span class="cx" style="display: block; padding: 0 10px"> $content = '<!-- wp:group {"className":"wp-block-wporg-learn-learning-pathway-header-content","align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space","top":"0","bottom":"0"}},"border":{"bottom":{"color":"var:preset|color|light-grey-1","width":"1px"}}},"backgroundColor":"' . esc_attr( $learning_pathway_slug ) . '","layout":{"type":"constrained"}} -->
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-block-wporg-learn-learning-pathway-header-content wp-block-group alignfull has-' . esc_attr( $learning_pathway_slug ) . '-background-color has-background" style="border-bottom-color:var(--wp--preset--color--light-grey-1);border-bottom-width:1px;padding-top:0;padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:0;padding-left:var(--wp--preset--spacing--edge-space)">
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -62,12 +58,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}},"layout":{"selfStretch":"fill","flexSize":null}},"layout":{"type":"constrained"}} -->
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
</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:heading {"level":1,"fontSize":"heading-1","fontFamily":"eb-garamond"} -->
- <h1 class="wp-block-heading has-eb-garamond-font-family has-heading-1-font-size">' . esc_html( $learning_pathway_name ) . '</h1>
- <!-- /wp:heading -->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <!-- wp:query-title {"type":"archive","showPrefix":false} /-->
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:paragraph {"style":{"typography":{"lineHeight":1.6}}} -->
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <p style="line-height:1.6">' . esc_html( $learning_pathway_description ) . '</p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <p style="line-height:1.6">' . esc_html( $learning_pathway_object->description ) . '</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_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-06-20 00:09:29 UTC (rev 13838)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css 2024-06-20 01:29:10 UTC (rev 13839)
</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-09d8faa
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Version: 1.0.0-3f5c557
</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_htmlwpcontentthemespubwporglearn2024templatespagelearningpathwayshtml"></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/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 2024-06-20 00:09:29 UTC (rev 13838)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/page-learning-pathways.html 2024-06-20 01:29:10 UTC (rev 13839)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,8 +6,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- 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"}} -->
</span><span class="cx" style="display: block; padding: 0 10px"> <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)">
</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:post-title {"level":1,"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|10"}}}} /-->
-
</del><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:pattern {"slug":"wporg-learn-2024/page-learning-pathways-content"} /-->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:wporg-learn/learning-pathway-cards {"style":{"spacing":{"margin":{"top":"var:preset|spacing|40"}}}} /-->
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024templatespageonlineworkshopshtml"></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/page-online-workshops.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-online-workshops.html 2024-06-20 00:09:29 UTC (rev 13838)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/templates/page-online-workshops.html 2024-06-20 01:29:10 UTC (rev 13839)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,8 +6,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained","contentSize":"1160px"}} -->
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--edge-space)">
</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:post-title {"level":1} /-->
-
</del><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:pattern {"slug":"wporg-learn-2024/page-online-workshops-content"} /-->
</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_htmlwpcontentthemespubwporglearn2024themejson"></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/theme.json</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/theme.json 2024-06-20 00:09:29 UTC (rev 13838)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/theme.json 2024-06-20 01:29:10 UTC (rev 13839)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,6 +31,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "border": "var(--wp--preset--color--light-grey-1)",
</span><span class="cx" style="display: block; padding: 0 10px"> "green-70": "#005C12"
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "form": {
+ "border": {
+ "color": "var(--wp--preset--color--charcoal-5)",
+ "width": "1px",
+ "radius": "2px"
+ }
+ },
</ins><span class="cx" style="display: block; padding: 0 10px"> "heading": {
</span><span class="cx" style="display: block; padding: 0 10px"> "typography": {
</span><span class="cx" style="display: block; padding: 0 10px"> "fontFamily": "var(--wp--preset--font-family--inter)",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -38,7 +45,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "level-1": {
</span><span class="cx" style="display: block; padding: 0 10px"> "typography": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "lineHeight": 1.2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "fontFamily": "var(--wp--preset--font-family--eb-garamond)",
+ "fontSize": "36px",
+ "lineHeight": 1.3,
+ "fontWeight": 400
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "breakpoint": {
</span><span class="cx" style="display: block; padding: 0 10px"> "small-only": {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -167,21 +177,30 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "blocks": {
</span><span class="cx" style="display: block; padding: 0 10px"> "core/post-title": {
</span><span class="cx" style="display: block; padding: 0 10px"> "typography": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "fontFamily": "var(--wp--preset--font-family--eb-garamond)",
- "fontSize": "36px",
- "lineHeight": "1.3"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "fontFamily": "var(--wp--custom--heading--level-1--typography--font-family)",
+ "fontSize": "var(--wp--custom--heading--level-1--typography--font-size)",
+ "lineHeight": "var(--wp--custom--heading--level-1--typography--line-height)",
+ "fontWeight": "var(--wp--custom--heading--level-1--typography--font-weight)"
</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"> "core/query-title": {
</span><span class="cx" style="display: block; padding: 0 10px"> "typography": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "fontFamily": "var(--wp--preset--font-family--eb-garamond)",
- "fontSize": "36px",
- "lineHeight": "1.3",
- "fontWeight": "400"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "fontFamily": "var(--wp--custom--heading--level-1--typography--font-family)",
+ "fontSize": "var(--wp--custom--heading--level-1--typography--font-size)",
+ "lineHeight": "var(--wp--custom--heading--level-1--typography--line-height)",
+ "fontWeight": "var(--wp--custom--heading--level-1--typography--font-weight)"
</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="cx" style="display: block; padding: 0 10px"> "elements": {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "h1": {
+ "typography": {
+ "fontFamily": "var(--wp--custom--heading--level-1--typography--font-family)",
+ "fontSize": "var(--wp--custom--heading--level-1--typography--font-size)",
+ "lineHeight": "var(--wp--custom--heading--level-1--typography--line-height)",
+ "fontWeight": "var(--wp--custom--heading--level-1--typography--font-weight)"
+ }
+ },
</ins><span class="cx" style="display: block; padding: 0 10px"> "h2": {
</span><span class="cx" style="display: block; padding: 0 10px"> "typography": {
</span><span class="cx" style="display: block; padding: 0 10px"> "fontSize": "var(--wp--preset--font-size--heading-4)",
</span></span></pre>
</div>
</div>
</body>
</html>