Skip to content

Commit

Permalink
Fix/text adjustments (#1087)
Browse files Browse the repository at this point in the history
* Update sponsorship-agreement.php

Add clarifying text.

* Update wcorg-misc.php

Clarify description.
  • Loading branch information
pkevan authored Oct 11, 2023
1 parent 0212671 commit f131eac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions public_html/wp-content/mu-plugins/wcorg-misc.php
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ function wcorg_user_new_wporg_credentials_notice() {
}
?>
<div class="notice notice-info">
<p><?php echo wp_kses_post( __( '<strong>Use WordPress.org accounts to add and invite users</strong>. You should use the same email address that user has registered to WordPress.org with.' ) ); ?></p>
<p><?php echo wp_kses_post( __( '<strong>Use WordPress.org accounts to add and invite users</strong>. You should use the same email address that the user has registered on WordPress.org with.' ) ); ?></p>
</div>
<?php
}
Expand All @@ -709,4 +709,4 @@ function fix_mu_plugins_private_urls( string $url ) : string {

return str_replace( $search, $replace, $url );
}
add_filter( 'plugins_url', 'fix_mu_plugins_private_urls' );
add_filter( 'plugins_url', 'fix_mu_plugins_private_urls' );
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function form_prefill_select( $data ) {
<option value="<?php echo esc_attr( $sponsor->ID ); ?>"><?php echo esc_html( get_the_title( $sponsor ) ); ?></option>
<?php endforeach; ?>
</select>
<span class="description"><?php esc_html_e( 'Sponsorship details will be pre-filled with the data on sponsor post.', 'wordcamporg' ); ?></span>
<span class="description"><?php esc_html_e( 'Sponsorship details will be pre-filled with data on the sponsor post.', 'wordcamporg' ); ?></span>

<label><?php esc_html_e( 'Sponsorship Benefits:', 'wordcamporg' ); ?></label>
<textarea name="sponsorship_benefits"><?php echo esc_textarea( $data['sponsorship_benefits'] ?? '' ); ?></textarea>
Expand Down

0 comments on commit f131eac

Please sign in to comment.