<!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>[13700] sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024: Learn: Sync with git WordPress/learn@40df224</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/13700">13700</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/13700","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>adamwood</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-05-14 09:07:40 +0000 (Tue, 14 May 2024)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Learn: Sync with git WordPress/learn@40df224</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024functionsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/functions.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_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>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildprismblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildprismindexassetphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/index.asset.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildprismindexjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/index.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildprismstyleindexrtlcss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/style-index-rtl.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildprismstyleindexcss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/style-index.css</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/prism/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcprism_colorsscss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/prism/_colors.scss</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcprismblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/prism/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcprismindexjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/prism/index.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcprismstylescss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/prism/style.scss</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildprismblockjson"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/block.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/build/prism/block.json (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/block.json 2024-05-14 09:07:40 UTC (rev 13700)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,3 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+{
+ "script": "file:./index.js"
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildprismindexassetphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/index.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/themes/pub/wporg-learn-2024/build/prism/index.asset.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/index.asset.php 2024-05-14 09:07:40 UTC (rev 13700)
</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(), 'version' => '793192a91dfa3faef1e9');
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/index.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_htmlwpcontentthemespubwporglearn2024buildprismindexjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/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/themes/pub/wporg-learn-2024/build/prism/index.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/index.js 2024-05-14 09:07:40 UTC (rev 13700)
</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";var r,e={705:()=>{}},o={};function a(r){var n=o[r];if(void 0!==n)return n.exports;var t=o[r]={exports:{}};return e[r](t,t.exports,a),t.exports}a.m=e,r=[],a.O=(e,o,n,t)=>{if(!o){var i=1/0;for(s=0;s<r.length;s++){for(var[o,n,t]=r[s],l=!0,v=0;v<o.length;v++)(!1&t||i>=t)&&Object.keys(a.O).every((r=>a.O[r](o[v])))?o.splice(v--,1):(l=!1,t<i&&(i=t));if(l){r.splice(s--,1);var p=n();void 0!==p&&(e=p)}}return e}t=t||0;for(var s=r.length;s>0&&r[s-1][2]>t;s--)r[s]=r[s-1];r[s]=[o,n,t]},a.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(()=>{var r={911:0,143:0};a.O.j=e=>0===r[e];var e=(e,o)=>{var n,t,[i,l,v]=o,p=0;if(i.some((e=>0!==r[e]))){for(n in l)a.o(l,n)&&(a.m[n]=l[n]);if(v)var s=v(a)}for(e&&e(o);p<i.length;p++)t=i[p],a.o(r,t)&&r[t]&&r[t][0](),r[t]=0;
return a.O(s)},o=globalThis.webpackChunkwporg_learn_2024=globalThis.webpackChunkwporg_learn_2024||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})();var n=a.O(void 0,[143],(()=>a(705)));n=a.O(n)})();
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024buildprismstyleindexrtlcss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/style-index-rtl.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/build/prism/style-index-rtl.css (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/style-index-rtl.css 2024-05-14 09:07:40 UTC (rev 13700)
</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">+code[class*=language-],pre[class*=language-]{background:none;color:#101517;font-family:var(--wp--preset--font-family--monospace);text-align:right;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal;-webkit-hyphens:none;hyphens:none;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;transition:height .5s}pre[class*=language-]{border-radius:.3em;direction:rtl;overflow:auto;padding:1em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f6f7f7}:not(pre)>code[class*=language-]{border-radius:.3em;padding:.1em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#007017}.token.punctuation{color:#50575e}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#043959}.token.boolean,.token.number{color:#101517}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{co
lor:#2271b1}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#a85f00}.token.function{color:#b8236d}.token.keyword{color:#135e96;font-weight:600}.token.atrule,.token.attr-value,.token.function-definition{color:#101517}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}@media screen and (-ms-high-contrast:active){code[class*=language-],pre[class*=language-]{background:window;color:windowText}:not(pre)>code[class*=language-],pre[class*=language-]{background:window}.token.important{background:highlight;color:window;font-weight:700}.token.atrule,.token.attr-value,.token.function,.token.keyword,.token.operator,.token.selector{font-weight:700}.token.attr-value,.token.comment,.token.doctype,.token.function,.token.keyword,.token.operator,.token.property,.token.string{color:highlight}.token.attr-value,.token.url{font-weight:700}}pre.line-numbers{counter-reset:linenumber;paddin
g-right:3.8em}pre.line-numbers,pre.line-numbers>code{position:relative}.line-numbers .line-numbers-rows{border-left:0;font-size:100%;right:-3.8em;letter-spacing:-1px;pointer-events:none;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:4em}.line-numbers-rows>span{counter-increment:linenumber;display:block;pointer-events:none}.line-numbers-rows>span:before{color:#5c6370;content:counter(linenumber);display:block;padding-left:.8em;text-align:left}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/style-index-rtl.css
</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_htmlwpcontentthemespubwporglearn2024buildprismstyleindexcss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/style-index.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/build/prism/style-index.css (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/style-index.css 2024-05-14 09:07:40 UTC (rev 13700)
</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">+code[class*=language-],pre[class*=language-]{background:none;color:#101517;font-family:var(--wp--preset--font-family--monospace);text-align:left;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal;-webkit-hyphens:none;hyphens:none;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;transition:height .5s}pre[class*=language-]{border-radius:.3em;direction:ltr;overflow:auto;padding:1em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f6f7f7}:not(pre)>code[class*=language-]{border-radius:.3em;padding:.1em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#007017}.token.punctuation{color:#50575e}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#043959}.token.boolean,.token.number{color:#101517}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{col
or:#2271b1}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#a85f00}.token.function{color:#b8236d}.token.keyword{color:#135e96;font-weight:600}.token.atrule,.token.attr-value,.token.function-definition{color:#101517}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}@media screen and (-ms-high-contrast:active){code[class*=language-],pre[class*=language-]{background:window;color:windowText}:not(pre)>code[class*=language-],pre[class*=language-]{background:window}.token.important{background:highlight;color:window;font-weight:700}.token.atrule,.token.attr-value,.token.function,.token.keyword,.token.operator,.token.selector{font-weight:700}.token.attr-value,.token.comment,.token.doctype,.token.function,.token.keyword,.token.operator,.token.property,.token.string{color:highlight}.token.attr-value,.token.url{font-weight:700}}pre.line-numbers{counter-reset:linenumber;padding
-left:3.8em}pre.line-numbers,pre.line-numbers>code{position:relative}.line-numbers .line-numbers-rows{border-right:0;font-size:100%;left:-3.8em;letter-spacing:-1px;pointer-events:none;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:4em}.line-numbers-rows>span{counter-increment:linenumber;display:block;pointer-events:none}.line-numbers-rows>span:before{color:#5c6370;content:counter(linenumber);display:block;padding-right:.8em;text-align:right}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/build/prism/style-index.css
</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_htmlwpcontentthemespubwporglearn2024functionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/functions.php 2024-05-14 08:45:15 UTC (rev 13699)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/functions.php 2024-05-14 09:07:40 UTC (rev 13700)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -99,7 +99,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> add_theme_support( 'responsive-embeds' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> add_filter( 'mkaz_code_syntax_force_loading', '__return_true' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- add_filter( 'mkaz_prism_css_path', '__return_empty_string' ); // Disable default styles to avoid conflicts.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ add_filter( 'mkaz_prism_css_path', __NAMESPACE__ . '\update_prism_css_path' );
</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">@@ -126,6 +126,17 @@
</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">+ * Customize the syntax highlighter style.
+ * See https://github.com/PrismJS/prism-themes.
+ *
+ * @param string $path Path to the file to override, relative to the theme.
+ * @return string
+ */
+function update_prism_css_path( $path ) {
+ return '/build/prism/style-index.css';
+}
+
+/**
</ins><span class="cx" style="display: block; padding: 0 10px"> * Provide a list of local navigation menus.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function add_site_navigation_menus( $menus ) {
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcprism_colorsscss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/prism/_colors.scss</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/prism/_colors.scss (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/prism/_colors.scss 2024-05-14 09:07:40 UTC (rev 13700)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,84 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+//Colors
+
+$color-white: #fff;
+$color-black: #000;
+
+// Color map of the WordPress core palette hex values.
+// Please keep this map in sync with the reference: https://codepen.io/ryelle/full/WNGVEjw.
+$colors: (
+ gray-0: #f6f7f7,
+ gray-2: #f0f0f1,
+ gray-5: #dcdcde,
+ gray-10: #c3c4c7,
+ gray-20: #a7aaad,
+ gray-30: #8c8f94,
+ gray-40: #787c82,
+ gray-50: #646970,
+ gray-60: #50575e,
+ gray-70: #3c434a,
+ gray-80: #2c3338,
+ gray-90: #1d2327,
+ gray-100: #101517,
+ blue-0: #f0f6fc,
+ blue-5: #c5d9ed,
+ blue-10: #9ec2e6,
+ blue-20: #72aee6,
+ blue-30: #4f94d4,
+ blue-40: #3582c4,
+ blue-50: #2271b1,
+ blue-60: #135e96,
+ blue-70: #0a4b78,
+ blue-80: #043959,
+ blue-90: #01263a,
+ blue-100: #00131c,
+ red-0: #fcf0f1,
+ red-5: #facfd2,
+ red-10: #ffabaf,
+ red-20: #ff8085,
+ red-30: #f86368,
+ red-40: #e65054,
+ red-50: #d63638,
+ red-60: #b32d2e,
+ red-70: #8a2424,
+ red-80: #691c1c,
+ red-90: #451313,
+ red-100: #240a0a,
+ yellow-0: #fcf9e8,
+ yellow-5: #f5e6ab,
+ yellow-10: #f2d675,
+ yellow-20: #f0c33c,
+ yellow-30: #dba617,
+ yellow-40: #bd8600,
+ yellow-50: #996800,
+ yellow-60: #755100,
+ yellow-70: #614200,
+ yellow-80: #4a3200,
+ yellow-90: #362400,
+ yellow-100: #211600,
+ green-0: #edfaef,
+ green-5: #b8e6bf,
+ green-10: #68de7c,
+ green-20: #1ed14b,
+ green-30: #00ba37,
+ green-40: #00a32a,
+ green-50: #008a20,
+ green-60: #007017,
+ green-70: #005c12,
+ green-80: #00450c,
+ green-90: #003008,
+ green-100: #001c05
+);
+
+// Simple function to retreive colors in the $colors map.
+// e.g. `background-color: color(gray-50);`
+
+@function get-color($key) {
+
+ @if map-has-key($colors, $key) {
+
+ @return map-get($colors, $key);
+ }
+
+ @warn "Unknown `#{$key}` in $colors.";
+ @return null;
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcprismblockjson"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/prism/block.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/src/prism/block.json (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/prism/block.json 2024-05-14 09:07:40 UTC (rev 13700)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,3 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+{
+ "script": "file:./index.js"
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcprismindexjs"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/prism/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/themes/pub/wporg-learn-2024/src/prism/index.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/prism/index.js 2024-05-14 09:07:40 UTC (rev 13700)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,2 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// Noop, just imports the CSS for webpack.
+import './style.scss';
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024srcprismstylescss"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/prism/style.scss</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/prism/style.scss (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/prism/style.scss 2024-05-14 09:07:40 UTC (rev 13700)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,209 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * Custom theme for learn.wordpress.org.
+ * Forked from a11y-dark theme by ericwbailey, which was based on the okaidia theme.
+ *
+ * https://github.com/PrismJS/prism-themes/blob/master/themes/prism-a11y-dark.css
+ * https://github.com/PrismJS/prism/blob/gh-pages/themes/prism-okaidia.css
+ */
+
+@import "colors";
+
+code[class*="language-"],
+pre[class*="language-"] {
+ color: get-color(gray-100);
+ background: none;
+ font-family: var(--wp--preset--font-family--monospace);
+ text-align: left;
+ white-space: pre;
+ word-spacing: normal;
+ word-break: normal;
+ word-wrap: normal;
+ line-height: 1.5;
+
+ -moz-tab-size: 4;
+ -o-tab-size: 4;
+ tab-size: 4;
+
+ -webkit-hyphens: none;
+ -moz-hyphens: none;
+ -ms-hyphens: none;
+ hyphens: none;
+
+ transition: height 500ms;
+}
+
+/* Code blocks */
+pre[class*="language-"] {
+ padding: 1em;
+ overflow: auto;
+ border-radius: 0.3em;
+ direction: ltr;
+}
+
+:not(pre) > code[class*="language-"],
+pre[class*="language-"] {
+ background: get-color(gray-0);
+}
+
+/* Inline code */
+:not(pre) > code[class*="language-"] {
+ padding: 0.1em;
+ border-radius: 0.3em;
+ white-space: normal;
+}
+
+.token.comment,
+.token.prolog,
+.token.doctype,
+.token.cdata {
+ color: get-color(green-60);
+}
+
+.token.punctuation {
+ color: get-color(gray-60);
+}
+
+.token.property,
+.token.tag,
+.token.constant,
+.token.symbol,
+.token.deleted {
+ color: get-color(blue-80);
+}
+
+.token.boolean,
+.token.number {
+ color: get-color(gray-100);
+}
+
+.token.selector,
+.token.attr-name,
+.token.string,
+.token.char,
+.token.builtin,
+.token.inserted {
+ color: get-color(blue-50);
+}
+
+.token.operator,
+.token.entity,
+.token.url,
+.language-css .token.string,
+.style .token.string,
+.token.variable {
+ color: #a85f00;
+}
+
+.token.function {
+ color: #b8236d;
+}
+
+.token.keyword {
+ color: get-color(blue-60);
+ font-weight: 600;
+}
+
+.token.atrule,
+.token.attr-value,
+.token.function-definition {
+ color: get-color(gray-100);
+}
+
+.token.important,
+.token.bold {
+ font-weight: 700;
+}
+
+.token.italic {
+ font-style: italic;
+}
+
+.token.entity {
+ cursor: help;
+}
+
+@media screen and (-ms-high-contrast: active) {
+ code[class*="language-"],
+ pre[class*="language-"] {
+ color: windowText;
+ background: window;
+ }
+
+ :not(pre) > code[class*="language-"],
+ pre[class*="language-"] {
+ background: window;
+ }
+
+ .token.important {
+ background: highlight;
+ color: window;
+ font-weight: 700;
+ }
+
+ .token.atrule,
+ .token.attr-value,
+ .token.function,
+ .token.keyword,
+ .token.operator,
+ .token.selector {
+ font-weight: 700;
+ }
+
+ .token.attr-value,
+ .token.comment,
+ .token.doctype,
+ .token.function,
+ .token.keyword,
+ .token.operator,
+ .token.property,
+ .token.string {
+ color: highlight;
+ }
+
+ .token.attr-value,
+ .token.url {
+ font-weight: 700;
+ }
+}
+
+/* Line Numbers */
+pre.line-numbers {
+ position: relative;
+ padding-left: 3.8em;
+ counter-reset: linenumber;
+}
+
+pre.line-numbers > code {
+ position: relative;
+}
+
+.line-numbers .line-numbers-rows {
+ position: absolute;
+ pointer-events: none;
+ top: 0;
+ font-size: 100%;
+ left: -3.8em;
+ width: 4em; /* works for line-numbers below 10000 lines */
+ letter-spacing: -1px;
+ border-right: 0;
+
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+
+}
+
+.line-numbers-rows > span {
+ pointer-events: none;
+ display: block;
+ counter-increment: linenumber;
+}
+
+.line-numbers-rows > span::before {
+ content: counter(linenumber);
+ color: #5c6370;
+ display: block;
+ padding-right: 0.8em;
+ text-align: right;
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporglearn2024stylecss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css 2024-05-14 08:45:15 UTC (rev 13699)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/style.css 2024-05-14 09:07:40 UTC (rev 13700)
</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-ef92178
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Version: 1.0.0-c7a3c12
</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>