Changeset 54534 for branches/6.0/src/wp-includes/deprecated.php
- Timestamp:
- 10/17/2022 12:24:45 PM (4 years ago)
- Location:
- branches/6.0
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/deprecated.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0
-
branches/6.0/src/wp-includes/deprecated.php
r53287 r54534 4312 4312 _deprecated_function( __FUNCTION__, '6.0.0' ); 4313 4313 } 4314 4315 /** 4316 * Filter the SQL clauses of an attachment query to include filenames. 4317 * 4318 * @since 4.7.0 4319 * @deprecated 6.0.3 4320 * @access private 4321 * 4322 * @param array $clauses An array including WHERE, GROUP BY, JOIN, ORDER BY, 4323 * DISTINCT, fields (SELECT), and LIMITS clauses. 4324 * @return array The unmodified clauses. 4325 */ 4326 function _filter_query_attachment_filenames( $clauses ) { 4327 _deprecated_function( __FUNCTION__, '4.9.9', 'add_filter( "wp_allow_query_attachment_by_filename", "__return_true" )' ); 4328 remove_filter( 'posts_clauses', __FUNCTION__ ); 4329 return $clauses; 4330 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)