This commit is contained in:
Steven Dufresne 2025-03-26 10:32:19 +05:30 committed by GitHub
commit b28d09faa1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 2557 additions and 574 deletions

View file

@ -1,563 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
<!-- You may use this file to transfer that content from one site to another. -->
<!-- This file is not intended to serve as a complete backup of your site. -->
<!-- To import this information into a WordPress site follow these steps: -->
<!-- 1. Log in to that site as an administrator. -->
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
<!-- 3. Install the "WordPress" importer from the list. -->
<!-- 4. Activate & Run Importer. -->
<!-- 5. Upload this file using the form provided on that page. -->
<!-- 6. You will first be asked to map the authors in this export file to users -->
<!-- on the site. For each author, you may choose to map to an -->
<!-- existing user on the site or to create a new user. -->
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
<!-- contained in this file into your site. -->
<!-- generator="WordPress/5.2.4" created="2019-11-06 05:06" -->
<rss version="2.0"
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:wp="http://wordpress.org/export/1.2/"
>
<channel>
<title>five-for-the-future</title>
<link>http://five-for-the-future.test</link>
<description>Just another WordPress site</description>
<pubDate>Wed, 06 Nov 2019 05:06:32 +0000</pubDate>
<language>en-US</language>
<wp:wxr_version>1.2</wp:wxr_version>
<wp:base_site_url>http://five-for-the-future.test</wp:base_site_url>
<wp:base_blog_url>http://five-for-the-future.test</wp:base_blog_url>
<wp:author><wp:author_id>1</wp:author_id><wp:author_login><![CDATA[a]]></wp:author_login><wp:author_email><![CDATA[local@localhost.local]]></wp:author_email><wp:author_display_name><![CDATA[a]]></wp:author_display_name><wp:author_first_name><![CDATA[]]></wp:author_first_name><wp:author_last_name><![CDATA[]]></wp:author_last_name></wp:author>
<wp:category>
<wp:term_id>1</wp:term_id>
<wp:category_nicename><![CDATA[uncategorized]]></wp:category_nicename>
<wp:category_parent><![CDATA[]]></wp:category_parent>
<wp:cat_name><![CDATA[Uncategorized]]></wp:cat_name>
</wp:category>
<wp:term>
<wp:term_id><![CDATA[2]]></wp:term_id>
<wp:term_taxonomy><![CDATA[nav_menu]]></wp:term_taxonomy>
<wp:term_slug><![CDATA[primary]]></wp:term_slug>
<wp:term_parent><![CDATA[]]></wp:term_parent>
<wp:term_name><![CDATA[Primary]]></wp:term_name>
</wp:term>
<wp:term>
<wp:term_id><![CDATA[1]]></wp:term_id>
<wp:term_taxonomy><![CDATA[category]]></wp:term_taxonomy>
<wp:term_slug><![CDATA[uncategorized]]></wp:term_slug>
<wp:term_parent><![CDATA[]]></wp:term_parent>
<wp:term_name><![CDATA[Uncategorized]]></wp:term_name>
</wp:term>
<wp:term><wp:term_id>2</wp:term_id><wp:term_taxonomy>nav_menu</wp:term_taxonomy><wp:term_slug><![CDATA[primary]]></wp:term_slug><wp:term_name><![CDATA[Primary]]></wp:term_name>
</wp:term>
<generator>https://wordpress.org/?v=5.2.4</generator>
<item>
<title>About</title>
<link>http://five-for-the-future.test/</link>
<pubDate>Wed, 06 Nov 2019 04:48:09 +0000</pubDate>
<dc:creator><![CDATA[a]]></dc:creator>
<guid isPermaLink="false">http://five-for-the-future.test/?page_id=7</guid>
<description></description>
<content:encoded><![CDATA[<!-- wp:paragraph {"className":"is-style-wporg-tldr"} -->
<p class="is-style-wporg-tldr"><em>Ready to get started? Contribute as an <a href="/add-new-pledge">organization</a>.</em></p>
<!-- /wp:paragraph -->
<!-- wp:image {"id":24,"className":"size-large"} -->
<figure class="wp-block-image size-large"><img src="https://wordpress.org/five-for-the-future/files/2019/09/community-summit-paris.jpg" alt="Attendees of the 2017 WordPress Community Summit" class="wp-image-24"/></figure>
<!-- /wp:image -->
<!-- wp:pullquote {"className":"is-style-solid-color"} -->
<figure class="wp-block-pullquote is-style-solid-color"><blockquote><p>How five percent is powering the next generation of the web</p></blockquote></figure>
<!-- /wp:pullquote -->
<!-- wp:paragraph {"textColor":"wporg-white","backgroundColor":"wporg-blue"} -->
<p class="has-text-color has-background has-wporg-white-color has-wporg-blue-background-color">WordPress needs YOU!</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph {"textColor":"wporg-white","backgroundColor":"wporg-blue"} -->
<p class="has-text-color has-background has-wporg-white-color has-wporg-blue-background-color">Five for the Future is an initiative promoting the WordPress communitys contribution to the platforms growth. As an open source project, WordPress is created by a diverse collection of people from around the world.</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2>What is Five for the Future?</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Launched in 2014, Five for the Future encourages organizations to contribute five percent of their resources to WordPress development. WordPress co-founder Matt Mullenweg set this benchmark to maintain a “golden ratio” of contributors to users.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>The community has risen to the challenge, with participation more than quadrupling since launch.</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2>Who should participate</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Anyone can contribute to Five for the Future. Many contributors focus on the technical side of WordPress, such as core development, but there are also teams working in other areas like marketing, translation, training, and community. There is always a way to get involved, whatever your skillset.</p>
<!-- /wp:paragraph -->
<!-- wp:heading -->
<h2>Why you should participate</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Contributors have the opportunity to learn alongside passionate innovators who are more than happy to share their skills.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>For organizations, it is a more cost-effective training initiative than most traditional programs.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Participants see a number of benefits:</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>• Identifying and recruiting talent.<br>• Finding end-user customers or new clients.<br>• Influencing the direction of the WordPress platform.<br>• Contributing to the future of the operating system of the web.</p>
<!-- /wp:paragraph -->
<!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link" href="/pledges/">See all Pledged Contributors</a></div>
<!-- /wp:button -->]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>7</wp:post_id>
<wp:post_date><![CDATA[2019-11-06 04:48:09]]></wp:post_date>
<wp:post_date_gmt><![CDATA[2019-11-06 04:48:09]]></wp:post_date_gmt>
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
<wp:post_name><![CDATA[about]]></wp:post_name>
<wp:status><![CDATA[publish]]></wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type><![CDATA[page]]></wp:post_type>
<wp:post_password><![CDATA[]]></wp:post_password>
<wp:is_sticky>0</wp:is_sticky>
</item>
<item>
<title>Add New Pledge</title>
<link>http://five-for-the-future.test/add-new-pledge/</link>
<pubDate>Wed, 06 Nov 2019 04:51:02 +0000</pubDate>
<dc:creator><![CDATA[a]]></dc:creator>
<guid isPermaLink="false">http://five-for-the-future.test/?page_id=9</guid>
<description></description>
<content:encoded><![CDATA[<!-- wp:shortcode -->
[5ftf_pledge_form_new]
<!-- /wp:shortcode -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>9</wp:post_id>
<wp:post_date><![CDATA[2019-11-06 04:51:02]]></wp:post_date>
<wp:post_date_gmt><![CDATA[2019-11-06 04:51:02]]></wp:post_date_gmt>
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
<wp:post_name><![CDATA[add-new-pledge]]></wp:post_name>
<wp:status><![CDATA[publish]]></wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type><![CDATA[page]]></wp:post_type>
<wp:post_password><![CDATA[]]></wp:post_password>
<wp:is_sticky>0</wp:is_sticky>
</item>
<item>
<title>My Pledges</title>
<link>http://five-for-the-future.test/my-pledges/</link>
<pubDate>Wed, 06 Nov 2019 04:53:26 +0000</pubDate>
<dc:creator><![CDATA[a]]></dc:creator>
<guid isPermaLink="false">http://five-for-the-future.test/?page_id=11</guid>
<description></description>
<content:encoded><![CDATA[<!-- wp:shortcode -->
[5ftf_my_pledges]
<!-- /wp:shortcode -->]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>11</wp:post_id>
<wp:post_date><![CDATA[2019-11-06 04:53:26]]></wp:post_date>
<wp:post_date_gmt><![CDATA[2019-11-06 04:53:26]]></wp:post_date_gmt>
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
<wp:post_name><![CDATA[my-pledges]]></wp:post_name>
<wp:status><![CDATA[publish]]></wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type><![CDATA[page]]></wp:post_type>
<wp:post_password><![CDATA[]]></wp:post_password>
<wp:is_sticky>0</wp:is_sticky>
</item>
<item>
<title>Manage Pledge</title>
<link>http://five-for-the-future.test/manage-pledge/</link>
<pubDate>Wed, 06 Nov 2019 04:56:04 +0000</pubDate>
<dc:creator><![CDATA[a]]></dc:creator>
<guid isPermaLink="false">http://five-for-the-future.test/?page_id=13</guid>
<description></description>
<content:encoded><![CDATA[<!-- wp:shortcode -->
[5ftf_pledge_form_manage]
<!-- /wp:shortcode -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>13</wp:post_id>
<wp:post_date><![CDATA[2019-11-06 04:56:04]]></wp:post_date>
<wp:post_date_gmt><![CDATA[2019-11-06 04:56:04]]></wp:post_date_gmt>
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
<wp:post_name><![CDATA[manage-pledge]]></wp:post_name>
<wp:status><![CDATA[publish]]></wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type><![CDATA[page]]></wp:post_type>
<wp:post_password><![CDATA[]]></wp:post_password>
<wp:is_sticky>0</wp:is_sticky>
</item>
<item>
<title></title>
<link>http://five-for-the-future.test/?p=17</link>
<pubDate>Mon, 30 Nov -0001 00:00:00 +0000</pubDate>
<dc:creator><![CDATA[a]]></dc:creator>
<guid isPermaLink="false">http://five-for-the-future.test/?p=17</guid>
<description></description>
<content:encoded><![CDATA[ ]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>17</wp:post_id>
<wp:post_date><![CDATA[2019-11-06 04:58:48]]></wp:post_date>
<wp:post_date_gmt><![CDATA[0000-00-00 00:00:00]]></wp:post_date_gmt>
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
<wp:post_name><![CDATA[]]></wp:post_name>
<wp:status><![CDATA[draft]]></wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>1</wp:menu_order>
<wp:post_type><![CDATA[nav_menu_item]]></wp:post_type>
<wp:post_password><![CDATA[]]></wp:post_password>
<wp:is_sticky>0</wp:is_sticky>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_type]]></wp:meta_key>
<wp:meta_value><![CDATA[post_type]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_menu_item_parent]]></wp:meta_key>
<wp:meta_value><![CDATA[0]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_object_id]]></wp:meta_key>
<wp:meta_value><![CDATA[7]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_object]]></wp:meta_key>
<wp:meta_value><![CDATA[page]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_target]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_classes]]></wp:meta_key>
<wp:meta_value><![CDATA[a:1:{i:0;s:0:"";}]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_xfn]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_url]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_orphaned]]></wp:meta_key>
<wp:meta_value><![CDATA[1573016328]]></wp:meta_value>
</wp:postmeta>
</item>
<item>
<title></title>
<link>http://five-for-the-future.test/18/</link>
<pubDate>Wed, 06 Nov 2019 04:59:30 +0000</pubDate>
<dc:creator><![CDATA[a]]></dc:creator>
<guid isPermaLink="false">http://five-for-the-future.test/?p=18</guid>
<description></description>
<content:encoded><![CDATA[ ]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>18</wp:post_id>
<wp:post_date><![CDATA[2019-11-06 04:59:30]]></wp:post_date>
<wp:post_date_gmt><![CDATA[2019-11-06 04:59:30]]></wp:post_date_gmt>
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
<wp:post_name><![CDATA[18]]></wp:post_name>
<wp:status><![CDATA[publish]]></wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>1</wp:menu_order>
<wp:post_type><![CDATA[nav_menu_item]]></wp:post_type>
<wp:post_password><![CDATA[]]></wp:post_password>
<wp:is_sticky>0</wp:is_sticky>
<category domain="nav_menu" nicename="primary"><![CDATA[Primary]]></category>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_type]]></wp:meta_key>
<wp:meta_value><![CDATA[post_type]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_menu_item_parent]]></wp:meta_key>
<wp:meta_value><![CDATA[0]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_object_id]]></wp:meta_key>
<wp:meta_value><![CDATA[7]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_object]]></wp:meta_key>
<wp:meta_value><![CDATA[page]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_target]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_classes]]></wp:meta_key>
<wp:meta_value><![CDATA[a:1:{i:0;s:0:"";}]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_xfn]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_url]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
</item>
<item>
<title></title>
<link>http://five-for-the-future.test/19/</link>
<pubDate>Wed, 06 Nov 2019 04:59:30 +0000</pubDate>
<dc:creator><![CDATA[a]]></dc:creator>
<guid isPermaLink="false">http://five-for-the-future.test/?p=19</guid>
<description></description>
<content:encoded><![CDATA[ ]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>19</wp:post_id>
<wp:post_date><![CDATA[2019-11-06 04:59:30]]></wp:post_date>
<wp:post_date_gmt><![CDATA[2019-11-06 04:59:30]]></wp:post_date_gmt>
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
<wp:post_name><![CDATA[19]]></wp:post_name>
<wp:status><![CDATA[publish]]></wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>2</wp:menu_order>
<wp:post_type><![CDATA[nav_menu_item]]></wp:post_type>
<wp:post_password><![CDATA[]]></wp:post_password>
<wp:is_sticky>0</wp:is_sticky>
<category domain="nav_menu" nicename="primary"><![CDATA[Primary]]></category>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_type]]></wp:meta_key>
<wp:meta_value><![CDATA[post_type]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_menu_item_parent]]></wp:meta_key>
<wp:meta_value><![CDATA[0]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_object_id]]></wp:meta_key>
<wp:meta_value><![CDATA[9]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_object]]></wp:meta_key>
<wp:meta_value><![CDATA[page]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_target]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_classes]]></wp:meta_key>
<wp:meta_value><![CDATA[a:1:{i:0;s:0:"";}]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_xfn]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_url]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
</item>
<item>
<title></title>
<link>http://five-for-the-future.test/20/</link>
<pubDate>Wed, 06 Nov 2019 04:59:30 +0000</pubDate>
<dc:creator><![CDATA[a]]></dc:creator>
<guid isPermaLink="false">http://five-for-the-future.test/?p=20</guid>
<description></description>
<content:encoded><![CDATA[ ]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>20</wp:post_id>
<wp:post_date><![CDATA[2019-11-06 04:59:30]]></wp:post_date>
<wp:post_date_gmt><![CDATA[2019-11-06 04:59:30]]></wp:post_date_gmt>
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
<wp:post_name><![CDATA[20]]></wp:post_name>
<wp:status><![CDATA[publish]]></wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>3</wp:menu_order>
<wp:post_type><![CDATA[nav_menu_item]]></wp:post_type>
<wp:post_password><![CDATA[]]></wp:post_password>
<wp:is_sticky>0</wp:is_sticky>
<category domain="nav_menu" nicename="primary"><![CDATA[Primary]]></category>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_type]]></wp:meta_key>
<wp:meta_value><![CDATA[post_type]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_menu_item_parent]]></wp:meta_key>
<wp:meta_value><![CDATA[0]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_object_id]]></wp:meta_key>
<wp:meta_value><![CDATA[13]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_object]]></wp:meta_key>
<wp:meta_value><![CDATA[page]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_target]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_classes]]></wp:meta_key>
<wp:meta_value><![CDATA[a:1:{i:0;s:0:"";}]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_xfn]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_url]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
</item>
<item>
<title></title>
<link>http://five-for-the-future.test/21/</link>
<pubDate>Wed, 06 Nov 2019 04:59:30 +0000</pubDate>
<dc:creator><![CDATA[a]]></dc:creator>
<guid isPermaLink="false">http://five-for-the-future.test/?p=21</guid>
<description></description>
<content:encoded><![CDATA[ ]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>21</wp:post_id>
<wp:post_date><![CDATA[2019-11-06 04:59:30]]></wp:post_date>
<wp:post_date_gmt><![CDATA[2019-11-06 04:59:30]]></wp:post_date_gmt>
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
<wp:post_name><![CDATA[21]]></wp:post_name>
<wp:status><![CDATA[publish]]></wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>4</wp:menu_order>
<wp:post_type><![CDATA[nav_menu_item]]></wp:post_type>
<wp:post_password><![CDATA[]]></wp:post_password>
<wp:is_sticky>0</wp:is_sticky>
<category domain="nav_menu" nicename="primary"><![CDATA[Primary]]></category>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_type]]></wp:meta_key>
<wp:meta_value><![CDATA[post_type]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_menu_item_parent]]></wp:meta_key>
<wp:meta_value><![CDATA[0]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_object_id]]></wp:meta_key>
<wp:meta_value><![CDATA[11]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_object]]></wp:meta_key>
<wp:meta_value><![CDATA[page]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_target]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_classes]]></wp:meta_key>
<wp:meta_value><![CDATA[a:1:{i:0;s:0:"";}]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_xfn]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_url]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
</item>
<item>
<title>View Pledges</title>
<link>http://five-for-the-future.test/view-pledges/</link>
<pubDate>Wed, 06 Nov 2019 04:59:30 +0000</pubDate>
<dc:creator><![CDATA[a]]></dc:creator>
<guid isPermaLink="false">http://five-for-the-future.test/?p=22</guid>
<description></description>
<content:encoded><![CDATA[]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>22</wp:post_id>
<wp:post_date><![CDATA[2019-11-06 04:59:30]]></wp:post_date>
<wp:post_date_gmt><![CDATA[2019-11-06 04:59:30]]></wp:post_date_gmt>
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
<wp:post_name><![CDATA[view-pledges]]></wp:post_name>
<wp:status><![CDATA[publish]]></wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>5</wp:menu_order>
<wp:post_type><![CDATA[nav_menu_item]]></wp:post_type>
<wp:post_password><![CDATA[]]></wp:post_password>
<wp:is_sticky>0</wp:is_sticky>
<category domain="nav_menu" nicename="primary"><![CDATA[Primary]]></category>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_type]]></wp:meta_key>
<wp:meta_value><![CDATA[custom]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_menu_item_parent]]></wp:meta_key>
<wp:meta_value><![CDATA[0]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_object_id]]></wp:meta_key>
<wp:meta_value><![CDATA[22]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_object]]></wp:meta_key>
<wp:meta_value><![CDATA[custom]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_target]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_classes]]></wp:meta_key>
<wp:meta_value><![CDATA[a:1:{i:0;s:0:"";}]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_xfn]]></wp:meta_key>
<wp:meta_value><![CDATA[]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key><![CDATA[_menu_item_url]]></wp:meta_key>
<wp:meta_value><![CDATA[/pledges]]></wp:meta_value>
</wp:postmeta>
</item>
</channel>
</rss>

View file

@ -15,7 +15,7 @@
"wp-content/mu-plugins": "./mu-plugins",
"wp-content/plugins": "./plugins",
"wp-content/themes": "./themes",
"wp-content/mu-plugins/0-sandbox.php": "./.env/0-sandbox.php",
"wp-content/mu-plugins/0-sandbox.php": "./env/0-sandbox.php",
"wp-content/phpunit.xml.dist": "./phpunit.xml.dist",
"wp-cli.local.yml": "./wp-cli.local.yml"
}

