Changes between Initial Version and Version 1 of Ticket #21309, comment 22
- Timestamp:
- 09/22/2012 04:05:33 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21309, comment 22
initial v1 10 10 $some_value = sanitize_post_field( 'some_key', get_post_meta( $post->ID, 'some_key', true ), $post->ID, 'display' ); 11 11 }}} 12 13 Benefits: 14 15 * increased conciseness and readability 16 * automatic sanitization, thus better security 17 * consistency with WP_User