Changeset 54548 for branches/5.8/src/wp-includes/deprecated.php
- Timestamp:
- 10/17/2022 05:46:39 PM (23 months ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
- Property svn:mergeinfo changed
/trunk merged: 54397,54521-54530,54541
- Property svn:mergeinfo changed
-
branches/5.8/src/wp-includes/deprecated.php
r51382 r54548 4225 4225 return _excerpt_render_inner_blocks( $columns, $allowed_blocks ); 4226 4226 } 4227 4228 /** 4229 * Filter the SQL clauses of an attachment query to include filenames. 4230 * 4231 * @since 4.7.0 4232 * @deprecated 6.0.3 4233 * @access private 4234 * 4235 * @param array $clauses An array including WHERE, GROUP BY, JOIN, ORDER BY, 4236 * DISTINCT, fields (SELECT), and LIMITS clauses. 4237 * @return array The unmodified clauses. 4238 */ 4239 function _filter_query_attachment_filenames( $clauses ) { 4240 _deprecated_function( __FUNCTION__, '6.0.3', 'add_filter( "wp_allow_query_attachment_by_filename", "__return_true" )'); 4241 remove_filter( 'posts_clauses', __FUNCTION__ ); 4242 return $clauses; 4243 } 4244
Note: See TracChangeset
for help on using the changeset viewer.