<!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>[14037] sites/trunk/wordpress.org/public_html/wp-content: Learn: Sync with git WordPress/learn@1b11312</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/14037">14037</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/14037","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>renyot</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-09-10 05:30:16 +0000 (Tue, 10 Sep 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@1b11312</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_htmlwpcontentthemespubwporglearn2024patternspagecoursecompletecontentphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/page-course-complete-content.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024stylecss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildcoursecompletionmetaassetphp">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-completion-meta.asset.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildcoursecompletionmetajs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-completion-meta.js</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-completion-meta/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjscoursecompletionmetaindexjs">sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-completion-meta/index.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnbuildcoursecompletionmetaassetphp"></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/course-completion-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/course-completion-meta.asset.php                               (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-completion-meta.asset.php 2024-09-10 05:30:16 UTC (rev 14037)
</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-i18n', 'wp-plugins'), 'version' => 'c52adf09dd1b7a8802c0');
</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/course-completion-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_htmlwpcontentpluginswporglearnbuildcoursecompletionmetajs"></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/course-completion-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/course-completion-meta.js                              (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/build/course-completion-meta.js        2024-09-10 05:30:16 UTC (rev 14037)
</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,l=window.wp.editPost,o=window.wp.i18n;(0,window.wp.plugins.registerPlugin)("wporg-learn-course-completion-meta",{render:()=>{const r=(0,n.useSelect)((e=>e("core/editor").getEditedPostAttribute("meta")||{})),{editPost:s}=(0,n.useDispatch)("core/editor"),a=r?._course_completion_success_message||"",c=r?._course_completion_survey_link||"";return(0,e.createElement)(l.PluginDocumentSettingPanel,{title:(0,o.__)("Completed screen","wporg-learn")},(0,e.createElement)(t.PanelRow,null,(0,e.createElement)("p",null,(0,o.__)("These fields customize what is displayed on the Course Completed screen. If left blank, the default values will be applied.","wporg-learn"))),(0,e.createElement)(t.PanelRow,
 null,(0,e.createElement)(t.TextControl,{label:(0,o.__)("Success Message","wporg-learn"),value:a,placeholder:(0,o.__)("Congratulations on completing this course!","wporg-learn"),onChange:e=>{s({meta:{...r,_course_completion_success_message:e}})}})),(0,e.createElement)(t.PanelRow,null,(0,e.createElement)(t.TextControl,{label:(0,o.__)("Survey Link","wporg-learn"),value:c,onChange:e=>{s({meta:{...r,_course_completion_survey_link:e}})}})))}})})();
