Changeset 11869
- Timestamp:
- 02/28/2018 07:25:26 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/classes/class-bp-messages-notices-admin.php
r11868 r11869 116 116 public function admin_load() { 117 117 if ( ! empty( $_POST['bp_notice']['send'] ) ) { 118 119 check_admin_referer( 'new-notice', 'ns-nonce' ); 120 118 121 $notice = wp_parse_args( $_POST['bp_notice'], array( 119 122 'subject' => '', … … 162 165 <?php endif; ?> 163 166 164 <form action=<?php echo esc_url( $this->url); ?> method="post">167 <form action=<?php echo esc_url( wp_nonce_url( $this->url, 'new-notice', 'ns-nonce' ) ); ?> method="post"> 165 168 <table class="widefat"> 166 169 <tr>
Note: See TracChangeset
for help on using the changeset viewer.