Changeset 40028 for trunk/src/wp-includes/class-wp-query.php
- Timestamp:
- 01/29/2017 11:49:49 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-query.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r39952 r40028 1714 1714 1715 1715 if ( isset( $q['caller_get_posts'] ) ) { 1716 _deprecated_argument( 'WP_Query', '3.1.0', __( '"caller_get_posts" is deprecated. Use "ignore_sticky_posts" instead.' ) ); 1717 if ( !isset( $q['ignore_sticky_posts'] ) ) 1716 _deprecated_argument( 'WP_Query', '3.1.0', 1717 /* translators: 1: caller_get_posts, 2: ignore_sticky_posts */ 1718 sprintf( __( '%1$s is deprecated. Use %2$s instead.' ), 1719 '<code>caller_get_posts</code>', 1720 '<code>ignore_sticky_posts</code>' 1721 ) 1722 ); 1723 1724 if ( ! isset( $q['ignore_sticky_posts'] ) ) { 1718 1725 $q['ignore_sticky_posts'] = $q['caller_get_posts']; 1726 } 1719 1727 } 1720 1728
Note: See TracChangeset
for help on using the changeset viewer.