Ticket #20569: addslashes-phpdoc-warning.diff
File addslashes-phpdoc-warning.diff, 1.7 KB (added by , 12 years ago) |
---|
-
wp-includes/post.php
1499 1499 * 1500 1500 * If the meta field for the post does not exist, it will be added. 1501 1501 * 1502 * If you are not passing in data directly from a $_POST or $_GET, make sure 1503 * to addslashes() to your data, as this calls update_metadata() which calls 1504 * stripslashes_deep(). 1505 * 1502 1506 * @since 1.5.0 1503 1507 * @uses $wpdb 1504 1508 * @link http://codex.wordpress.org/Function_Reference/update_post_meta -
wp-includes/comment.php
555 555 * 556 556 * If the meta field for the comment does not exist, it will be added. 557 557 * 558 * If you are not passing in data directly from a $_POST or $_GET, make sure 559 * to addslashes() to your data, as this calls update_metadata() which calls 560 * stripslashes_deep(). 561 * 558 562 * @since 2.9.0 559 563 * @uses update_metadata 560 564 * @link http://codex.wordpress.org/Function_Reference/update_comment_meta -
wp-includes/user.php
812 812 * 813 813 * If the meta field for the user does not exist, it will be added. 814 814 * 815 * If you are not passing in data directly from a $_POST or $_GET, make sure 816 * to addslashes() to your data, as this calls update_metadata() which calls 817 * stripslashes_deep(). 818 * 815 819 * @since 3.0.0 816 820 * @uses update_metadata 817 821 * @link http://codex.wordpress.org/Function_Reference/update_user_meta