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