Changeset 54524 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 10/17/2022 11:17:38 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r54480 r54524 4512 4512 return false; 4513 4513 } 4514 4515 /** 4516 * Filter the SQL clauses of an attachment query to include filenames. 4517 * 4518 * @since 4.7.0 4519 * @deprecated 6.0.3 4520 * @access private 4521 * 4522 * @param array $clauses An array including WHERE, GROUP BY, JOIN, ORDER BY, 4523 * DISTINCT, fields (SELECT), and LIMITS clauses. 4524 * @return array The unmodified clauses. 4525 */ 4526 function _filter_query_attachment_filenames( $clauses ) { 4527 _deprecated_function( __FUNCTION__, '4.9.9', 'add_filter( "wp_allow_query_attachment_by_filename", "__return_true" )' ); 4528 remove_filter( 'posts_clauses', __FUNCTION__ ); 4529 return $clauses; 4530 }
Note: See TracChangeset
for help on using the changeset viewer.