Changeset 48462
- Timestamp:
- 07/13/2020 10:08:16 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r48450 r48462 798 798 * Filters the number of items to be displayed on each page of the list table. 799 799 * 800 * The dynamic hook name, $option, refers to the `per_page` option depending 801 * on the type of list table in use. Possible values include: 'edit_comments_per_page', 802 * 'sites_network_per_page', 'site_themes_network_per_page', 'themes_network_per_page', 803 * 'users_network_per_page', 'edit_post_per_page', 'edit_page_per_page', 804 * 'edit_{$post_type}_per_page', etc. 800 * The dynamic hook name, `$option`, refers to the `per_page` option depending 801 * on the type of list table in use. Possible filter names include: 802 * 803 * - `edit_comments_per_page` 804 * - `sites_network_per_page` 805 * - `site_themes_network_per_page` 806 * - `themes_network_per_page'` 807 * - `users_network_per_page` 808 * - `edit_post_per_page` 809 * - `edit_page_per_page'` 810 * - `edit_{$post_type}_per_page` 811 * - `edit_post_tag_per_page` 812 * - `edit_category_per_page` 813 * - `edit_{$taxonomy}_per_page` 814 * - `site_users_network_per_page` 815 * - `users_per_page` 805 816 * 806 817 * @since 2.9.0 -
trunk/src/wp-includes/class-http.php
r48109 r48462 238 238 239 239 /** 240 * Filters whether to preempt an HTTP request's return value.240 * Filters the preemptive return value of an HTTP request. 241 241 * 242 242 * Returning a non-false value from the filter will short-circuit the HTTP request and return 243 * early with that value. A filter should return either:243 * early with that value. A filter should return one of: 244 244 * 245 245 * - An array containing 'headers', 'body', 'response', 'cookies', and 'filename' elements 246 246 * - A WP_Error instance 247 * - boolean false (to avoid short-circuiting the response)247 * - boolean false to avoid short-circuiting the response 248 248 * 249 249 * Returning any other value may result in unexpected behaviour. … … 251 251 * @since 2.9.0 252 252 * 253 * @param false|array|WP_Error $preempt Whether to preempt an HTTP request's return value. Default false.253 * @param false|array|WP_Error $preempt A preemptive return value of an HTTP request. Default false. 254 254 * @param array $parsed_args HTTP request arguments. 255 255 * @param string $url The request URL. -
trunk/src/wp-includes/class-wp-date-query.php
r48121 r48462 46 46 * 47 47 * @since 3.7.0 48 * @var array48 * @var string 49 49 */ 50 50 public $compare = '='; -
trunk/src/wp-includes/class-wp-dependency.php
r47399 r48462 22 22 * 23 23 * @since 2.6.0 24 * @var null24 * @var string 25 25 */ 26 26 public $handle; … … 30 30 * 31 31 * @since 2.6.0 32 * @var null32 * @var string 33 33 */ 34 34 public $src; … … 56 56 * 57 57 * @since 2.6.0 58 * @var null58 * @var array 59 59 */ 60 60 public $args = null; // Custom property, such as $in_footer or $media. -
trunk/src/wp-includes/class-wp-post-type.php
r47808 r48462 201 201 * 202 202 * @since 4.6.0 203 * @var string$register_meta_box_cb203 * @var callable $register_meta_box_cb 204 204 */ 205 205 public $register_meta_box_cb = null; -
trunk/src/wp-includes/class-wp-query.php
r48426 r48462 656 656 * @type int|bool $ignore_sticky_posts Whether to ignore sticky posts or not. Setting this to false 657 657 * excludes stickies from 'post__in'. Accepts 1|true, 0|false. 658 * Default 0|false.658 * Default false. 659 659 * @type int $m Combination YearMonth. Accepts any four-digit year and month 660 660 * numbers 1-12. Default empty. … … 686 686 * of `$meta_query`. Default is 'date', except when a search 687 687 * is being performed, when the default is 'relevance'. 688 *689 688 * @type int $p Post ID. 690 689 * @type int $page Show the number of posts that would show up on page X of a … … 3435 3434 * @since 1.5.0 3436 3435 * 3436 * @see WP_Query::parse_query() for all available arguments. 3437 * 3437 3438 * @param string|array $query URL query string or array of query arguments. 3438 3439 * @return WP_Post[]|int[] Array of post objects or post IDs. … … 3546 3547 * 3547 3548 * @since 1.5.0 3549 * 3550 * @see WP_Query::parse_query() for all available arguments. 3548 3551 * 3549 3552 * @param string|array $query URL query string or array of vars. -
trunk/src/wp-includes/post.php
r48356 r48462 2356 2356 2357 2357 /** 2358 * Sanitize post field based on context.2358 * Sanitizes a post field based on context. 2359 2359 * 2360 2360 * Possible context values are: 'raw', 'edit', 'db', 'display', 'attribute' and … … 2368 2368 * @param mixed $value The Post Object value. 2369 2369 * @param int $post_id Post ID. 2370 * @param string $context Optional. How to sanitize post fields. Looks for'raw', 'edit',2370 * @param string $context Optional. How to sanitize the field. Possible values are 'raw', 'edit', 2371 2371 * 'db', 'display', 'attribute' and 'js'. Default 'display'. 2372 2372 * @return mixed Sanitized value. … … 2495 2495 * @param int $post_id Post ID. 2496 2496 * @param string $context Context for how to sanitize the field. Possible 2497 * values include ' raw', 'edit', 'db', 'display',2497 * values include 'edit', 'display', 2498 2498 * 'attribute' and 'js'. 2499 2499 */
Note: See TracChangeset
for help on using the changeset viewer.