View file

@ -41,6 +41,12 @@ In order to contribute with code changes, you'll want to set up a local environm
npm run wp-env start
```
1. Configure WordPress.
```bash
npm run setup:wp
```
If you're using a different local environment, or don't want to use wp-env, you can skip that step and just replace `wp-content` with this repo, so that the themes and plugins are in the correct places.
@ -51,16 +57,19 @@ If you're using a different local environment, or don't want to use wp-env, you
### Setting up default data
1. Set your permalinks to "Post name" at `Settings > Permalinks`.
1. Run the WP XML Importer at `Tools > Import` and select `wp-content/.env/import.wxr`.
1. Set the Primary Menu at `Appearance > Menu`.
1. Set "About" as the static home page at `Settings > Reading`.
1. Add new Pledges on the "Add New Pledge" page. Note that you'll need to use valid WP usernames on your install.
1. Set the new entry to Published in the `Five For the Future > Pledges admin` area.
1. Find the "Sending email" log entry in the pledge admin and copy/paste the link in a new tab to confirm the email.
1. Go to the `Five For the Future > Contributors` page and publish the post(s) via quick edit.
1. Your new pledge should appear on the `/pledges/` pages now.
1. Save your permalinks: `Settings > Permalinks`.
1. Configure your first pledge.
1. Visit `Five for the future > Pledges`.
1. Add `Administrator Email Address` -> Any address.
1. Add `Organization Name` -> Any name.
1. Add `Website Address` -> Any web address.
1. Add `Organization Blurb` -> Any content.
1. Add `Contributor Usernames` -> Use any of the users listed in `wp-admin/users.php` excluding admin.
1. Technically you can use any wp.org user but we use dummy data added in `./env/bpmain_bp_xprofile_data.sql` which maps to these user IDs.
1. Set a `featured image`.
1. Click `Update` to publish draft pledge.
1. Visit `Five for the future > Contributors`.
1. Click on any `Pending` contributors and `Publish` them.
## Scripts

78
env/bpmain_bp_xprofile_data.sql vendored Normal file
View file

@ -0,0 +1,78 @@
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `wordpress`
--
-- --------------------------------------------------------
--
-- Table structure for table `bpmain_bp_xprofile_data`
--
CREATE TABLE `bpmain_bp_xprofile_data` (
`id` bigint(20) UNSIGNED NOT NULL,
`field_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
`user_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
`value` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`last_updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `bpmain_bp_xprofile_data`
--
INSERT INTO `bpmain_bp_xprofile_data` (`id`, `field_id`, `user_id`, `value`, `last_updated`) VALUES
(1, 24, 2, 'Yes', '2024-07-01 01:38:31'),
(2, 29, 2, '40', '2024-07-01 01:38:31'),
(3, 30, 2, 'a:1:{i:0;s:9:\"Meta Team\";}', '2024-07-01 01:38:31'),
(4, 24, 3, 'Yes', '2024-07-01 01:38:31'),
(5, 29, 3, '40', '2024-07-01 01:38:31'),
(6, 30, 3, 'a:1:{i:0;s:9:\"Meta Team\";}', '2024-07-01 01:38:31'),
(7, 24, 4, 'Yes', '2024-07-01 01:38:31'),
(8, 29, 4, '40', '2024-07-01 01:38:31'),
(9, 30, 4, 'a:1:{i:0;s:9:\"Meta Team\";}', '2024-07-01 01:38:31'),
(10, 24, 5, 'Yes', '2024-07-01 01:38:31'),
(11, 29, 5, '40', '2024-07-01 01:38:31'),
(12, 30, 5, 'a:1:{i:0;s:9:\"Meta Team\";}', '2024-07-01 01:38:31'),
(13, 24, 6, 'Yes', '2024-07-01 01:38:31'),
(14, 29, 6, '40', '2024-07-01 01:38:31'),
(15, 30, 6, 'a:1:{i:0;s:9:\"Meta Team\";}', '2024-07-01 01:38:31'),
(16, 24, 7, 'Yes', '2024-07-01 01:38:31'),
(17, 29, 7, '40', '2024-07-01 01:38:31'),
(18, 30, 7, 'a:1:{i:0;s:9:\"Meta Team\";}', '2024-07-01 01:38:31');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `bpmain_bp_xprofile_data`
--
ALTER TABLE `bpmain_bp_xprofile_data`
ADD PRIMARY KEY (`id`),
ADD KEY `field_id` (`field_id`),
ADD KEY `user_id` (`user_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `bpmain_bp_xprofile_data`
--
ALTER TABLE `bpmain_bp_xprofile_data`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

2433
env/import.wxr vendored Normal file

File diff suppressed because it is too large Load diff

25
env/setup.sh vendored Normal file
View file

@ -0,0 +1,25 @@
#!/bin/bash
root=$( dirname $( wp config path ) )
wp db import "${root}/env/bpmain_bp_xprofile_data.sql"
wp theme activate wporg-5ftf-2024
wp plugin activate wporg-5ftf
wp rewrite structure '/%postname%/'
wp rewrite flush
wp option update blogname "Five for the Future"
wp plugin activate wordpress-importer
wp import "${root}/env/import.wxr" --authors=create
wp option update show_on_front 'page'
wp option update page_on_front 6
## Create a sample pledge since you can't do it in the admin.
wp post create --post_type=5ftf_pledge --post_title="Sample Pledge"

View file

@ -10,6 +10,7 @@
"@wordpress/scripts": "30.0.2"
},
"scripts": {
"setup:wp": "wp-env run cli bash env/setup.sh",
"setup:tools": "npm install && composer install",
"build:old-theme": "npm run build --workspace=wporg-5ftf",
"start:old-theme": "npm run watch --workspace=wporg-5ftf",