Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16379, comment 55


Ignore:
Timestamp:
10/04/2012 02:10:08 PM (12 years ago)
Author:
ryan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16379, comment 55

    initial v1  
    1 User get_current_screen() instead of the $current_screen global. There is no need to esc_html( stripslashes() ) the data going to wp_insert/update_post(). They expect slashed data and will handle sanitization.
     1Use get_current_screen() instead of the $current_screen global. There is no need to esc_html( stripslashes() ) the data going to wp_insert/update_post(). They expect slashed data and will handle sanitization.