mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-17 15:45:44 +03:00
Manage Pledge: Update email dialog to use JS submission (#104)
Use the proper dialog behavior for submitting an email to generate a manage link. Fixes #98.
This commit is contained in:
parent
a67ef04505
commit
a11e3c5fa5
14 changed files with 1202 additions and 134 deletions
|
@ -55,7 +55,10 @@ get_header();
|
|||
<h2><?php esc_html_e( 'About', 'wporg' ); ?></h2>
|
||||
|
||||
<div class="pledge-company-description">
|
||||
<?php echo wpautop( wp_kses_data( $post->{ META_PREFIX . 'org-description' } ) ); ?>
|
||||
<?php
|
||||
// phpcs:ignore WordPress.Security.EscapeOutput -- wp_kses_data escapes the content.
|
||||
echo wpautop( wp_kses_data( $post->{ META_PREFIX . 'org-description' } ) );
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ( ! empty( $contributors ) ) : ?>
|
||||
|
@ -130,9 +133,7 @@ get_header();
|
|||
</a>
|
||||
</div>
|
||||
|
||||
<div class="edit-pledge-wrapper">
|
||||
<?php do_shortcode( '[5ftf_pledge_form_manage_link]' ); ?>
|
||||
</div>
|
||||
<?php do_action( 'pledge_footer' ); ?>
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue