Changeset 34689
- Timestamp:
- 09/29/2015 06:38:02 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r34686 r34689 1441 1441 } 1442 1442 1443 $sql_where = $wpdb->prepare( "WHERE post_type = %s AND post_status = 'publish'", $r['post_type'] ); 1444 1443 1445 /** 1444 1446 * Filter the SQL WHERE clause for retrieving archives. … … 1449 1451 * @param array $r An array of default arguments. 1450 1452 */ 1451 $sql_where = $wpdb->prepare( "WHERE post_type = %s AND post_status = 'publish'", $r['post_type'] );1452 1453 $where = apply_filters( 'getarchives_where', $sql_where, $r ); 1453 1454
Note: See TracChangeset
for help on using the changeset viewer.