Ticket #47860: 47860.diff
| File 47860.diff, 728 bytes (added by , 7 years ago) |
|---|
-
post.php
4881 4881 /** 4882 4882 * Retrieve a page given its title. 4883 4883 * 4884 * If more than one post uses the same title, the post with the smallest ID will be returned. 4885 * Be careful, In case of more than one post used the same title, it will check the oldest 4886 * publication date not the smallest ID. 4887 * 4888 * Because this function uses the MySQL '=' comparison the $page_title will usually be matched 4889 * as case insensitive with default collating. 4890 * 4884 4891 * @since 2.1.0 4892 * @since 3.0.0 $post_type parameter was added. 4885 4893 * 4886 4894 * @global wpdb $wpdb WordPress database abstraction object. 4887 4895 *