Changeset 55857 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 05/25/2023 12:53:24 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r55856 r55857 4563 4563 $post_type_in_string = "'" . implode( "','", $post_type ) . "'"; 4564 4564 $sql = $wpdb->prepare( 4565 " 4566 SELECT ID 4565 "SELECT ID 4567 4566 FROM $wpdb->posts 4568 4567 WHERE post_title = %s 4569 AND post_type IN ($post_type_in_string) 4570 ", 4568 AND post_type IN ($post_type_in_string)", 4571 4569 $page_title 4572 4570 ); 4573 4571 } else { 4574 4572 $sql = $wpdb->prepare( 4575 " 4576 SELECT ID 4573 "SELECT ID 4577 4574 FROM $wpdb->posts 4578 4575 WHERE post_title = %s 4579 AND post_type = %s 4580 ", 4576 AND post_type = %s", 4581 4577 $page_title, 4582 4578 $post_type
Note: See TracChangeset
for help on using the changeset viewer.