mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 11:03:43 +03:00
Add some comments
This commit is contained in:
parent
1b39994280
commit
34c91bbc9b
|
@ -196,6 +196,8 @@ function has_required_pledge_meta( array $submission ) {
|
|||
/**
|
||||
* Save the pledge data.
|
||||
*
|
||||
* This only fires when the pledge post itself is created or updated.
|
||||
*
|
||||
* @param int $pledge_id
|
||||
* @param WP_Post $pledge
|
||||
*/
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
* or two, we may want to create a subfolder and have a separate file for each block.
|
||||
*/
|
||||
|
||||
// TODO are we actually using any of this?
|
||||
|
||||
namespace WordPressDotOrg\FiveForTheFuture\Blocks;
|
||||
use WordPressDotOrg\FiveForTheFuture;
|
||||
use WordPressDotOrg\FiveForTheFuture\Pledge;
|
||||
|
|
|
@ -7,7 +7,7 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path;
|
|||
/** @var bool $updated */
|
||||
?>
|
||||
|
||||
<form id="5ftf-form-pledge-new" action="" method="post">
|
||||
<form id="5ftf-form-pledge-manage" action="" method="post">
|
||||
<?php
|
||||
require get_views_path() . 'inputs-pledge-org-info.php';
|
||||
require get_views_path() . 'inputs-pledge-org-logo.php';
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<?php // todo i18n
|
||||
//// change all id/class prefixes to fftf (or something better) b/c not valid to start w/ number
|
||||
/// ?>
|
||||
|
||||
// TODO are we using this, or is all the front end stuff happening in the 5ftF theme now?
|
||||
?>
|
||||
|
||||
<article class="5ftf">
|
||||
<section class="about">
|
||||
|
|
Loading…
Reference in a new issue