</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-09-10 04:01:02 UTC (rev 14036)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/inc/post-meta.php      2024-09-10 05:30:16 UTC (rev 14037)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,6 +28,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * Register all post meta keys.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> function register() {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        register_course_meta();
</ins><span class="cx" style="display: block; padding: 0 10px">         register_lesson_meta();
</span><span class="cx" style="display: block; padding: 0 10px">        register_lesson_plan_meta();
</span><span class="cx" style="display: block; padding: 0 10px">        register_workshop_meta();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -35,6 +36,42 @@
</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 keys for courses.
+ */
+function register_course_meta() {
+       register_post_meta(
+               'course',
+               '_course_completion_success_message',
+               array(
+                       'description'       => __( 'The message displayed to users upon successful course completion.', '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 );
+                       },
+               )
+       );
+
+       register_post_meta(
+               'course',
+               '_course_completion_survey_link',
+               array(
+                       'description'       => __( 'The survey link to be shown alongside the completion message.', 'wporg-learn' ),
+                       'type'              => 'string',
+                       'single'            => true,
+                       'default'           => '',
+                       'sanitize_callback' => 'esc_url_raw',
+                       '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">  * Register post meta keys for lessons.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> function register_lesson_meta() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -655,6 +692,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        enqueue_language_meta_assets();
</span><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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        enqueue_course_completion_meta_assets();
</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">@@ -760,3 +798,28 @@
</span><span class="cx" style="display: block; padding: 0 10px">                wp_set_script_translations( 'wporg-learn-duration-meta', 'wporg-learn' );
</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 course completion meta block.
+ */
+function enqueue_course_completion_meta_assets() {
+       global $typenow;
+
+       if ( 'course' === $typenow ) {
+               $script_asset_path = get_build_path() . 'course-completion-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-course-completion-meta',
+                       get_build_url() . 'course-completion-meta.js',
+                       $script_asset['dependencies'],
+                       $script_asset['version'],
+                       true
+               );
+
+               wp_set_script_translations( 'wporg-learn-course-completion-meta', 'wporg-learn' );
+       }
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentpluginswporglearnjscoursecompletionmetaindexjs"></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/course-completion-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/course-completion-meta/index.js                           (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/js/course-completion-meta/index.js     2024-09-10 05:30:16 UTC (rev 14037)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,62 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * WordPress dependencies
+ */
+import { PanelRow, TextControl } from '@wordpress/components';
+import { useDispatch, useSelect } from '@wordpress/data';
+import { PluginDocumentSettingPanel } from '@wordpress/edit-post';
+import { __ } from '@wordpress/i18n';
+import { registerPlugin } from '@wordpress/plugins';
+
+const CourseCompletionMeta = () => {
+       const postMetaData = useSelect( ( select ) => select( 'core/editor' ).getEditedPostAttribute( 'meta' ) || {} );
+       const { editPost } = useDispatch( 'core/editor' );
+
+       const message = postMetaData?._course_completion_success_message || '';
+       const link = postMetaData?._course_completion_survey_link || '';
+
+       return (
+               <PluginDocumentSettingPanel title={ __( 'Completed screen', 'wporg-learn' ) }>
+                       <PanelRow>
+                               <p>
+                                       { __(
+                                               'These fields customize what is displayed on the Course Completed screen. If left blank, the default values will be applied.',
+                                               'wporg-learn'
+                                       ) }
+                               </p>
+                       </PanelRow>
+                       <PanelRow>
+                               <TextControl
+                                       label={ __( 'Success Message', 'wporg-learn' ) }
+                                       value={ message }
+                                       placeholder={ __( 'Congratulations on completing this course!', 'wporg-learn' ) }
+                                       onChange={ ( newMessage ) => {
+                                               editPost( {
+                                                       meta: {
+                                                               ...postMetaData,
+                                                               _course_completion_success_message: newMessage,
+                                                       },
+                                               } );
+                                       } }
+                               />
+                       </PanelRow>
+                       <PanelRow>
+                               <TextControl
+                                       label={ __( 'Survey Link', 'wporg-learn' ) }
+                                       value={ link }
+                                       onChange={ ( newLink ) => {
+                                               editPost( {
+                                                       meta: {
+                                                               ...postMetaData,
+                                                               _course_completion_survey_link: newLink,
+                                                       },
+                                               } );
+                                       } }
+                               />
+                       </PanelRow>
+               </PluginDocumentSettingPanel>
+       );
+};
+
+registerPlugin( 'wporg-learn-course-completion-meta', {
+       render: CourseCompletionMeta,
+} );
</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-09-10 04:01:02 UTC (rev 14036)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-learn/webpack.config.js      2024-09-10 05:30:16 UTC (rev 14037)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,6 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * Set up the custom entry points.
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> config.entry = {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        'course-completion-meta': './js/course-completion-meta/index.js',
</ins><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></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024patternspagecoursecompletecontentphp"></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-course-complete-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-course-complete-content.php    2024-09-10 04:01:02 UTC (rev 14036)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/patterns/page-course-complete-content.php      2024-09-10 05:30:16 UTC (rev 14037)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,6 +5,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * Inserter: no
</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">+$course_id = isset( $_GET['course_id'] ) ? intval( $_GET['course_id'] ) : get_the_ID();
+$success_message = get_post_meta( $course_id, '_course_completion_success_message', true ) ?: __( 'Congratulations on completing this course!', 'wporg-learn' );
+$survey_link = get_post_meta( $course_id, '_course_completion_survey_link', true ) ?: 'https://docs.google.com/forms/d/e/1FAIpQLSf0QMflUedxjta0u5qS4_pl-9aY06BDBXgRn2PoZA1gRvD9jw/viewform';
+
</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"> <!-- wp:heading {"level":1} -->
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -15,7 +19,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:heading {"style":{"spacing":{"margin":{"top":"40px","bottom":"10px"}}},"fontSize":"large","fontFamily":"inter"} -->
</span><span class="cx" style="display: block; padding: 0 10px"> <h2 class="wp-block-heading has-inter-font-family has-large-font-size" style="margin-top:40px;margin-bottom:10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        <?php esc_html_e( 'Congratulations on completing this course!', 'wporg-learn' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php echo esc_html( $success_message ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> </h2>
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:heading -->
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,7 +33,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-block-buttons">
</span><span class="cx" style="display: block; padding: 0 10px">        <!-- wp:button {"style":{"spacing":{"padding":{"left":"32px","right":"32px","top":"17px","bottom":"17px"}}}} -->
</span><span class="cx" style="display: block; padding: 0 10px">        <div class="wp-block-button">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                <a class="wp-block-button__link wp-element-button" href="https://docs.google.com/forms/d/e/1FAIpQLSf0QMflUedxjta0u5qS4_pl-9aY06BDBXgRn2PoZA1gRvD9jw/viewform" style="padding-top:17px;padding-right:32px;padding-bottom:17px;padding-left:32px">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         <a class="wp-block-button__link wp-element-button" href="<?php echo esc_url( $survey_link ); ?>" style="padding-top:17px;padding-right:32px;padding-bottom:17px;padding-left:32px">
</ins><span class="cx" style="display: block; padding: 0 10px">                         <?php esc_html_e( 'Complete the survey', 'wporg-learn' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px">                </a>
</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-09-10 04:01:02 UTC (rev 14036)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css      2024-09-10 05:30:16 UTC (rev 14037)
</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-6616fa5
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Version: 1.0.0-bcce0c1
</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>