Changeset 12517 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-status-transitions.php
- Timestamp:
- 03/30/2023 03:37:47 AM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-status-transitions.php
r12175 r12517 323 323 */ 324 324 public function save_close_reason( $post_id ) { 325 if ( ! isset( $_ POST['close_reason'] ) ) {325 if ( ! isset( $_REQUEST['close_reason'] ) ) { 326 326 return; 327 327 } … … 331 331 } 332 332 333 $close_reason = sanitize_key( $_ POST['close_reason'] );333 $close_reason = sanitize_key( $_REQUEST['close_reason'] ); 334 334 335 335 update_post_meta( $post_id, '_close_reason', $close_reason );
Note: See TracChangeset
for help on using the changeset viewer.