Changeset 49505
- Timestamp:
- 11/05/2020 09:40:38 AM (4 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r49474 r49505 3945 3945 * true only on the page you set as the "Posts page". 3946 3946 * 3947 * @since 3.1.0 3948 * 3947 3949 * @see WP_Query::is_front_page() 3948 *3949 * @since 3.1.03950 3950 * 3951 3951 * @return bool Whether the query is for the blog homepage. … … 3995 3995 * check if the query is for one of the pages specified. 3996 3996 * 3997 * @since 3.1.0 3998 * 3997 3999 * @see WP_Query::is_single() 3998 4000 * @see WP_Query::is_singular() 3999 *4000 * @since 3.1.04001 4001 * 4002 4002 * @param int|string|int[]|string[] $page Optional. Page ID, title, slug, path, or array of such … … 4102 4102 * check if the query is for one of the Posts specified. 4103 4103 * 4104 * @since 3.1.0 4105 * 4104 4106 * @see WP_Query::is_page() 4105 4107 * @see WP_Query::is_singular() 4106 *4107 * @since 3.1.04108 4108 * 4109 4109 * @param int|string|int[]|string[] $post Optional. Post ID, title, slug, path, or array of such … … 4152 4152 * check if the query is for one of the Posts Types specified. 4153 4153 * 4154 * @since 3.1.0 4155 * 4154 4156 * @see WP_Query::is_page() 4155 4157 * @see WP_Query::is_single() 4156 *4157 * @since 3.1.04158 4158 * 4159 4159 * @param string|string[] $post_types Optional. Post type or array of post types -
trunk/src/wp-includes/query.php
r49504 r49505 564 564 * Conditional Tags} article in the Theme Developer Handbook. 565 565 * 566 * @since 1.5.0 567 * 566 568 * @see is_single() 567 569 * @see is_singular() 568 *569 * @since 1.5.0570 *571 570 * @global WP_Query $wp_query WordPress Query object. 572 571 * … … 710 709 * Conditional Tags} article in the Theme Developer Handbook. 711 710 * 711 * @since 1.5.0 712 * 712 713 * @see is_page() 713 714 * @see is_singular() 714 *715 * @since 1.5.0716 *717 715 * @global WP_Query $wp_query WordPress Query object. 718 716 * … … 743 741 * Conditional Tags} article in the Theme Developer Handbook. 744 742 * 743 * @since 1.5.0 744 * 745 745 * @see is_page() 746 746 * @see is_single() 747 *748 * @since 1.5.0749 *750 747 * @global WP_Query $wp_query WordPress Query object. 751 748 * … … 1084 1081 * Find the post ID for redirecting an old slug. 1085 1082 * 1086 * @see wp_old_slug_redirect()1087 *1088 1083 * @since 4.9.3 1089 1084 * @access private 1090 1085 * 1086 * @see wp_old_slug_redirect() 1091 1087 * @global wpdb $wpdb WordPress database abstraction object. 1092 1088 * … … 1119 1115 * Find the post ID for redirecting an old date. 1120 1116 * 1121 * @see wp_old_slug_redirect()1122 *1123 1117 * @since 4.9.3 1124 1118 * @access private 1125 1119 * 1120 * @see wp_old_slug_redirect() 1126 1121 * @global wpdb $wpdb WordPress database abstraction object. 1127 1122 *
Note: See TracChangeset
for help on using the changeset viewer.