<!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>[13244] sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024: wporg-plugins-2024: Blockify many of the template files.</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/13244">13244</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/13244","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>dufresnesteven</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-02-23 06:10:22 +0000 (Fri, 23 Feb 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'>wporg-plugins-2024: Blockify many of the template files.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024archivephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/archive.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024functionsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/functions.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024packagejson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/package.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024pagephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/page.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024partsheaderhtml">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/parts/header.html</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024patternsnavphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/nav.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksarchivepageblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/archive-page/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksarchivepageindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/archive-page/index.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksarchivepagerenderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/archive-page/render.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksfrontpageindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/front-page/index.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksfrontpagerenderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/front-page/render.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblockssearchpageblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/search-page/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblockssearchpageindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/search-page/index.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblockssearchpagerenderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/search-page/render.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024stylecss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/style.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024templatepartsnoresultsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/template-parts/no-results.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024templatesfrontpagehtml">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/front-page.html</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024templatesindexhtml">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/index.html</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024themejson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/theme.json</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024incblockconfigphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/inc/block-config.php</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/</li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/archive-page/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblocksarchivepageblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/archive-page/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblocksarchivepageindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/archive-page/index.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblocksarchivepagerenderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/archive-page/render.php</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/filter-bar/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblocksfilterbarblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/filter-bar/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblocksfilterbarindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/filter-bar/index.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblocksfilterbarrenderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/filter-bar/render.php</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/front-page/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblocksfrontpageblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/front-page/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblocksfrontpageindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/front-page/index.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblocksfrontpagerenderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/front-page/render.php</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/search-page/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblockssearchpageblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/search-page/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblockssearchpageindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/search-page/index.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblockssearchpagerenderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/search-page/render.php</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/single-page/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblockssinglepageblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/single-page/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblockssinglepageindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/single-page/index.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblockssinglepagerenderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/single-page/render.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024patternsfrontpageheaderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/front-page-header.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024patternspagedevelopersphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/page-developers.php</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/archive-page/</li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/filter-bar/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksfilterbarblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/filter-bar/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksfilterbarindexjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/filter-bar/index.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksfilterbarindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/filter-bar/index.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksfilterbarrenderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/filter-bar/render.php</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/search-page/</li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/single-page/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblockssinglepageblockjson">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/single-page/block.json</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblockssinglepageindexjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/single-page/index.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblockssinglepageindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/single-page/index.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblockssinglepagerenderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/single-page/render.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024templatesarchivehtml">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/archive.html</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024templatespagedevelopershtml">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/page-developers.html</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024templatessearchhtml">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/search.html</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024templatessinglehtml">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/single.html</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024_frontpagephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/_front-page.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024_headerphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/_header.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024footerphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/footer.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024pagedevelopersphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/page-developers.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024patternsfrontpagephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/front-page.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024searchphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/search.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024_frontpagephp"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/_front-page.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-plugins-2024/_front-page.php 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/_front-page.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,134 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php
-/**
- * The front page template file.
- *
- * @link https://codex.wordpress.org/Template_Hierarchy
- *
- * @package WordPressdotorg\Plugin_Directory\Theme
- */
-
-namespace WordPressdotorg\Plugin_Directory\Theme;
-
-use WordPressdotorg\Plugin_Directory\Template;
-
-$sections = array(
- 'blocks' => __( 'Block-Enabled Plugins', 'wporg-plugins' ),
- 'featured' => __( 'Featured Plugins', 'wporg-plugins' ),
- 'beta' => __( 'Beta Plugins', 'wporg-plugins' ),
- 'favorites' => __( 'My Favorites', 'wporg-plugins' ),
- 'popular' => __( 'Popular Plugins', 'wporg-plugins' ),
-);
-
-$widget_args = array(
- 'before_title' => '<h2 class="widget-title">',
- 'after_title' => '</h2>',
-);
-
-get_header();
-?>
-
- <main id="main" class="site-main" role="main">
-
- <?php
- foreach ( $sections as $browse => $section_title ) :
- // Only logged in users can have favorites.
- if ( 'favorites' === $browse && ! is_user_logged_in() ) {
- continue;
- }
-
- $section_args = array(
- 'post_type' => 'plugin',
- 'posts_per_page' => 4,
- 'browse' => $browse,
- 'post_status' => 'publish',
- );
-
- if ( 'popular' === $browse ) {
- $section_args['meta_key'] = '_active_installs';
- $section_args['orderby'] = 'meta_value_num';
- unset( $section_args['browse'] );
- } else if ( 'blocks' === $browse ) {
- $section_args['orderby'] = 'rand';
- $section_args['meta_query'] = [
- [
- 'key' => '_active_installs',
- 'value' => 200,
- 'type' => 'numeric',
- 'compare' => '>=',
- ],
- [
- 'key' => 'tested',
- 'value' => Template::get_current_major_wp_version() - 0.2,
- 'compare' => '>=',
- ],
- ];
- }
-
- $section_query = new \WP_Query( $section_args );
-
- // If the user doesn't have any favorites, omit the section.
- if ( 'favorites' === $browse && ! $section_query->have_posts() ) {
- continue;
- }
- ?>
-
- <section class="plugin-section">
- <header class="section-header">
- <h2 class="section-title"><?php echo esc_html( $section_title ); ?></h2>
- <a class="section-link" href="<?php echo esc_url( home_url( "browse/$browse/" ) ); ?>">
- <?php
- printf(
- /* translators: %s: Section title as an accessibility text for screen readers. */
- esc_html_x( 'See all %s', 'plugins', 'wporg-plugins' ),
- '<span class="screen-reader-text">' . esc_html( $section_title ) . '</span>'
- );
- ?>
- </a>
- </header>
-
- <?php
- while ( $section_query->have_posts() ) :
- $section_query->the_post();
-
- get_template_part( 'template-parts/plugin', 'index' );
- endwhile;
- ?>
- </section>
-
- <?php endforeach; ?>
-
- </main><!-- #main -->
-
- <aside id="secondary" class="widget-area" role="complementary">
- <?php
- the_widget( 'WP_Widget_Text', array(
- 'title' => __( 'Add Your Plugin', 'wporg-plugins' ),
- 'text' => sprintf(
- /* translators: URL to Developers page. */
- __( 'The WordPress Plugin Directory is the largest directory of free and open source WordPress plugins. Find out how to <a href="%s">host your plugin</a> on WordPress.org.', 'wporg-plugins' ),
- esc_url( home_url( 'developers' ) )
- ),
- ), $widget_args );
-
- the_widget( 'WP_Widget_Text', array(
- 'title' => __( 'Create a Plugin', 'wporg-plugins' ),
- 'text' => sprintf(
- /* translators: URL to Developer Handbook. */
- __( 'Building a plugin has never been easier. Read through the <a href="%s">Plugin Developer Handbook</a> to learn all about WordPress plugin development.', 'wporg-plugins' ),
- esc_url( 'https://developer.wordpress.org/plugins/' )
- ),
- ), $widget_args );
-
- the_widget( 'WP_Widget_Text', array(
- 'title' => __( 'Stay Up-to-Date', 'wporg-plugins' ),
- 'text' => sprintf(
- /* translators: URL to make/plugins site. */
- __( 'Plugin development is constantly changing with each new WordPress release. Keep up with the latest changes by following the <a href="%s">Plugin Review Team’s blog</a>.', 'wporg-plugins' ),
- esc_url( 'https://make.wordpress.org/plugins/' )
- ),
- ), $widget_args );
- ?>
- </aside><!-- #secondary -->
-
-<?php
-get_footer();
</del></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024_headerphp"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/_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-plugins-2024/_header.php 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/_header.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,116 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php
-/**
- * The header for our theme.
- *
- * This is the template that displays all of the <head> section and everything up until <div id="content">
- *
- * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
- *
- * @package WordPressdotorg\Plugin_Directory\Theme
- */
-
-namespace WordPressdotorg\Plugin_Directory\Theme;
-
-\WordPressdotorg\skip_to( '#main' );
-
-$menu_items = array(
- '/browse/favorites/' => __( 'My Favorites', 'wporg-plugins' ),
- '/browse/beta/' => __( 'Beta Testing', 'wporg-plugins' ),
- '/developers/' => __( 'Developers', 'wporg-plugins' ),
-);
-
-$local_nav_items = array(
- '' => __( 'All', 'wporg-plugins' ),
- 'community' => __( 'Community', 'wporg-plugins' ),
- 'commercial' => __( 'Commercial', 'wporg-plugins' ),
-);
-
-global $wp_query;
-$is_beta = 'beta' === $wp_query->get( 'browse' );
-$is_favs = 'favorites' === $wp_query->get( 'browse' );
-// The filter bar should not be shown on:
-// - singular: not relevant on pages or individual plugins.
-// - beta: likely unnecessary, these are probably all "community".
-// - favorites: not necessary.
-$show_filter_bar = ! ( is_singular() || $is_beta || $is_favs );
-
-echo do_blocks( '<!-- wp:wporg/global-header /-->' ); // phpcs:ignore
-
-?>
-<div id="page" class="site">
- <div id="content" class="site-content">
- <header id="masthead" class="site-header <?php echo is_home() ? 'home' : ''; ?>" role="banner">
- <div class="site-branding">
- <?php if ( is_home() ) : ?>
- <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo esc_html_x( 'Plugins', 'Site title', 'wporg-plugins' ); ?></a></h1>
-
- <p class="site-description">
- <?php
- $plugin_count = wp_count_posts( 'plugin' )->publish;
- printf(
- /* Translators: Total number of plugins. */
- esc_html( _n( 'Extend your WordPress experience! Browse %s free plugin.', 'Extend your WordPress experience! Browse %s free plugins.', $plugin_count, 'wporg-plugins' ) ),
- esc_html( number_format_i18n( $plugin_count ) )
- );
- ?>
- </p>
- <?php get_search_form(); ?>
- <?php else : ?>
- <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo esc_html_x( 'Plugins', 'Site title', 'wporg-plugins' ); ?></a></p>
-
- <nav id="site-navigation" class="main-navigation" role="navigation">
- <button class="menu-toggle dashicons dashicons-arrow-down-alt2" aria-controls="primary-menu" aria-expanded="false" aria-label="<?php esc_attr_e( 'Primary Menu', 'wporg-plugins' ); ?>"></button>
- <div id="primary-menu" class="menu">
- <ul>
- <?php
- foreach ( $menu_items as $path => $text ) : // phpcs:ignore
- $class = false !== strpos( $_SERVER['REQUEST_URI'], $path ) ? 'active' : ''; // phpcs:ignore
- ?>
- <li class="page_item"><a class="<?php echo esc_attr( $class ); ?>" href="<?php echo esc_url( home_url( $path ) ); ?>"><?php echo esc_html( $text ); ?></a></li>
- <?php endforeach; ?>
- <li><?php get_search_form(); ?></li>
- </ul>
- </div>
- </nav><!-- #site-navigation -->
- <?php endif; ?>
- </div><!-- .site-branding -->
- </header><!-- #masthead -->
-
- <?php if ( $show_filter_bar ) : ?>
- <div class="wporg-filter-bar">
- <nav class="wporg-filter-bar__navigation" aria-label="<?php esc_html_e( 'Plugin filters', 'wporg-plugins' ); ?>">
- <ul>
- <?php
- foreach ( $local_nav_items as $slug => $label ) {
- $class = '';
- if (
- // URL contains this filter.
- ( $slug === ( $_GET['plugin_business_model'] ?? false ) ) ||
- // Set the All item active if no business model is selected.
- ( ! $slug && empty( $_GET['plugin_business_model'] ) )
- ) {
- $class = 'is-active';
- }
-
- if ( $slug ) {
- $url = add_query_arg( array( 'plugin_business_model' => $slug ) );
- } else {
- $url = remove_query_arg( 'plugin_business_model' );
- }
-
- // Reset pagination.
- $url = remove_query_arg( 'paged', $url );
- $url = preg_replace( '!/page/\d+/?!i', '/', $url );
-
- printf(
- '<li class="page_item"><a class="%1$s" href="%2$s">%3$s</a></li>',
- esc_attr( $class ),
- esc_url( $url ),
- esc_html( $label )
- );
- }
- ?>
- </ul>
- </nav>
- </div>
- <?php endif; ?>
</del></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024archivephp"></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-plugins-2024/archive.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-plugins-2024/archive.php 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/archive.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,55 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php
-/**
- * The template for displaying archive pages.
- *
- * @link https://codex.wordpress.org/Template_Hierarchy
- *
- * @package WordPressdotorg\Plugin_Directory\Theme
- */
-
-namespace WordPressdotorg\Plugin_Directory\Theme;
-
-// If we don't have any posts to display for the archive, then send a 404 status. See #meta4151
-if ( ! have_posts() ) {
- status_header( 404 );
- nocache_headers();
-}
-
-get_header(); ?>
-
- <div id="primary" class="content-area">
- <main id="main" class="site-main" role="main">
-
- <header class="page-header">
- <?php
- the_archive_title( '<h1 class="page-title">', '</h1>' );
- the_archive_description( '<div class="taxonomy-description">', '</div>' );
- ?>
- </header><!-- .page-header -->
-
- <?php
- /* Start the Loop */
- while ( have_posts() ) :
- the_post();
-
- /*
- * Include the Post-Format-specific template for the content.
- * If you want to override this in a child theme, then include a file
- * called content-___.php (where ___ is the Post Format name) and that will be used instead.
- */
- get_template_part( 'template-parts/plugin' );
-
- endwhile;
- if ( ! have_posts() ) {
- get_template_part( 'template-parts/no-results' );
- }
-
- the_posts_pagination();
-
- ?>
-
- </main><!-- #main -->
- </div><!-- #primary -->
-
-<?php
-get_footer();
</del></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024footerphp"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/footer.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-plugins-2024/footer.php 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/footer.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,20 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php
-/**
- * The template for displaying the footer.
- *
- * Contains the closing of the #content div and all content after.
- *
- * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
- *
- * @package WordPressdotorg\Plugin_Directory\Theme
- */
-
-namespace WordPressdotorg\Plugin_Directory\Theme;
-
-?>
-
- </div><!-- #content -->
-</div><!-- #page -->
-<?php
-
-echo do_blocks( '<!-- wp:wporg/global-footer /-->' );
</del></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024functionsphp"></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-plugins-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-plugins-2024/functions.php 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/functions.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,8 +14,15 @@
</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"> // Block Files
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+require_once( __DIR__ . '/src/blocks/archive-page/index.php' );
+require_once( __DIR__ . '/src/blocks/filter-bar/index.php' );
</ins><span class="cx" style="display: block; padding: 0 10px"> require_once( __DIR__ . '/src/blocks/front-page/index.php' );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+require_once( __DIR__ . '/src/blocks/search-page/index.php' );
+require_once( __DIR__ . '/src/blocks/single-page/index.php' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// Block Configs
+require_once( __DIR__ . '/inc/block-config.php' );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Sets up theme defaults and registers support for various WordPress features.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -80,13 +87,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> wp_enqueue_style( 'wporg-style', get_theme_file_uri( '/css/style.css' ), [ 'dashicons', 'open-sans' ], filemtime( __DIR__ . '/css/style.css' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> wp_style_add_data( 'wporg-style', 'rtl', 'replace' );
</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_enqueue_style( 'wporg-parent-2021-style', get_theme_root_uri() . '/wporg-parent-2021/build/style.css', [ 'wporg-global-fonts' ] );
+ wp_enqueue_style( 'wporg-parent-2021-block-styles', get_theme_root_uri() . '/wporg-parent-2021/build/block-styles.css', [ 'wporg-global-fonts' ] );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> // Make jQuery a footer script.
</span><span class="cx" style="display: block; padding: 0 10px"> wp_scripts()->add_data( 'jquery', 'group', 1 );
</span><span class="cx" style="display: block; padding: 0 10px"> wp_scripts()->add_data( 'jquery-core', 'group', 1 );
</span><span class="cx" style="display: block; padding: 0 10px"> wp_scripts()->add_data( 'jquery-migrate', 'group', 1 );
</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_enqueue_script( 'wporg-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20181209', true );
- wp_enqueue_script( 'wporg-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20151215', true );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ wp_enqueue_script( 'wporg-navigation', get_stylesheet_directory_uri() . '/js/navigation.js', array(), '20181209', true );
+ wp_enqueue_script( 'wporg-skip-link-focus-fix', get_stylesheet_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20151215', true );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_singular( 'plugin' ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> wp_enqueue_script( 'wporg-plugins-popover', get_stylesheet_directory_uri() . '/js/popover.js', array( 'jquery' ), '20171002', true );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -477,8 +487,3 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Custom template tags for this theme.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> require get_stylesheet_directory() . '/inc/template-tags.php';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
-function register_patterns() {
- require get_stylesheet_directory() . '/patterns/nav.php';
-}
-add_action( 'init', __NAMESPACE__ . '\register_patterns' );
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024incblockconfigphp"></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-plugins-2024/inc/block-config.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-plugins-2024/inc/block-config.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/inc/block-config.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,30 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Set up configuration for dynamic blocks.
+ */
+
+namespace WordPressdotorg\Theme\Plugins_2024\Block_Config;
+
+add_filter( 'wporg_block_navigation_menus', __NAMESPACE__ . '\add_site_navigation_menus' );
+
+/**
+ * Provide a list of local navigation menus.
+ */
+function add_site_navigation_menus( $menus ) {
+ return array(
+ 'plugins' => array(
+ array(
+ 'label' => __( 'My Favorites', 'wporg-plugins' ),
+ 'url' => '/browse/favorites/',
+ ),
+ array(
+ 'label' => __( 'Beta Testing', 'wporg-plugins' ),
+ 'url' => '/browse/beta/',
+ ),
+ array(
+ 'label' => __( 'Developers', 'wporg-plugins' ),
+ 'url' => '/developers/',
+ ),
+ ),
+ );
+}
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/inc/block-config.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_htmlwpcontentthemespubwporgplugins2024jsbuildblocksarchivepageblockjson"></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-plugins-2024/js/build/blocks/archive-page/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-plugins-2024/js/build/blocks/archive-page/block.json (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/archive-page/block.json 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "wporg/archive-page",
+ "version": "0.1.0",
+ "title": "Archive Page Content",
+ "category": "design",
+ "icon": "",
+ "description": "A block that displays the archive page content",
+ "textdomain": "wporg",
+ "attributes": {},
+ "supports": {
+ "html": false
+ },
+ "editorScript": "file:./index.js",
+ "render": "file:./render.php"
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblocksarchivepageindexphp"></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-plugins-2024/js/build/blocks/archive-page/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-plugins-2024/js/build/blocks/archive-page/index.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/archive-page/index.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,22 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Block Name: Front Page
+ * Description: The content that is displayed on the front pag
+ *
+ * @package wporg
+ */
+
+namespace WordPressdotorg\Theme\Plugins_2024\ArchivePage;
+
+add_action( 'init', __NAMESPACE__ . '\init' );
+
+/**
+ * Registers the block using the metadata loaded from the `block.json` file.
+ * Behind the scenes, it registers also all assets so they can be enqueued
+ * through the block editor in the corresponding context.
+ *
+ * @see https://developer.wordpress.org/reference/functions/register_block_type/
+ */
+function init() {
+ register_block_type( __DIR__ . '/../../../js/build/blocks/archive-page' );
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/archive-page/index.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_htmlwpcontentthemespubwporgplugins2024jsbuildblocksarchivepagerenderphp"></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-plugins-2024/js/build/blocks/archive-page/render.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-plugins-2024/js/build/blocks/archive-page/render.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/archive-page/render.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,45 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+
+global $wp_query;
+
+// If we don't have any posts to display for the archive, then send a 404 status. See #meta4151
+if ( ! $wp_query->have_posts() ) {
+ status_header( 404 );
+ nocache_headers();
+}
+
+?>
+
+ <div id="primary" class="content-area">
+ <main id="main" class="site-main" role="main">
+
+ <header class="page-header">
+ <?php
+ the_archive_title( '<h1 class="page-title">', '</h1>' );
+ the_archive_description( '<div class="taxonomy-description">', '</div>' );
+ ?>
+ </header><!-- .page-header -->
+
+ <?php
+ /* Start the Loop */
+ while ( $wp_query->have_posts() ) :
+ the_post();
+
+ /*
+ * Include the Post-Format-specific template for the content.
+ * If you want to override this in a child theme, then include a file
+ * called content-___.php (where ___ is the Post Format name) and that will be used instead.
+ */
+ get_template_part( 'template-parts/plugin' );
+
+ endwhile;
+ if ( ! have_posts() ) {
+ get_template_part( 'template-parts/no-results' );
+ }
+
+ the_posts_pagination();
+
+ ?>
+
+ </main><!-- #main -->
+ </div><!-- #primary -->
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/archive-page/render.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_htmlwpcontentthemespubwporgplugins2024jsbuildblocksfilterbarblockjson"></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-plugins-2024/js/build/blocks/filter-bar/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-plugins-2024/js/build/blocks/filter-bar/block.json (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/filter-bar/block.json 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "wporg/filter-bar",
+ "version": "0.1.0",
+ "title": "Filter Bar",
+ "category": "design",
+ "icon": "",
+ "description": "Adds a filter bar",
+ "textdomain": "wporg",
+ "attributes": {},
+ "supports": {
+ "html": false
+ },
+ "editorScript": "file:./index.js",
+ "render": "file:./render.php"
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblocksfilterbarindexphp"></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-plugins-2024/js/build/blocks/filter-bar/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-plugins-2024/js/build/blocks/filter-bar/index.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/filter-bar/index.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,22 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Block Name: Single
+ * Description: The content that is displayed on the single page
+ *
+ * @package wporg
+ */
+
+namespace WordPressdotorg\Theme\Plugins_2024\FilterBar;
+
+add_action( 'init', __NAMESPACE__ . '\init' );
+
+/**
+ * Registers the block using the metadata loaded from the `block.json` file.
+ * Behind the scenes, it registers also all assets so they can be enqueued
+ * through the block editor in the corresponding context.
+ *
+ * @see https://developer.wordpress.org/reference/functions/register_block_type/
+ */
+function init() {
+ register_block_type( __DIR__ . '/../../../js/build/blocks/filter-bar' );
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/filter-bar/index.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_htmlwpcontentthemespubwporgplugins2024jsbuildblocksfilterbarrenderphp"></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-plugins-2024/js/build/blocks/filter-bar/render.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-plugins-2024/js/build/blocks/filter-bar/render.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/filter-bar/render.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,58 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+
+global $wp_query;
+$is_beta = 'beta' === $wp_query->get( 'browse' );
+$is_favs = 'favorites' === $wp_query->get( 'browse' );
+// The filter bar should not be shown on:
+// - singular: not relevant on pages or individual plugins.
+// - beta: likely unnecessary, these are probably all "community".
+// - favorites: not necessary.
+
+if ( is_singular() || $is_beta || $is_favs || ( is_search() && $wp_query->found_posts === 0 ) ) {
+ return;
+}
+
+$local_nav_items = array(
+ '' => __( 'All', 'wporg-plugins' ),
+ 'community' => __( 'Community', 'wporg-plugins' ),
+ 'commercial' => __( 'Commercial', 'wporg-plugins' ),
+);
+
+?>
+
+<div class="wporg-filter-bar">
+ <nav class="wporg-filter-bar__navigation" aria-label="<?php esc_html_e( 'Plugin filters', 'wporg-plugins' ); ?>">
+ <ul>
+ <?php
+ foreach ( $local_nav_items as $slug => $label ) {
+ $class = '';
+ if (
+ // URL contains this filter.
+ ( $slug === ( $_GET['plugin_business_model'] ?? false ) ) ||
+ // Set the All item active if no business model is selected.
+ ( ! $slug && empty( $_GET['plugin_business_model'] ) )
+ ) {
+ $class = 'is-active';
+ }
+
+ if ( $slug ) {
+ $url = add_query_arg( array( 'plugin_business_model' => $slug ) );
+ } else {
+ $url = remove_query_arg( 'plugin_business_model' );
+ }
+
+ // Reset pagination.
+ $url = remove_query_arg( 'paged', $url );
+ $url = preg_replace( '!/page/\d+/?!i', '/', $url );
+
+ printf(
+ '<li class="page_item"><a class="%1$s" href="%2$s">%3$s</a></li>',
+ esc_attr( $class ),
+ esc_url( $url ),
+ esc_html( $label )
+ );
+ }
+ ?>
+ </ul>
+ </nav>
+</div>
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/filter-bar/render.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_htmlwpcontentthemespubwporgplugins2024jsbuildblocksfrontpageblockjson"></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-plugins-2024/js/build/blocks/front-page/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-plugins-2024/js/build/blocks/front-page/block.json (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/front-page/block.json 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "wporg/front-page",
+ "version": "0.1.0",
+ "title": "Front Page Content",
+ "category": "design",
+ "icon": "",
+ "description": "A block that displays the front page content",
+ "textdomain": "wporg",
+ "attributes": {},
+ "supports": {
+ "html": false
+ },
+ "editorScript": "file:./index.js",
+ "render": "file:./render.php"
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblocksfrontpageindexphp"></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-plugins-2024/js/build/blocks/front-page/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-plugins-2024/js/build/blocks/front-page/index.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/front-page/index.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,22 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Block Name: Front Page
+ * Description: The content that is displayed on the front pag
+ *
+ * @package wporg
+ */
+
+namespace WordPressdotorg\Theme\Plugins_2024\FrontPage;
+
+add_action( 'init', __NAMESPACE__ . '\init' );
+
+/**
+ * Registers the block using the metadata loaded from the `block.json` file.
+ * Behind the scenes, it registers also all assets so they can be enqueued
+ * through the block editor in the corresponding context.
+ *
+ * @see https://developer.wordpress.org/reference/functions/register_block_type/
+ */
+function init() {
+ register_block_type( __DIR__ . '/../../../js/build/blocks/front-page' );
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/front-page/index.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_htmlwpcontentthemespubwporgplugins2024jsbuildblocksfrontpagerenderphp"></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-plugins-2024/js/build/blocks/front-page/render.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-plugins-2024/js/build/blocks/front-page/render.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/front-page/render.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,120 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+use WordPressdotorg\Plugin_Directory\Template;
+
+$sections = array(
+ 'blocks' => __( 'Block-Enabled Plugins', 'wporg-plugins' ),
+ 'featured' => __( 'Featured Plugins', 'wporg-plugins' ),
+ 'beta' => __( 'Beta Plugins', 'wporg-plugins' ),
+ 'favorites' => __( 'My Favorites', 'wporg-plugins' ),
+ 'popular' => __( 'Popular Plugins', 'wporg-plugins' ),
+);
+
+$widget_args = array(
+ 'before_title' => '<h2 class="widget-title">',
+ 'after_title' => '</h2>',
+);
+
+?>
+
+ <main id="main" class="site-main" role="main">
+
+ <?php
+ foreach ( $sections as $browse => $section_title ) :
+ // Only logged in users can have favorites.
+ if ( 'favorites' === $browse && ! is_user_logged_in() ) {
+ continue;
+ }
+
+ $section_args = array(
+ 'post_type' => 'plugin',
+ 'posts_per_page' => 4,
+ 'browse' => $browse,
+ 'post_status' => 'publish',
+ );
+
+ if ( 'popular' === $browse ) {
+ $section_args['meta_key'] = '_active_installs';
+ $section_args['orderby'] = 'meta_value_num';
+ unset( $section_args['browse'] );
+ } else if ( 'blocks' === $browse ) {
+ $section_args['orderby'] = 'rand';
+ $section_args['meta_query'] = [
+ [
+ 'key' => '_active_installs',
+ 'value' => 200,
+ 'type' => 'numeric',
+ 'compare' => '>=',
+ ],
+ [
+ 'key' => 'tested',
+ 'value' => Template::get_current_major_wp_version() - 0.2,
+ 'compare' => '>=',
+ ],
+ ];
+ }
+
+ $section_query = new \WP_Query( $section_args );
+
+ // If the user doesn't have any favorites, omit the section.
+ if ( 'favorites' === $browse && ! $section_query->have_posts() ) {
+ continue;
+ }
+ ?>
+
+ <section class="plugin-section">
+ <header class="section-header">
+ <h2 class="section-title"><?php echo esc_html( $section_title ); ?></h2>
+ <a class="section-link" href="<?php echo esc_url( home_url( "browse/$browse/" ) ); ?>">
+ <?php
+ printf(
+ /* translators: %s: Section title as an accessibility text for screen readers. */
+ esc_html_x( 'See all %s', 'plugins', 'wporg-plugins' ),
+ '<span class="screen-reader-text">' . esc_html( $section_title ) . '</span>'
+ );
+ ?>
+ </a>
+ </header>
+
+ <?php
+ while ( $section_query->have_posts() ) :
+ $section_query->the_post();
+
+ get_template_part( 'template-parts/plugin', 'index' );
+ endwhile;
+ ?>
+ </section>
+
+ <?php endforeach; ?>
+
+ </main><!-- #main -->
+
+ <aside id="secondary" class="widget-area" role="complementary">
+ <?php
+ the_widget( 'WP_Widget_Text', array(
+ 'title' => __( 'Add Your Plugin', 'wporg-plugins' ),
+ 'text' => sprintf(
+ /* translators: URL to Developers page. */
+ __( 'The WordPress Plugin Directory is the largest directory of free and open source WordPress plugins. Find out how to <a href="%s">host your plugin</a> on WordPress.org.', 'wporg-plugins' ),
+ esc_url( home_url( 'developers' ) )
+ ),
+ ), $widget_args );
+
+ the_widget( 'WP_Widget_Text', array(
+ 'title' => __( 'Create a Plugin', 'wporg-plugins' ),
+ 'text' => sprintf(
+ /* translators: URL to Developer Handbook. */
+ __( 'Building a plugin has never been easier. Read through the <a href="%s">Plugin Developer Handbook</a> to learn all about WordPress plugin development.', 'wporg-plugins' ),
+ esc_url( 'https://developer.wordpress.org/plugins/' )
+ ),
+ ), $widget_args );
+
+ the_widget( 'WP_Widget_Text', array(
+ 'title' => __( 'Stay Up-to-Date', 'wporg-plugins' ),
+ 'text' => sprintf(
+ /* translators: URL to make/plugins site. */
+ __( 'Plugin development is constantly changing with each new WordPress release. Keep up with the latest changes by following the <a href="%s">Plugin Review Team’s blog</a>.', 'wporg-plugins' ),
+ esc_url( 'https://make.wordpress.org/plugins/' )
+ ),
+ ), $widget_args );
+ ?>
+ </aside><!-- #secondary -->
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/front-page/render.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_htmlwpcontentthemespubwporgplugins2024jsbuildblockssearchpageblockjson"></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-plugins-2024/js/build/blocks/search-page/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-plugins-2024/js/build/blocks/search-page/block.json (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/search-page/block.json 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "wporg/search-page",
+ "version": "0.1.0",
+ "title": "Search Page Content",
+ "category": "design",
+ "icon": "",
+ "description": "A block that displays the search page content",
+ "textdomain": "wporg",
+ "attributes": {},
+ "supports": {
+ "html": false
+ },
+ "editorScript": "file:./index.js",
+ "render": "file:./render.php"
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblockssearchpageindexphp"></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-plugins-2024/js/build/blocks/search-page/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-plugins-2024/js/build/blocks/search-page/index.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/search-page/index.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,22 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Block Name: Front Page
+ * Description: The content that is displayed on the front pag
+ *
+ * @package wporg
+ */
+
+namespace WordPressdotorg\Theme\Plugins_2024\SearchPage;
+
+add_action( 'init', __NAMESPACE__ . '\init' );
+
+/**
+ * Registers the block using the metadata loaded from the `block.json` file.
+ * Behind the scenes, it registers also all assets so they can be enqueued
+ * through the block editor in the corresponding context.
+ *
+ * @see https://developer.wordpress.org/reference/functions/register_block_type/
+ */
+function init() {
+ register_block_type( __DIR__ . '/../../../js/build/blocks/search-page' );
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/search-page/index.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_htmlwpcontentthemespubwporgplugins2024jsbuildblockssearchpagerenderphp"></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-plugins-2024/js/build/blocks/search-page/render.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-plugins-2024/js/build/blocks/search-page/render.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/search-page/render.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,41 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+global $wp_query;
+
+?>
+
+<header class="page-header">
+ <h1 class="page-title">
+ <?php
+ printf(
+ /* translators: Search query. */
+ esc_html__( 'Showing results for: %s', 'wporg-plugins' ),
+ '<strong>' . get_search_query() . '</strong>'
+ );
+ ?>
+ </h1>
+ <?php
+ if ( get_query_var( 'block_search' ) ) {
+ printf(
+ /* translators: %s: Search URL */
+ '<p>' . __( 'Searching the block directory. <a href="%s">Search all plugins</a>.', 'wporg-plugins' ) . '</p>',
+ remove_query_arg( 'block_search' )
+ );
+ }
+ ?>
+ </header><!-- .page-header -->
+
+ <?php
+ /* Start the Loop */
+ while ( have_posts() ) :
+ the_post();
+
+ get_template_part( 'template-parts/plugin', 'index' );
+ endwhile;
+
+ if ( ! have_posts() ) {
+ get_template_part( 'template-parts/no-results' );
+ }
+
+ the_posts_pagination();
+
+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/search-page/render.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_htmlwpcontentthemespubwporgplugins2024jsbuildblockssinglepageblockjson"></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-plugins-2024/js/build/blocks/single-page/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-plugins-2024/js/build/blocks/single-page/block.json (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/single-page/block.json 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,18 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "wporg/single-page",
+ "version": "0.1.0",
+ "title": "Single Page Content",
+ "category": "design",
+ "icon": "",
+ "description": "A block that displays the single page content",
+ "textdomain": "wporg",
+ "attributes": {},
+ "supports": {
+ "html": false
+ },
+ "usesContext": [ "postId" ],
+ "editorScript": "file:./index.js",
+ "render": "file:./render.php"
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024jsbuildblockssinglepageindexphp"></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-plugins-2024/js/build/blocks/single-page/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-plugins-2024/js/build/blocks/single-page/index.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/single-page/index.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,22 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Block Name: Single
+ * Description: The content that is displayed on the single page
+ *
+ * @package wporg
+ */
+
+namespace WordPressdotorg\Theme\Plugins_2024\SinglePage;
+
+add_action( 'init', __NAMESPACE__ . '\init' );
+
+/**
+ * Registers the block using the metadata loaded from the `block.json` file.
+ * Behind the scenes, it registers also all assets so they can be enqueued
+ * through the block editor in the corresponding context.
+ *
+ * @see https://developer.wordpress.org/reference/functions/register_block_type/
+ */
+function init() {
+ register_block_type( __DIR__ . '/../../../js/build/blocks/single-page' );
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/single-page/index.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_htmlwpcontentthemespubwporgplugins2024jsbuildblockssinglepagerenderphp"></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-plugins-2024/js/build/blocks/single-page/render.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-plugins-2024/js/build/blocks/single-page/render.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/single-page/render.php 2024-02-23 06:10:22 UTC (rev 13244)
</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">+<?php
+ get_template_part( 'template-parts/plugin', 'single' );
+?>
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/js/build/blocks/single-page/render.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_htmlwpcontentthemespubwporgplugins2024packagejson"></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-plugins-2024/package.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-plugins-2024/package.json 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/package.json 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7,11 +7,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "main": "index.php",
</span><span class="cx" style="display: block; padding: 0 10px"> "scripts": {
</span><span class="cx" style="display: block; padding: 0 10px"> "watch:css": "grunt watch",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "watch:js": "wp-scripts start",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "watch:js": "wp-scripts start --webpack-copy-php",
</ins><span class="cx" style="display: block; padding: 0 10px"> "watch": "concurrently \"npm run watch:js\" \"npm run watch:css\"",
</span><span class="cx" style="display: block; padding: 0 10px"> "build:css": "grunt build",
</span><span class="cx" style="display: block; padding: 0 10px"> "build:js": "wp-scripts build --webpack-copy-php",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
</del><span class="cx" style="display: block; padding: 0 10px"> "build": "npm run build:css && npm run build:js",
</span><span class="cx" style="display: block; padding: 0 10px"> "format:js": "wp-scripts format client",
</span><span class="cx" style="display: block; padding: 0 10px"> "lint:js": "wp-scripts lint-js client",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -27,7 +26,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "devDependencies": {
</span><span class="cx" style="display: block; padding: 0 10px"> "@lodder/grunt-postcss": "3.1.1",
</span><span class="cx" style="display: block; padding: 0 10px"> "@wordpress/browserslist-config": "4.1.2",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "@wordpress/scripts": "22.2.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "@wordpress/scripts": "27.2.0",
</ins><span class="cx" style="display: block; padding: 0 10px"> "autoprefixer": "10.4.3",
</span><span class="cx" style="display: block; padding: 0 10px"> "concurrently": "7.0.0",
</span><span class="cx" style="display: block; padding: 0 10px"> "cssnano": "5.1.4",
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024pagedevelopersphp"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/page-developers.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-plugins-2024/page-developers.php 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/page-developers.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,131 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php
-/**
- * The template for the Developers page.
- *
- * @package WordPressdotorg\Plugin_Directory\Theme
- */
-
-namespace WordPressdotorg\Plugin_Directory\Theme;
-
-get_header(); ?>
-
- <main id="main" class="site-main" role="main">
-
- <?php
- while ( have_posts() ) :
- the_post();
- ?>
-
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header class="entry-header">
- <h1 class="entry-title"><?php esc_html_e( 'Developer Information', 'wporg-plugins' ); ?></h1>
- </header><!-- .entry-header -->
-
- <div class="entry-content">
- <p>
- <?php
- /* translators: URL to plugin submission form. */
- printf( wp_kses_post( __( 'You’ve got a cool new plugin and are hoping to give it some exposure. You’re in the right place. Just <a href="%s">ask us to host it for you</a>. You’ll be able to:', 'wporg-plugins' ) ), esc_url( home_url( 'developers/add/' ) ) );
- ?>
- </p>
- <ul>
- <li><?php esc_html_e( 'Keep track of how many people have downloaded it.', 'wporg-plugins' ); ?></li>
- <li><?php esc_html_e( 'Let people leave comments about your plugin.', 'wporg-plugins' ); ?></li>
- <li><?php esc_html_e( 'Get your plugin rated against all the other cool WordPress plugins.', 'wporg-plugins' ); ?></li>
- <li><?php esc_html_e( 'Give your plugin lots of exposure in this centralized repository.', 'wporg-plugins' ); ?></li>
- </ul>
-
- <h3><?php esc_html_e( 'There are some restrictions', 'wporg-plugins' ); ?></h3>
- <ul>
- <li>
- <?php
- /* translators: URL to licence list. */
- printf( wp_kses_post( __( 'Your plugin must be compatible with the <a href="%s">GNU General Public License v2</a>, or any later version. We strongly recommend using the same license as WordPress — “GPLv2 or later.”', 'wporg-plugins' ) ), esc_url( 'https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses' ) );
- ?>
- </li>
- <li><?php esc_html_e( 'The plugin must not do anything illegal or be morally offensive (that’s subjective, we know).', 'wporg-plugins' ); ?></li>
- <li>
- <?php
- /* translators: URL to Subversion. */
- printf( wp_kses_post( __( 'You have to actually use the <a href="%s">Subversion</a> repository we give you in order for your plugin to show up on this site. The WordPress Plugin Directory is a hosting site, not a listing site.', 'wporg-plugins' ) ), esc_url( 'https://subversion.apache.org/' ) );
- ?>
- </li>
- <li><?php esc_html_e( 'The plugin must not embed external links on the public site (like a “powered by” link) without explicitly asking the user’s permission.', 'wporg-plugins' ); ?></li>
- <li>
- <?php
- /* translators: URL to plugin guidelines. */
- printf( wp_kses_post( __( 'Your plugin must abide by our list of <a href="%s">detailed guidelines</a>, which include not being a spammer and not abusing the systems.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' ) );
- ?>
- </li>
- </ul>
-
- <h3><?php esc_html_e( 'Submission is Simple', 'wporg-plugins' ); ?></h3>
- <ol>
- <li>
- <?php
- /* translators: URL to registration form. */
- printf( wp_kses_post( __( '<a href="%s">Sign up</a>Â for an account on WordPress.org.', 'wporg-plugins' ) ), esc_url( wp_registration_url() ) );
- ?>
- </li>
- <li>
- <?php
- /* translators: URL to plugin submission form. */
- printf( wp_kses_post( __( '<a href="%s">Submit your plugin for review</a>.', 'wporg-plugins' ) ), esc_url( home_url( 'developers/add/' ) ) );
- ?>
- </li>
- <li>
- <?php
- /* translators: URL to submission FAQ. */
- printf( wp_kses_post( __( 'After your plugin is <a href="%s">manually reviewed</a>, it will either be approved or you will be emailed and asked to provide more information and/or make corrections.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/#questions-about-submissions-and-approval' ) );
- ?>
- </li>
- <li>
- <?php
- /* translators: URL to Subversion how-to page. */
- printf( wp_kses_post( __( 'Once approved, you’ll be given access to a <a id="subversion" href="%s">Subversion Repository</a> where you’ll store your plugin.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/' ) );
- ?>
- </li>
- <li>
- <?php
- /* translators: 1: URL to readme section; 2: URL to home page; */
- printf( wp_kses_post( __( 'Shortly after you upload your plugin (and a <a href="%1$s">readme file</a>!) to that repository, it will be automatically displayed in the <a href="%2$s">plugins browser</a>.', 'wporg-plugins' ) ), '#readme', esc_url( home_url( '/' ) ) );
- ?>
- </li>
- <li>
- <?php
- /* translators: URL to developer FAQ. */
- printf( wp_kses_post( __( 'Check out the <strong><a href="%s">FAQ</a></strong> for more information.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/' ) );
- ?>
- </li>
- </ol>
-
- <h3 id="readme"><?php esc_html_e( 'Readme files', 'wporg-plugins' ); ?></h3>
- <p>
- <?php
- /* translators: 1: URL to readme file; 2: URL to readme validator; */
- printf( wp_kses_post( __( 'To make your entry in the plugin browser most useful, each plugin should have a readme file named <code>readme.txt</code> that adheres to the <a href="%1$s">WordPress plugin readme file standard</a>. You can put your readme file through the <a href="%2$s">readme validator</a> to check it.', 'wporg-plugins' ) ), esc_url( home_url( 'readme.txt' ) ), esc_url( home_url( '/developers/readme-validator/' ) ) );
- ?>
- </p>
- </div><!-- .entry-content -->
-
- <footer class="entry-footer">
- <?php
- edit_post_link(
- sprintf(
- /* translators: %s: Name of current post */
- esc_html__( 'Edit %s', 'wporg-plugins' ),
- the_title( '<span class="screen-reader-text">"', '"</span>', false )
- ),
- '<span class="edit-link">',
- '</span>'
- );
- ?>
- </footer><!-- .entry-footer -->
- </article><!-- #post-## -->
-
- <?php endwhile; ?>
-
- </main><!-- #main -->
-
-<?php
-get_footer();
</del></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024pagephp"></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-plugins-2024/page.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-plugins-2024/page.php 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/page.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,4 +29,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </main><!-- #main -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-get_footer();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+echo do_blocks( '<!-- wp:wporg/global-footer /-->' );
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024partsheaderhtml"></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-plugins-2024/parts/header.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-plugins-2024/parts/header.html 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/parts/header.html 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,3 +1,5 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<!-- wp:wporg/global-header /-->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:wporg/global-header {"style":{"border":{"bottom":{"color":"var:preset|color|white-opacity-15","style":"solid","width":"1px"}}}} /-->
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<!-- wp:pattern {"slug":"wporg-plugins-2024/nav"} /-->
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:pattern {"slug":"wporg-plugins-2024/nav"} /-->
+
+<!-- wp:wporg/filter-bar /-->
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024patternsfrontpageheaderphp"></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-plugins-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-plugins-2024/patterns/front-page-header.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/front-page-header.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,40 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Title: Front Page Header
+ * Slug: wporg-plugins-2024/front-page-header
+ * Inserter: no
+ */
+
+?>
+
+<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space","bottom":"var:preset|spacing|30"}}},"backgroundColor":"charcoal-2","className":"has-white-color has-charcoal-2-background-color has-text-color has-background has-link-color","layout":{"type":"constrained"}} -->
+<div class="wp-block-group alignfull has-white-color has-charcoal-2-background-color has-text-color has-background has-link-color" style="padding-right:var(--wp--preset--spacing--edge-space);padding-left:var(--wp--preset--spacing--edge-space);padding-bottom:var(--wp--preset--spacing--30);">
+
+ <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|40"},"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"wrap","verticalAlignment":"bottom"}} -->
+ <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--40);">
+
+ <!-- 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( 'Plugins', 'wporg' ); ?></h1>
+ <!-- /wp:heading -->
+
+ <!-- wp:paragraph {"style":{"typography":{"lineHeight":"2.3"}},"textColor":"white"} -->
+ <p class="has-white-color has-text-color" style="line-height:2.3">
+ <?php
+ $plugin_count = wp_count_posts( 'plugin' )->publish;
+ printf(
+ /* Translators: Total number of plugins. */
+ esc_html( _n( 'Extend your WordPress experience! Browse %s free plugin.', 'Extend your WordPress experience! Browse %s free plugins.', $plugin_count, 'wporg-plugins' ) ),
+ esc_html( number_format_i18n( $plugin_count ) )
+ );
+ ?>
+ </p>
+ <!-- /wp:paragraph -->
+ </div>
+ <!-- /wp:group -->
+ <!-- wp:group {"align":"wide","style":{"spacing":{"bottom":"var:preset|spacing|10"}}}} -->
+ <div class="wp-block-group alignwide" style=";padding-bottom:var(--wp--preset--spacing--10)">
+ <!-- wp:search {"showLabel":false,"placeholder":"<?php esc_html_e( 'Search plugins...', 'wporg' ); ?>","width":250,"widthUnit":"px","buttonText":"<?php esc_html_e( 'Search', 'wporg' ); ?>","buttonPosition":"button-inside","buttonUseIcon":true,"className":"is-style-secondary-search-control"} /-->
+ </div>
+ <!-- /wp:group -->
+</div>
+<!-- /wp:group -->
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/front-page-header.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_htmlwpcontentthemespubwporgplugins2024patternsfrontpagephp"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/front-page.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-plugins-2024/patterns/front-page.php 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/front-page.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,132 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php
-/**
- * Title: Front page
- * Slug: wporg-plugins-2024/front-page
- * Inserter: no
- */
-
-namespace WordPressdotorg\Plugin_Directory\Theme;
-
-use WordPressdotorg\Plugin_Directory\Template;
-
-$sections = array(
- 'blocks' => __( 'Block-Enabled Plugins', 'wporg-plugins' ),
- 'featured' => __( 'Featured Plugins', 'wporg-plugins' ),
- 'beta' => __( 'Beta Plugins', 'wporg-plugins' ),
- 'favorites' => __( 'My Favorites', 'wporg-plugins' ),
- 'popular' => __( 'Popular Plugins', 'wporg-plugins' ),
-);
-
-$widget_args = array(
- 'before_title' => '<h2 class="widget-title">',
- 'after_title' => '</h2>',
-);
-
-get_header();
-?>
-
- <main id="main" class="site-main" role="main">
-
- <?php
- foreach ( $sections as $browse => $section_title ) :
- // Only logged in users can have favorites.
- if ( 'favorites' === $browse && ! is_user_logged_in() ) {
- continue;
- }
-
- $section_args = array(
- 'post_type' => 'plugin',
- 'posts_per_page' => 4,
- 'browse' => $browse,
- 'post_status' => 'publish',
- );
-
- if ( 'popular' === $browse ) {
- $section_args['meta_key'] = '_active_installs';
- $section_args['orderby'] = 'meta_value_num';
- unset( $section_args['browse'] );
- } else if ( 'blocks' === $browse ) {
- $section_args['orderby'] = 'rand';
- $section_args['meta_query'] = [
- [
- 'key' => '_active_installs',
- 'value' => 200,
- 'type' => 'numeric',
- 'compare' => '>=',
- ],
- [
- 'key' => 'tested',
- 'value' => Template::get_current_major_wp_version() - 0.2,
- 'compare' => '>=',
- ],
- ];
- }
-
- $section_query = new \WP_Query( $section_args );
-
- // If the user doesn't have any favorites, omit the section.
- if ( 'favorites' === $browse && ! $section_query->have_posts() ) {
- continue;
- }
- ?>
-
- <section class="plugin-section">
- <header class="section-header">
- <h2 class="section-title"><?php echo esc_html( $section_title ); ?></h2>
- <a class="section-link" href="<?php echo esc_url( home_url( "browse/$browse/" ) ); ?>">
- <?php
- printf(
- /* translators: %s: Section title as an accessibility text for screen readers. */
- esc_html_x( 'See all %s', 'plugins', 'wporg-plugins' ),
- '<span class="screen-reader-text">' . esc_html( $section_title ) . '</span>'
- );
- ?>
- </a>
- </header>
-
- <?php
- while ( $section_query->have_posts() ) :
- $section_query->the_post();
-
- get_template_part( 'template-parts/plugin', 'index' );
- endwhile;
- ?>
- </section>
-
- <?php endforeach; ?>
-
- </main><!-- #main -->
-
- <aside id="secondary" class="widget-area" role="complementary">
- <?php
- the_widget( 'WP_Widget_Text', array(
- 'title' => __( 'Add Your Plugin', 'wporg-plugins' ),
- 'text' => sprintf(
- /* translators: URL to Developers page. */
- __( 'The WordPress Plugin Directory is the largest directory of free and open source WordPress plugins. Find out how to <a href="%s">host your plugin</a> on WordPress.org.', 'wporg-plugins' ),
- esc_url( home_url( 'developers' ) )
- ),
- ), $widget_args );
-
- the_widget( 'WP_Widget_Text', array(
- 'title' => __( 'Create a Plugin', 'wporg-plugins' ),
- 'text' => sprintf(
- /* translators: URL to Developer Handbook. */
- __( 'Building a plugin has never been easier. Read through the <a href="%s">Plugin Developer Handbook</a> to learn all about WordPress plugin development.', 'wporg-plugins' ),
- esc_url( 'https://developer.wordpress.org/plugins/' )
- ),
- ), $widget_args );
-
- the_widget( 'WP_Widget_Text', array(
- 'title' => __( 'Stay Up-to-Date', 'wporg-plugins' ),
- 'text' => sprintf(
- /* translators: URL to make/plugins site. */
- __( 'Plugin development is constantly changing with each new WordPress release. Keep up with the latest changes by following the <a href="%s">Plugin Review Team’s blog</a>.', 'wporg-plugins' ),
- esc_url( 'https://make.wordpress.org/plugins/' )
- ),
- ), $widget_args );
- ?>
- </aside><!-- #secondary -->
-
-<?php
-get_footer();
</del></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024patternsnavphp"></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-plugins-2024/patterns/nav.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-plugins-2024/patterns/nav.php 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/nav.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,12 +9,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<!-- wp:wporg/local-navigation-bar {"backgroundColor":"charcoal-1","style":{"position":{"type":"sticky"},"elements":{"link":{"color":{"text":"var:preset|color|white"},":hover":{"color":{"text":"var:preset|color|white"}}}}},"textColor":"white","fontSize":"small"} -->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:wporg/local-navigation-bar {"className":"has-display-contents","backgroundColor":"charcoal-2","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"},":hover":{"color":{"text":"var:preset|color|white"}}}}},"textColor":"white","fontSize":"small"} -->
</ins><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:site-title {"level":0,"fontSize":"small"} /-->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:navigation {"menuSlug":"plugins","overlayBackgroundColor":"charcoal-1","overlayTextColor":"white","icon":"menu","layout":{"type":"flex","orientation":"horizontal"},"style":{"spacing":{"blockGap":"24px"}},"fontSize":"small"} /-->
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:wporg/local-navigation-bar -->
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
-<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"18px","bottom":"18px","left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space"}}},"backgroundColor":"white","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
-<div class="wp-block-group alignfull has-white-background-color has-background" style="padding-top:18px;padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:18px;padding-left:var(--wp--preset--spacing--edge-space)"><!-- wp:wporg/site-breadcrumbs {"fontSize":"small"} /--></div>
-<!-- /wp:group -->
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024patternspagedevelopersphp"></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-plugins-2024/patterns/page-developers.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-plugins-2024/patterns/page-developers.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/page-developers.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,103 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+
+/**
+ * Title: Page Developers
+ * Slug: wporg-plugins-2024/page-developers
+ * Inserter: no
+ */
+
+?>
+
+<article>
+ <header class="entry-header">
+ <h1 class="entry-title"><?php esc_html_e( 'Developer Information', 'wporg-plugins' ); ?></h1>
+ </header><!-- .entry-header -->
+
+ <div class="entry-content">
+ <p>
+ <?php
+ /* translators: URL to plugin submission form. */
+ printf( wp_kses_post( __( 'You’ve got a cool new plugin and are hoping to give it some exposure. You’re in the right place. Just <a href="%s">ask us to host it for you</a>. You’ll be able to:', 'wporg-plugins' ) ), esc_url( home_url( 'developers/add/' ) ) );
+ ?>
+ </p>
+ <ul>
+ <li><?php esc_html_e( 'Keep track of how many people have downloaded it.', 'wporg-plugins' ); ?></li>
+ <li><?php esc_html_e( 'Let people leave comments about your plugin.', 'wporg-plugins' ); ?></li>
+ <li><?php esc_html_e( 'Get your plugin rated against all the other cool WordPress plugins.', 'wporg-plugins' ); ?></li>
+ <li><?php esc_html_e( 'Give your plugin lots of exposure in this centralized repository.', 'wporg-plugins' ); ?></li>
+ </ul>
+
+ <h3><?php esc_html_e( 'There are some restrictions', 'wporg-plugins' ); ?></h3>
+ <ul>
+ <li>
+ <?php
+ /* translators: URL to licence list. */
+ printf( wp_kses_post( __( 'Your plugin must be compatible with the <a href="%s">GNU General Public License v2</a>, or any later version. We strongly recommend using the same license as WordPress — “GPLv2 or later.”', 'wporg-plugins' ) ), esc_url( 'https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses' ) );
+ ?>
+ </li>
+ <li><?php esc_html_e( 'The plugin must not do anything illegal or be morally offensive (that’s subjective, we know).', 'wporg-plugins' ); ?></li>
+ <li>
+ <?php
+ /* translators: URL to Subversion. */
+ printf( wp_kses_post( __( 'You have to actually use the <a href="%s">Subversion</a> repository we give you in order for your plugin to show up on this site. The WordPress Plugin Directory is a hosting site, not a listing site.', 'wporg-plugins' ) ), esc_url( 'https://subversion.apache.org/' ) );
+ ?>
+ </li>
+ <li><?php esc_html_e( 'The plugin must not embed external links on the public site (like a “powered by” link) without explicitly asking the user’s permission.', 'wporg-plugins' ); ?></li>
+ <li>
+ <?php
+ /* translators: URL to plugin guidelines. */
+ printf( wp_kses_post( __( 'Your plugin must abide by our list of <a href="%s">detailed guidelines</a>, which include not being a spammer and not abusing the systems.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' ) );
+ ?>
+ </li>
+ </ul>
+
+ <h3><?php esc_html_e( 'Submission is Simple', 'wporg-plugins' ); ?></h3>
+ <ol>
+ <li>
+ <?php
+ /* translators: URL to registration form. */
+ printf( wp_kses_post( __( '<a href="%s">Sign up</a>Â for an account on WordPress.org.', 'wporg-plugins' ) ), esc_url( wp_registration_url() ) );
+ ?>
+ </li>
+ <li>
+ <?php
+ /* translators: URL to plugin submission form. */
+ printf( wp_kses_post( __( '<a href="%s">Submit your plugin for review</a>.', 'wporg-plugins' ) ), esc_url( home_url( 'developers/add/' ) ) );
+ ?>
+ </li>
+ <li>
+ <?php
+ /* translators: URL to submission FAQ. */
+ printf( wp_kses_post( __( 'After your plugin is <a href="%s">manually reviewed</a>, it will either be approved or you will be emailed and asked to provide more information and/or make corrections.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/#questions-about-submissions-and-approval' ) );
+ ?>
+ </li>
+ <li>
+ <?php
+ /* translators: URL to Subversion how-to page. */
+ printf( wp_kses_post( __( 'Once approved, you’ll be given access to a <a id="subversion" href="%s">Subversion Repository</a> where you’ll store your plugin.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/' ) );
+ ?>
+ </li>
+ <li>
+ <?php
+ /* translators: 1: URL to readme section; 2: URL to home page; */
+ printf( wp_kses_post( __( 'Shortly after you upload your plugin (and a <a href="%1$s">readme file</a>!) to that repository, it will be automatically displayed in the <a href="%2$s">plugins browser</a>.', 'wporg-plugins' ) ), '#readme', esc_url( home_url( '/' ) ) );
+ ?>
+ </li>
+ <li>
+ <?php
+ /* translators: URL to developer FAQ. */
+ printf( wp_kses_post( __( 'Check out the <strong><a href="%s">FAQ</a></strong> for more information.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/' ) );
+ ?>
+ </li>
+ </ol>
+
+ <h3 id="readme"><?php esc_html_e( 'Readme files', 'wporg-plugins' ); ?></h3>
+ <p>
+ <?php
+ /* translators: 1: URL to readme file; 2: URL to readme validator; */
+ printf( wp_kses_post( __( 'To make your entry in the plugin browser most useful, each plugin should have a readme file named <code>readme.txt</code> that adheres to the <a href="%1$s">WordPress plugin readme file standard</a>. You can put your readme file through the <a href="%2$s">readme validator</a> to check it.', 'wporg-plugins' ) ), esc_url( home_url( 'readme.txt' ) ), esc_url( home_url( '/developers/readme-validator/' ) ) );
+ ?>
+ </p>
+ </div><!-- .entry-content -->
+
+</article><!-- #post-## -->
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/page-developers.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_htmlwpcontentthemespubwporgplugins2024searchphp"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/search.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-plugins-2024/search.php 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/search.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,55 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php
-/**
- * The template for displaying search results pages.
- *
- * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
- *
- * @package WordPressdotorg\Plugin_Directory\Theme
- */
-
-get_header();
-?>
-
- <main id="main" class="site-main" role="main">
-
- <header class="page-header">
- <h1 class="page-title">
- <?php
- printf(
- /* translators: Search query. */
- esc_html__( 'Showing results for: %s', 'wporg-plugins' ),
- '<strong>' . get_search_query() . '</strong>'
- );
- ?>
- </h1>
- <?php
- if ( get_query_var( 'block_search' ) ) {
- printf(
- /* translators: %s: Search URL */
- '<p>' . __( 'Searching the block directory. <a href="%s">Search all plugins</a>.', 'wporg-plugins' ) . '</p>',
- remove_query_arg( 'block_search' )
- );
- }
- ?>
- </header><!-- .page-header -->
-
- <?php
- /* Start the Loop */
- while ( have_posts() ) :
- the_post();
-
- get_template_part( 'template-parts/plugin', 'index' );
- endwhile;
-
- if ( ! have_posts() ) {
- get_template_part( 'template-parts/no-results' );
- }
-
- the_posts_pagination();
-
- ?>
-
- </main><!-- #main -->
-
-<?php
-get_footer();
</del></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksarchivepageblockjson"></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-plugins-2024/src/blocks/archive-page/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-plugins-2024/src/blocks/front-page/block.json 2024-02-22 09:32:34 UTC (rev 13242)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/archive-page/block.json 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +1,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> {
</span><span class="cx" style="display: block; padding: 0 10px"> "$schema": "https://schemas.wp.org/trunk/block.json",
</span><span class="cx" style="display: block; padding: 0 10px"> "apiVersion": 2,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "name": "wporg/front-page",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "name": "wporg/archive-page",
</ins><span class="cx" style="display: block; padding: 0 10px"> "version": "0.1.0",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "title": "Front Page Content",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "title": "Archive Page Content",
</ins><span class="cx" style="display: block; padding: 0 10px"> "category": "design",
</span><span class="cx" style="display: block; padding: 0 10px"> "icon": "",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "A block that displays the front page content",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A block that displays the archive page content",
</ins><span class="cx" style="display: block; padding: 0 10px"> "textdomain": "wporg",
</span><span class="cx" style="display: block; padding: 0 10px"> "attributes": {},
</span><span class="cx" style="display: block; padding: 0 10px"> "supports": {
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksarchivepageindexphp"></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-plugins-2024/src/blocks/archive-page/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-plugins-2024/src/blocks/front-page/index.php 2024-02-22 09:32:34 UTC (rev 13242)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/archive-page/index.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,7 +6,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @package wporg
</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">-namespace WordPressdotorg\Theme\Plugins_2024\FrontPage;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+namespace WordPressdotorg\Theme\Plugins_2024\ArchivePage;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'init', __NAMESPACE__ . '\init' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -18,5 +18,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @see https://developer.wordpress.org/reference/functions/register_block_type/
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function init() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- register_block_type( __DIR__ . '/../../../build/blocks/front-page' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ register_block_type( __DIR__ . '/../../../js/build/blocks/archive-page' );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksarchivepagerenderphp"></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-plugins-2024/src/blocks/archive-page/render.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-plugins-2024/src/blocks/front-page/render.php 2024-02-22 09:32:34 UTC (rev 13242)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/archive-page/render.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,122 +1,45 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-use WordPressdotorg\Plugin_Directory\Template;
</del><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var_dump('ok');
-$sections = array(
- 'blocks' => __( 'Block-Enabled Plugins', 'wporg-plugins' ),
- 'featured' => __( 'Featured Plugins', 'wporg-plugins' ),
- 'beta' => __( 'Beta Plugins', 'wporg-plugins' ),
- 'favorites' => __( 'My Favorites', 'wporg-plugins' ),
- 'popular' => __( 'Popular Plugins', 'wporg-plugins' ),
-);
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+global $wp_query;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-$widget_args = array(
- 'before_title' => '<h2 class="widget-title">',
- 'after_title' => '</h2>',
-);
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// If we don't have any posts to display for the archive, then send a 404 status. See #meta4151
+if ( ! $wp_query->have_posts() ) {
+ status_header( 404 );
+ nocache_headers();
+}
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-get_header();
</del><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">- <main id="main" class="site-main" role="main">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div id="primary" class="content-area">
+ <main id="main" class="site-main" role="main">
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php
- foreach ( $sections as $browse => $section_title ) :
- // Only logged in users can have favorites.
- if ( 'favorites' === $browse && ! is_user_logged_in() ) {
- continue;
- }
-
- $section_args = array(
- 'post_type' => 'plugin',
- 'posts_per_page' => 4,
- 'browse' => $browse,
- 'post_status' => 'publish',
- );
-
- if ( 'popular' === $browse ) {
- $section_args['meta_key'] = '_active_installs';
- $section_args['orderby'] = 'meta_value_num';
- unset( $section_args['browse'] );
- } else if ( 'blocks' === $browse ) {
- $section_args['orderby'] = 'rand';
- $section_args['meta_query'] = [
- [
- 'key' => '_active_installs',
- 'value' => 200,
- 'type' => 'numeric',
- 'compare' => '>=',
- ],
- [
- 'key' => 'tested',
- 'value' => Template::get_current_major_wp_version() - 0.2,
- 'compare' => '>=',
- ],
- ];
- }
-
- $section_query = new \WP_Query( $section_args );
-
- // If the user doesn't have any favorites, omit the section.
- if ( 'favorites' === $browse && ! $section_query->have_posts() ) {
- continue;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <header class="page-header">
+ <?php
+ the_archive_title( '<h1 class="page-title">', '</h1>' );
+ the_archive_description( '<div class="taxonomy-description">', '</div>' );
</ins><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ </header><!-- .page-header -->
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <section class="plugin-section">
- <header class="section-header">
- <h2 class="section-title"><?php echo esc_html( $section_title ); ?></h2>
- <a class="section-link" href="<?php echo esc_url( home_url( "browse/$browse/" ) ); ?>">
- <?php
- printf(
- /* translators: %s: Section title as an accessibility text for screen readers. */
- esc_html_x( 'See all %s', 'plugins', 'wporg-plugins' ),
- '<span class="screen-reader-text">' . esc_html( $section_title ) . '</span>'
- );
- ?>
- </a>
- </header>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ /* Start the Loop */
+ while ( $wp_query->have_posts() ) :
+ the_post();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php
- while ( $section_query->have_posts() ) :
- $section_query->the_post();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /*
+ * Include the Post-Format-specific template for the content.
+ * If you want to override this in a child theme, then include a file
+ * called content-___.php (where ___ is the Post Format name) and that will be used instead.
+ */
+ get_template_part( 'template-parts/plugin' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- get_template_part( 'template-parts/plugin', 'index' );
- endwhile;
- ?>
- </section>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ endwhile;
+ if ( ! have_posts() ) {
+ get_template_part( 'template-parts/no-results' );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php endforeach; ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ the_posts_pagination();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- </main><!-- #main -->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <aside id="secondary" class="widget-area" role="complementary">
- <?php
- the_widget( 'WP_Widget_Text', array(
- 'title' => __( 'Add Your Plugin', 'wporg-plugins' ),
- 'text' => sprintf(
- /* translators: URL to Developers page. */
- __( 'The WordPress Plugin Directory is the largest directory of free and open source WordPress plugins. Find out how to <a href="%s">host your plugin</a> on WordPress.org.', 'wporg-plugins' ),
- esc_url( home_url( 'developers' ) )
- ),
- ), $widget_args );
-
- the_widget( 'WP_Widget_Text', array(
- 'title' => __( 'Create a Plugin', 'wporg-plugins' ),
- 'text' => sprintf(
- /* translators: URL to Developer Handbook. */
- __( 'Building a plugin has never been easier. Read through the <a href="%s">Plugin Developer Handbook</a> to learn all about WordPress plugin development.', 'wporg-plugins' ),
- esc_url( 'https://developer.wordpress.org/plugins/' )
- ),
- ), $widget_args );
-
- the_widget( 'WP_Widget_Text', array(
- 'title' => __( 'Stay Up-to-Date', 'wporg-plugins' ),
- 'text' => sprintf(
- /* translators: URL to make/plugins site. */
- __( 'Plugin development is constantly changing with each new WordPress release. Keep up with the latest changes by following the <a href="%s">Plugin Review Team’s blog</a>.', 'wporg-plugins' ),
- esc_url( 'https://make.wordpress.org/plugins/' )
- ),
- ), $widget_args );
- ?>
- </aside><!-- #secondary -->
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ </main><!-- #main -->
+ </div><!-- #primary -->
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksfilterbarblockjson"></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-plugins-2024/src/blocks/filter-bar/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-plugins-2024/src/blocks/filter-bar/block.json (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/filter-bar/block.json 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,17 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "wporg/filter-bar",
+ "version": "0.1.0",
+ "title": "Filter Bar",
+ "category": "design",
+ "icon": "",
+ "description": "Adds a filter bar",
+ "textdomain": "wporg",
+ "attributes": {},
+ "supports": {
+ "html": false
+ },
+ "editorScript": "file:./index.js",
+ "render": "file:./render.php"
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksfilterbarindexjs"></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-plugins-2024/src/blocks/filter-bar/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-plugins-2024/src/blocks/filter-bar/index.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/filter-bar/index.js 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,27 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * WordPress dependencies
+ */
+import { Disabled } from '@wordpress/components';
+import { registerBlockType } from '@wordpress/blocks';
+import ServerSideRender from '@wordpress/server-side-render';
+import { useBlockProps } from '@wordpress/block-editor';
+
+/**
+ * Internal dependencies
+ */
+import metadata from './block.json';
+
+function Edit( { attributes, name } ) {
+ return (
+ <div { ...useBlockProps() }>
+ <Disabled>
+ <ServerSideRender block={ name } attributes={ attributes } />
+ </Disabled>
+ </div>
+ );
+}
+
+registerBlockType( metadata.name, {
+ edit: Edit,
+ save: () => null,
+} );
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksfilterbarindexphp"></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-plugins-2024/src/blocks/filter-bar/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-plugins-2024/src/blocks/filter-bar/index.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/filter-bar/index.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,22 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Block Name: Single
+ * Description: The content that is displayed on the single page
+ *
+ * @package wporg
+ */
+
+namespace WordPressdotorg\Theme\Plugins_2024\FilterBar;
+
+add_action( 'init', __NAMESPACE__ . '\init' );
+
+/**
+ * Registers the block using the metadata loaded from the `block.json` file.
+ * Behind the scenes, it registers also all assets so they can be enqueued
+ * through the block editor in the corresponding context.
+ *
+ * @see https://developer.wordpress.org/reference/functions/register_block_type/
+ */
+function init() {
+ register_block_type( __DIR__ . '/../../../js/build/blocks/filter-bar' );
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/filter-bar/index.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_htmlwpcontentthemespubwporgplugins2024srcblocksfilterbarrenderphp"></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-plugins-2024/src/blocks/filter-bar/render.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-plugins-2024/src/blocks/filter-bar/render.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/filter-bar/render.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,58 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+
+global $wp_query;
+$is_beta = 'beta' === $wp_query->get( 'browse' );
+$is_favs = 'favorites' === $wp_query->get( 'browse' );
+// The filter bar should not be shown on:
+// - singular: not relevant on pages or individual plugins.
+// - beta: likely unnecessary, these are probably all "community".
+// - favorites: not necessary.
+
+if ( is_singular() || $is_beta || $is_favs || ( is_search() && $wp_query->found_posts === 0 ) ) {
+ return;
+}
+
+$local_nav_items = array(
+ '' => __( 'All', 'wporg-plugins' ),
+ 'community' => __( 'Community', 'wporg-plugins' ),
+ 'commercial' => __( 'Commercial', 'wporg-plugins' ),
+);
+
+?>
+
+<div class="wporg-filter-bar">
+ <nav class="wporg-filter-bar__navigation" aria-label="<?php esc_html_e( 'Plugin filters', 'wporg-plugins' ); ?>">
+ <ul>
+ <?php
+ foreach ( $local_nav_items as $slug => $label ) {
+ $class = '';
+ if (
+ // URL contains this filter.
+ ( $slug === ( $_GET['plugin_business_model'] ?? false ) ) ||
+ // Set the All item active if no business model is selected.
+ ( ! $slug && empty( $_GET['plugin_business_model'] ) )
+ ) {
+ $class = 'is-active';
+ }
+
+ if ( $slug ) {
+ $url = add_query_arg( array( 'plugin_business_model' => $slug ) );
+ } else {
+ $url = remove_query_arg( 'plugin_business_model' );
+ }
+
+ // Reset pagination.
+ $url = remove_query_arg( 'paged', $url );
+ $url = preg_replace( '!/page/\d+/?!i', '/', $url );
+
+ printf(
+ '<li class="page_item"><a class="%1$s" href="%2$s">%3$s</a></li>',
+ esc_attr( $class ),
+ esc_url( $url ),
+ esc_html( $label )
+ );
+ }
+ ?>
+ </ul>
+ </nav>
+</div>
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/filter-bar/render.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_htmlwpcontentthemespubwporgplugins2024srcblocksfrontpageindexphp"></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-plugins-2024/src/blocks/front-page/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-plugins-2024/src/blocks/front-page/index.php 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/front-page/index.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -18,5 +18,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @see https://developer.wordpress.org/reference/functions/register_block_type/
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function init() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- register_block_type( __DIR__ . '/../../../build/blocks/front-page' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ register_block_type( __DIR__ . '/../../../js/build/blocks/front-page' );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblocksfrontpagerenderphp"></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-plugins-2024/src/blocks/front-page/render.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-plugins-2024/src/blocks/front-page/render.php 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/front-page/render.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,7 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> use WordPressdotorg\Plugin_Directory\Template;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var_dump('ok');
</del><span class="cx" style="display: block; padding: 0 10px"> $sections = array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'blocks' => __( 'Block-Enabled Plugins', 'wporg-plugins' ),
</span><span class="cx" style="display: block; padding: 0 10px"> 'featured' => __( 'Featured Plugins', 'wporg-plugins' ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -15,7 +14,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'after_title' => '</h2>',
</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">-get_header();
</del><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"> <main id="main" class="site-main" role="main">
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblockssearchpageblockjson"></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-plugins-2024/src/blocks/search-page/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-plugins-2024/src/blocks/front-page/block.json 2024-02-22 09:32:34 UTC (rev 13242)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/search-page/block.json 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,12 +1,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> {
</span><span class="cx" style="display: block; padding: 0 10px"> "$schema": "https://schemas.wp.org/trunk/block.json",
</span><span class="cx" style="display: block; padding: 0 10px"> "apiVersion": 2,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "name": "wporg/front-page",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "name": "wporg/search-page",
</ins><span class="cx" style="display: block; padding: 0 10px"> "version": "0.1.0",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "title": "Front Page Content",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "title": "Search Page Content",
</ins><span class="cx" style="display: block; padding: 0 10px"> "category": "design",
</span><span class="cx" style="display: block; padding: 0 10px"> "icon": "",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "A block that displays the front page content",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A block that displays the search page content",
</ins><span class="cx" style="display: block; padding: 0 10px"> "textdomain": "wporg",
</span><span class="cx" style="display: block; padding: 0 10px"> "attributes": {},
</span><span class="cx" style="display: block; padding: 0 10px"> "supports": {
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblockssearchpageindexphp"></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-plugins-2024/src/blocks/search-page/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-plugins-2024/src/blocks/front-page/index.php 2024-02-22 09:32:34 UTC (rev 13242)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/search-page/index.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,7 +6,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @package wporg
</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">-namespace WordPressdotorg\Theme\Plugins_2024\FrontPage;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+namespace WordPressdotorg\Theme\Plugins_2024\SearchPage;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'init', __NAMESPACE__ . '\init' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -18,5 +18,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @see https://developer.wordpress.org/reference/functions/register_block_type/
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function init() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- register_block_type( __DIR__ . '/../../../build/blocks/front-page' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ register_block_type( __DIR__ . '/../../../js/build/blocks/search-page' );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblockssearchpagerenderphp"></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-plugins-2024/src/blocks/search-page/render.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-plugins-2024/src/blocks/front-page/render.php 2024-02-22 09:32:34 UTC (rev 13242)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/search-page/render.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,122 +1,41 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-use WordPressdotorg\Plugin_Directory\Template;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+global $wp_query;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var_dump('ok');
-$sections = array(
- 'blocks' => __( 'Block-Enabled Plugins', 'wporg-plugins' ),
- 'featured' => __( 'Featured Plugins', 'wporg-plugins' ),
- 'beta' => __( 'Beta Plugins', 'wporg-plugins' ),
- 'favorites' => __( 'My Favorites', 'wporg-plugins' ),
- 'popular' => __( 'Popular Plugins', 'wporg-plugins' ),
-);
-
-$widget_args = array(
- 'before_title' => '<h2 class="widget-title">',
- 'after_title' => '</h2>',
-);
-
-get_header();
</del><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">- <main id="main" class="site-main" role="main">
-
- <?php
- foreach ( $sections as $browse => $section_title ) :
- // Only logged in users can have favorites.
- if ( 'favorites' === $browse && ! is_user_logged_in() ) {
- continue;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<header class="page-header">
+ <h1 class="page-title">
+ <?php
+ printf(
+ /* translators: Search query. */
+ esc_html__( 'Showing results for: %s', 'wporg-plugins' ),
+ '<strong>' . get_search_query() . '</strong>'
+ );
+ ?>
+ </h1>
+ <?php
+ if ( get_query_var( 'block_search' ) ) {
+ printf(
+ /* translators: %s: Search URL */
+ '<p>' . __( 'Searching the block directory. <a href="%s">Search all plugins</a>.', 'wporg-plugins' ) . '</p>',
+ remove_query_arg( 'block_search' )
+ );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
- $section_args = array(
- 'post_type' => 'plugin',
- 'posts_per_page' => 4,
- 'browse' => $browse,
- 'post_status' => 'publish',
- );
-
- if ( 'popular' === $browse ) {
- $section_args['meta_key'] = '_active_installs';
- $section_args['orderby'] = 'meta_value_num';
- unset( $section_args['browse'] );
- } else if ( 'blocks' === $browse ) {
- $section_args['orderby'] = 'rand';
- $section_args['meta_query'] = [
- [
- 'key' => '_active_installs',
- 'value' => 200,
- 'type' => 'numeric',
- 'compare' => '>=',
- ],
- [
- 'key' => 'tested',
- 'value' => Template::get_current_major_wp_version() - 0.2,
- 'compare' => '>=',
- ],
- ];
- }
-
- $section_query = new \WP_Query( $section_args );
-
- // If the user doesn't have any favorites, omit the section.
- if ( 'favorites' === $browse && ! $section_query->have_posts() ) {
- continue;
- }
</del><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ </header><!-- .page-header -->
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <section class="plugin-section">
- <header class="section-header">
- <h2 class="section-title"><?php echo esc_html( $section_title ); ?></h2>
- <a class="section-link" href="<?php echo esc_url( home_url( "browse/$browse/" ) ); ?>">
- <?php
- printf(
- /* translators: %s: Section title as an accessibility text for screen readers. */
- esc_html_x( 'See all %s', 'plugins', 'wporg-plugins' ),
- '<span class="screen-reader-text">' . esc_html( $section_title ) . '</span>'
- );
- ?>
- </a>
- </header>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php
+ /* Start the Loop */
+ while ( have_posts() ) :
+ the_post();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php
- while ( $section_query->have_posts() ) :
- $section_query->the_post();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ get_template_part( 'template-parts/plugin', 'index' );
+ endwhile;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- get_template_part( 'template-parts/plugin', 'index' );
- endwhile;
- ?>
- </section>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( ! have_posts() ) {
+ get_template_part( 'template-parts/no-results' );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php endforeach; ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ the_posts_pagination();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- </main><!-- #main -->
-
- <aside id="secondary" class="widget-area" role="complementary">
- <?php
- the_widget( 'WP_Widget_Text', array(
- 'title' => __( 'Add Your Plugin', 'wporg-plugins' ),
- 'text' => sprintf(
- /* translators: URL to Developers page. */
- __( 'The WordPress Plugin Directory is the largest directory of free and open source WordPress plugins. Find out how to <a href="%s">host your plugin</a> on WordPress.org.', 'wporg-plugins' ),
- esc_url( home_url( 'developers' ) )
- ),
- ), $widget_args );
-
- the_widget( 'WP_Widget_Text', array(
- 'title' => __( 'Create a Plugin', 'wporg-plugins' ),
- 'text' => sprintf(
- /* translators: URL to Developer Handbook. */
- __( 'Building a plugin has never been easier. Read through the <a href="%s">Plugin Developer Handbook</a> to learn all about WordPress plugin development.', 'wporg-plugins' ),
- esc_url( 'https://developer.wordpress.org/plugins/' )
- ),
- ), $widget_args );
-
- the_widget( 'WP_Widget_Text', array(
- 'title' => __( 'Stay Up-to-Date', 'wporg-plugins' ),
- 'text' => sprintf(
- /* translators: URL to make/plugins site. */
- __( 'Plugin development is constantly changing with each new WordPress release. Keep up with the latest changes by following the <a href="%s">Plugin Review Team’s blog</a>.', 'wporg-plugins' ),
- esc_url( 'https://make.wordpress.org/plugins/' )
- ),
- ), $widget_args );
- ?>
- </aside><!-- #secondary -->
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ?>
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblockssinglepageblockjson"></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-plugins-2024/src/blocks/single-page/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-plugins-2024/src/blocks/single-page/block.json (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/single-page/block.json 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,18 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "wporg/single-page",
+ "version": "0.1.0",
+ "title": "Single Page Content",
+ "category": "design",
+ "icon": "",
+ "description": "A block that displays the single page content",
+ "textdomain": "wporg",
+ "attributes": {},
+ "supports": {
+ "html": false
+ },
+ "usesContext": [ "postId" ],
+ "editorScript": "file:./index.js",
+ "render": "file:./render.php"
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblockssinglepageindexjs"></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-plugins-2024/src/blocks/single-page/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-plugins-2024/src/blocks/single-page/index.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/single-page/index.js 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,27 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * WordPress dependencies
+ */
+import { Disabled } from '@wordpress/components';
+import { registerBlockType } from '@wordpress/blocks';
+import ServerSideRender from '@wordpress/server-side-render';
+import { useBlockProps } from '@wordpress/block-editor';
+
+/**
+ * Internal dependencies
+ */
+import metadata from './block.json';
+
+function Edit( { attributes, name } ) {
+ return (
+ <div { ...useBlockProps() }>
+ <Disabled>
+ <ServerSideRender block={ name } attributes={ attributes } />
+ </Disabled>
+ </div>
+ );
+}
+
+registerBlockType( metadata.name, {
+ edit: Edit,
+ save: () => null,
+} );
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024srcblockssinglepageindexphp"></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-plugins-2024/src/blocks/single-page/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-plugins-2024/src/blocks/single-page/index.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/single-page/index.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,22 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * Block Name: Single
+ * Description: The content that is displayed on the single page
+ *
+ * @package wporg
+ */
+
+namespace WordPressdotorg\Theme\Plugins_2024\SinglePage;
+
+add_action( 'init', __NAMESPACE__ . '\init' );
+
+/**
+ * Registers the block using the metadata loaded from the `block.json` file.
+ * Behind the scenes, it registers also all assets so they can be enqueued
+ * through the block editor in the corresponding context.
+ *
+ * @see https://developer.wordpress.org/reference/functions/register_block_type/
+ */
+function init() {
+ register_block_type( __DIR__ . '/../../../js/build/blocks/single-page' );
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/single-page/index.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_htmlwpcontentthemespubwporgplugins2024srcblockssinglepagerenderphp"></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-plugins-2024/src/blocks/single-page/render.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-plugins-2024/src/blocks/single-page/render.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/single-page/render.php 2024-02-23 06:10:22 UTC (rev 13244)
</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">+<?php
+ get_template_part( 'template-parts/plugin', 'single' );
+?>
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/single-page/render.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_htmlwpcontentthemespubwporgplugins2024stylecss"></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-plugins-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-plugins-2024/style.css 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/style.css 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,10 +4,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> Author: wordpressdotorg
</span><span class="cx" style="display: block; padding: 0 10px"> Author URI: https://wordpress.org
</span><span class="cx" style="display: block; padding: 0 10px"> Description: Theme for the WordPress.org Plugin Directory.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-Version: 1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Version: 1.0.1
</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-plugins
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+Template: wporg-parent-2021
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> This theme, like WordPress, is licensed under the GPL.
</span><span class="cx" style="display: block; padding: 0 10px"> Use it to make something cool, have fun, and share what you've learned with others.
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024templatepartsnoresultsphp"></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-plugins-2024/template-parts/no-results.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-plugins-2024/template-parts/no-results.php 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/template-parts/no-results.php 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -12,7 +12,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <p><?php esc_html_e( 'Sorry, but nothing matched your search terms.', 'wporg-plugins' ); ?></p>
</span><span class="cx" style="display: block; padding: 0 10px"> <p><?php esc_html_e( 'Please try again with some different keywords.', 'wporg-plugins' ); ?></p>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- get_search_form();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ echo do_blocks( '<!-- wp:search /-->');
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> elseif ( is_tax( 'plugin_section', 'favorites' ) ) :
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_user_logged_in() ) :
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024templatesarchivehtml"></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-plugins-2024/templates/archive.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-plugins-2024/templates/archive.html (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/archive.html 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,9 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:template-part {"slug":"header"} /-->
+
+<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space","bottom":"var:preset|spacing|60"}}},"className":"alignfull","layout":{"type":"constrained"}} -->
+<main class="wp-block-group alignfull" style="padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--edge-space)">
+ <!-- wp:wporg/archive-page /-->
+</main>
+<!-- /wp:group -->
+
+<!-- wp:wporg/global-footer /-->
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/archive.html
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024templatesfrontpagehtml"></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-plugins-2024/templates/front-page.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-plugins-2024/templates/front-page.html 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/front-page.html 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,10 +1,11 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<!-- wp:template-part {"slug":"header"} /-->
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:wporg/global-header /-->
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"0px"}}} -->
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-block-group alignfull">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <!-- wp:pattern {"slug":"wporg-plugins-2024/front-page-header"} /-->
+ <!-- wp:wporg/filter-bar /-->
</ins><span class="cx" style="display: block; padding: 0 10px"> <!-- wp:wporg/front-page /-->
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <!-- /wp:group -->
</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:template-part {"slug":"footer"} /-->
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:wporg/global-footer /-->
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024templatesindexhtml"></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-plugins-2024/templates/index.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-plugins-2024/templates/index.html 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/index.html 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1 +1 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-sdfs
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+silence
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024templatespagedevelopershtml"></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-plugins-2024/templates/page-developers.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-plugins-2024/templates/page-developers.html (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/page-developers.html 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,9 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:template-part {"slug":"header"} /-->
+
+<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space","bottom":"var:preset|spacing|60"}}},"className":"alignfull","layout":{"type":"constrained"}} -->
+<main class="wp-block-group alignfull" style="padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--edge-space)">
+ <!-- wp:pattern {"slug":"wporg-plugins-2024/page-developers"} /-->
+</main>
+<!-- /wp:group -->
+
+<!-- wp:wporg/global-footer /-->
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/page-developers.html
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024templatessearchhtml"></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-plugins-2024/templates/search.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-plugins-2024/templates/search.html (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/search.html 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,9 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:template-part {"slug":"header"} /-->
+
+<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space","bottom":"var:preset|spacing|60"}}},"className":"alignfull","layout":{"type":"constrained"}} -->
+<main class="wp-block-group alignfull" style="padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--edge-space)">
+ <!-- wp:wporg/search-page /-->
+</main>
+<!-- /wp:group -->
+
+<!-- wp:wporg/global-footer /-->
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/search.html
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024templatessinglehtml"></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-plugins-2024/templates/single.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-plugins-2024/templates/single.html (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/single.html 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,9 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<!-- wp:template-part {"slug":"header"} /-->
+
+<!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space","bottom":"var:preset|spacing|60"}}},"className":"alignfull","layout":{"type":"constrained"}} -->
+<main class="wp-block-group alignfull" style="padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--edge-space)">
+ <!-- wp:wporg/single-page /-->
+</main>
+<!-- /wp:group -->
+
+<!-- wp:wporg/global-footer /-->
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/single.html
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgplugins2024themejson"></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-plugins-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-plugins-2024/theme.json 2024-02-23 04:21:02 UTC (rev 13243)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/theme.json 2024-02-23 06:10:22 UTC (rev 13244)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> {
</span><span class="cx" style="display: block; padding: 0 10px"> "$schema": "https://schemas.wp.org/trunk/theme.json",
</span><span class="cx" style="display: block; padding: 0 10px"> "version": 2,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "settings": {}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "settings": {
+ "layout": {
+ "contentSize": "960px",
+ "wideSize": "1220px"
+ }
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre>
</div>
</div>
</body>
</html>