Changeset 51000
- Timestamp:
- 05/25/2021 01:11:55 PM (4 years ago)
- Location:
- trunk/src/wp-includes/rest-api
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php
r50114 r51000 643 643 644 644 /** 645 * Prepares links for the object.645 * Prepares links for the request. 646 646 * 647 647 * @since 5.6.0 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r50810 r51000 35 35 'args' => array( 36 36 'id' => array( 37 'description' => __( 'Unique identifier for the object.' ),37 'description' => __( 'Unique identifier for the attachment.' ), 38 38 'type' => 'integer', 39 39 ), … … 889 889 'properties' => array( 890 890 'raw' => array( 891 'description' => __( 'Description for the object, as it exists in the database.' ),891 'description' => __( 'Description for the attachment, as it exists in the database.' ), 892 892 'type' => 'string', 893 893 'context' => array( 'edit' ), 894 894 ), 895 895 'rendered' => array( 896 'description' => __( 'HTML description for the object, transformed for display.' ),896 'description' => __( 'HTML description for the attachment, transformed for display.' ), 897 897 'type' => 'string', 898 898 'context' => array( 'view', 'edit' ), -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php
r49610 r51000 87 87 'args' => array( 88 88 'parent' => array( 89 'description' => __( 'The ID for the parent of the object.' ),89 'description' => __( 'The ID for the parent of the autosave.' ), 90 90 'type' => 'integer', 91 91 ), … … 113 113 'args' => array( 114 114 'parent' => array( 115 'description' => __( 'The ID for the parent of the object.' ),115 'description' => __( 'The ID for the parent of the autosave.' ), 116 116 'type' => 'integer', 117 117 ), 118 118 'id' => array( 119 'description' => __( 'The ID for the object.' ),119 'description' => __( 'The ID for the autosave.' ), 120 120 'type' => 'integer', 121 121 ), -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
r50632 r51000 46 46 47 47 /** 48 * Registers the routes for the objects of the controller.48 * Registers the routes for block types. 49 49 * 50 50 * @since 5.5.0 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r49955 r51000 38 38 39 39 /** 40 * Registers the routes for the objects of the controller.40 * Registers the routes for comments. 41 41 * 42 42 * @since 4.7.0 … … 72 72 'args' => array( 73 73 'id' => array( 74 'description' => __( 'Unique identifier for the object.' ),74 'description' => __( 'Unique identifier for the comment.' ), 75 75 'type' => 'integer', 76 76 ), … … 1382 1382 'properties' => array( 1383 1383 'id' => array( 1384 'description' => __( 'Unique identifier for the object.' ),1384 'description' => __( 'Unique identifier for the comment.' ), 1385 1385 'type' => 'integer', 1386 1386 'context' => array( 'view', 'edit', 'embed' ), … … 1393 1393 ), 1394 1394 'author_email' => array( 1395 'description' => __( 'Email address for the object author.' ),1395 'description' => __( 'Email address for the comment author.' ), 1396 1396 'type' => 'string', 1397 1397 'format' => 'email', … … 1403 1403 ), 1404 1404 'author_ip' => array( 1405 'description' => __( 'IP address for the object author.' ),1405 'description' => __( 'IP address for the comment author.' ), 1406 1406 'type' => 'string', 1407 1407 'format' => 'ip', … … 1409 1409 ), 1410 1410 'author_name' => array( 1411 'description' => __( 'Display name for the object author.' ),1411 'description' => __( 'Display name for the comment author.' ), 1412 1412 'type' => 'string', 1413 1413 'context' => array( 'view', 'edit', 'embed' ), … … 1417 1417 ), 1418 1418 'author_url' => array( 1419 'description' => __( 'URL for the object author.' ),1419 'description' => __( 'URL for the comment author.' ), 1420 1420 'type' => 'string', 1421 1421 'format' => 'uri', … … 1423 1423 ), 1424 1424 'author_user_agent' => array( 1425 'description' => __( 'User agent for the object author.' ),1425 'description' => __( 'User agent for the comment author.' ), 1426 1426 'type' => 'string', 1427 1427 'context' => array( 'edit' ), … … 1431 1431 ), 1432 1432 'content' => array( 1433 'description' => __( 'The content for the object.' ),1433 'description' => __( 'The content for the comment.' ), 1434 1434 'type' => 'object', 1435 1435 'context' => array( 'view', 'edit', 'embed' ), … … 1440 1440 'properties' => array( 1441 1441 'raw' => array( 1442 'description' => __( 'Content for the object, as it exists in the database.' ),1442 'description' => __( 'Content for the comment, as it exists in the database.' ), 1443 1443 'type' => 'string', 1444 1444 'context' => array( 'edit' ), 1445 1445 ), 1446 1446 'rendered' => array( 1447 'description' => __( 'HTML content for the object, transformed for display.' ),1447 'description' => __( 'HTML content for the comment, transformed for display.' ), 1448 1448 'type' => 'string', 1449 1449 'context' => array( 'view', 'edit', 'embed' ), … … 1453 1453 ), 1454 1454 'date' => array( 1455 'description' => __( "The date the object was published, in the site's timezone." ),1455 'description' => __( "The date the comment was published, in the site's timezone." ), 1456 1456 'type' => 'string', 1457 1457 'format' => 'date-time', … … 1459 1459 ), 1460 1460 'date_gmt' => array( 1461 'description' => __( 'The date the object was published, as GMT.' ),1461 'description' => __( 'The date the comment was published, as GMT.' ), 1462 1462 'type' => 'string', 1463 1463 'format' => 'date-time', … … 1465 1465 ), 1466 1466 'link' => array( 1467 'description' => __( 'URL to the object.' ),1467 'description' => __( 'URL to the comment.' ), 1468 1468 'type' => 'string', 1469 1469 'format' => 'uri', … … 1472 1472 ), 1473 1473 'parent' => array( 1474 'description' => __( 'The ID for the parent of the object.' ),1474 'description' => __( 'The ID for the parent of the comment.' ), 1475 1475 'type' => 'integer', 1476 1476 'context' => array( 'view', 'edit', 'embed' ), … … 1484 1484 ), 1485 1485 'status' => array( 1486 'description' => __( 'State of the object.' ),1486 'description' => __( 'State of the comment.' ), 1487 1487 'type' => 'string', 1488 1488 'context' => array( 'view', 'edit' ), … … 1492 1492 ), 1493 1493 'type' => array( 1494 'description' => __( 'Type of Comment for the object.' ),1494 'description' => __( 'Type of the comment.' ), 1495 1495 'type' => 'string', 1496 1496 'context' => array( 'view', 'edit', 'embed' ), … … 1516 1516 1517 1517 $schema['properties']['author_avatar_urls'] = array( 1518 'description' => __( 'Avatar URLs for the object author.' ),1518 'description' => __( 'Avatar URLs for the comment author.' ), 1519 1519 'type' => 'object', 1520 1520 'context' => array( 'view', 'edit', 'embed' ), … … 1612 1612 1613 1613 $query_params['orderby'] = array( 1614 'description' => __( 'Sort collection by object attribute.' ),1614 'description' => __( 'Sort collection by comment attribute.' ), 1615 1615 'type' => 'string', 1616 1616 'default' => 'date_gmt', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php
r49955 r51000 28 28 29 29 /** 30 * Registers the routes for the objects of the controller.30 * Registers the routes for post statuses. 31 31 * 32 32 * @since 4.7.0 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php
r49610 r51000 28 28 29 29 /** 30 * Registers the routes for the objects of the controller.30 * Registers the routes for post types. 31 31 * 32 32 * @since 4.7.0 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r50717 r51000 57 57 58 58 /** 59 * Registers the routes for the objects of the controller.59 * Registers the routes for posts. 60 60 * 61 61 * @since 4.7.0 … … 101 101 'args' => array( 102 102 'id' => array( 103 'description' => __( 'Unique identifier for the object.' ),103 'description' => __( 'Unique identifier for the post.' ), 104 104 'type' => 'integer', 105 105 ), … … 2154 2154 'properties' => array( 2155 2155 'date' => array( 2156 'description' => __( "The date the object was published, in the site's timezone." ),2156 'description' => __( "The date the post was published, in the site's timezone." ), 2157 2157 'type' => array( 'string', 'null' ), 2158 2158 'format' => 'date-time', … … 2160 2160 ), 2161 2161 'date_gmt' => array( 2162 'description' => __( 'The date the object was published, as GMT.' ),2162 'description' => __( 'The date the post was published, as GMT.' ), 2163 2163 'type' => array( 'string', 'null' ), 2164 2164 'format' => 'date-time', … … 2166 2166 ), 2167 2167 'guid' => array( 2168 'description' => __( 'The globally unique identifier for the object.' ),2168 'description' => __( 'The globally unique identifier for the post.' ), 2169 2169 'type' => 'object', 2170 2170 'context' => array( 'view', 'edit' ), … … 2172 2172 'properties' => array( 2173 2173 'raw' => array( 2174 'description' => __( 'GUID for the object, as it exists in the database.' ),2174 'description' => __( 'GUID for the post, as it exists in the database.' ), 2175 2175 'type' => 'string', 2176 2176 'context' => array( 'edit' ), … … 2178 2178 ), 2179 2179 'rendered' => array( 2180 'description' => __( 'GUID for the object, transformed for display.' ),2180 'description' => __( 'GUID for the post, transformed for display.' ), 2181 2181 'type' => 'string', 2182 2182 'context' => array( 'view', 'edit' ), … … 2186 2186 ), 2187 2187 'id' => array( 2188 'description' => __( 'Unique identifier for the object.' ),2188 'description' => __( 'Unique identifier for the post.' ), 2189 2189 'type' => 'integer', 2190 2190 'context' => array( 'view', 'edit', 'embed' ), … … 2192 2192 ), 2193 2193 'link' => array( 2194 'description' => __( 'URL to the object.' ),2194 'description' => __( 'URL to the post.' ), 2195 2195 'type' => 'string', 2196 2196 'format' => 'uri', … … 2199 2199 ), 2200 2200 'modified' => array( 2201 'description' => __( "The date the object was last modified, in the site's timezone." ),2201 'description' => __( "The date the post was last modified, in the site's timezone." ), 2202 2202 'type' => 'string', 2203 2203 'format' => 'date-time', … … 2206 2206 ), 2207 2207 'modified_gmt' => array( 2208 'description' => __( 'The date the object was last modified, as GMT.' ),2208 'description' => __( 'The date the post was last modified, as GMT.' ), 2209 2209 'type' => 'string', 2210 2210 'format' => 'date-time', … … 2213 2213 ), 2214 2214 'slug' => array( 2215 'description' => __( 'An alphanumeric identifier for the object unique to its type.' ),2215 'description' => __( 'An alphanumeric identifier for the post unique to its type.' ), 2216 2216 'type' => 'string', 2217 2217 'context' => array( 'view', 'edit', 'embed' ), … … 2221 2221 ), 2222 2222 'status' => array( 2223 'description' => __( 'A named status for the object.' ),2223 'description' => __( 'A named status for the post.' ), 2224 2224 'type' => 'string', 2225 2225 'enum' => array_keys( get_post_stati( array( 'internal' => false ) ) ), … … 2230 2230 ), 2231 2231 'type' => array( 2232 'description' => __( 'Type of Post for the object.' ),2232 'description' => __( 'Type of post.' ), 2233 2233 'type' => 'string', 2234 2234 'context' => array( 'view', 'edit', 'embed' ), … … 2246 2246 if ( is_post_type_viewable( $post_type_obj ) && $post_type_obj->public ) { 2247 2247 $schema['properties']['permalink_template'] = array( 2248 'description' => __( 'Permalink template for the object.' ),2248 'description' => __( 'Permalink template for the post.' ), 2249 2249 'type' => 'string', 2250 2250 'context' => array( 'edit' ), … … 2253 2253 2254 2254 $schema['properties']['generated_slug'] = array( 2255 'description' => __( 'Slug automatically generated from the object title.' ),2255 'description' => __( 'Slug automatically generated from the post title.' ), 2256 2256 'type' => 'string', 2257 2257 'context' => array( 'edit' ), … … 2262 2262 if ( $post_type_obj->hierarchical ) { 2263 2263 $schema['properties']['parent'] = array( 2264 'description' => __( 'The ID for the parent of the object.' ),2264 'description' => __( 'The ID for the parent of the post.' ), 2265 2265 'type' => 'integer', 2266 2266 'context' => array( 'view', 'edit' ), … … 2323 2323 case 'title': 2324 2324 $schema['properties']['title'] = array( 2325 'description' => __( 'The title for the object.' ),2325 'description' => __( 'The title for the post.' ), 2326 2326 'type' => 'object', 2327 2327 'context' => array( 'view', 'edit', 'embed' ), … … 2332 2332 'properties' => array( 2333 2333 'raw' => array( 2334 'description' => __( 'Title for the object, as it exists in the database.' ),2334 'description' => __( 'Title for the post, as it exists in the database.' ), 2335 2335 'type' => 'string', 2336 2336 'context' => array( 'edit' ), 2337 2337 ), 2338 2338 'rendered' => array( 2339 'description' => __( 'HTML title for the object, transformed for display.' ),2339 'description' => __( 'HTML title for the post, transformed for display.' ), 2340 2340 'type' => 'string', 2341 2341 'context' => array( 'view', 'edit', 'embed' ), … … 2348 2348 case 'editor': 2349 2349 $schema['properties']['content'] = array( 2350 'description' => __( 'The content for the object.' ),2350 'description' => __( 'The content for the post.' ), 2351 2351 'type' => 'object', 2352 2352 'context' => array( 'view', 'edit' ), … … 2357 2357 'properties' => array( 2358 2358 'raw' => array( 2359 'description' => __( 'Content for the object, as it exists in the database.' ),2359 'description' => __( 'Content for the post, as it exists in the database.' ), 2360 2360 'type' => 'string', 2361 2361 'context' => array( 'edit' ), 2362 2362 ), 2363 2363 'rendered' => array( 2364 'description' => __( 'HTML content for the object, transformed for display.' ),2364 'description' => __( 'HTML content for the post, transformed for display.' ), 2365 2365 'type' => 'string', 2366 2366 'context' => array( 'view', 'edit' ), … … 2368 2368 ), 2369 2369 'block_version' => array( 2370 'description' => __( 'Version of the content block format used by the object.' ),2370 'description' => __( 'Version of the content block format used by the post.' ), 2371 2371 'type' => 'integer', 2372 2372 'context' => array( 'edit' ), … … 2385 2385 case 'author': 2386 2386 $schema['properties']['author'] = array( 2387 'description' => __( 'The ID for the author of the object.' ),2387 'description' => __( 'The ID for the author of the post.' ), 2388 2388 'type' => 'integer', 2389 2389 'context' => array( 'view', 'edit', 'embed' ), … … 2393 2393 case 'excerpt': 2394 2394 $schema['properties']['excerpt'] = array( 2395 'description' => __( 'The excerpt for the object.' ),2395 'description' => __( 'The excerpt for the post.' ), 2396 2396 'type' => 'object', 2397 2397 'context' => array( 'view', 'edit', 'embed' ), … … 2402 2402 'properties' => array( 2403 2403 'raw' => array( 2404 'description' => __( 'Excerpt for the object, as it exists in the database.' ),2404 'description' => __( 'Excerpt for the post, as it exists in the database.' ), 2405 2405 'type' => 'string', 2406 2406 'context' => array( 'edit' ), 2407 2407 ), 2408 2408 'rendered' => array( 2409 'description' => __( 'HTML excerpt for the object, transformed for display.' ),2409 'description' => __( 'HTML excerpt for the post, transformed for display.' ), 2410 2410 'type' => 'string', 2411 2411 'context' => array( 'view', 'edit', 'embed' ), … … 2424 2424 case 'thumbnail': 2425 2425 $schema['properties']['featured_media'] = array( 2426 'description' => __( 'The ID of the featured media for the object.' ),2426 'description' => __( 'The ID of the featured media for the post.' ), 2427 2427 'type' => 'integer', 2428 2428 'context' => array( 'view', 'edit', 'embed' ), … … 2432 2432 case 'comments': 2433 2433 $schema['properties']['comment_status'] = array( 2434 'description' => __( 'Whether or not comments are open on the object.' ),2434 'description' => __( 'Whether or not comments are open on the post.' ), 2435 2435 'type' => 'string', 2436 2436 'enum' => array( 'open', 'closed' ), … … 2438 2438 ); 2439 2439 $schema['properties']['ping_status'] = array( 2440 'description' => __( 'Whether or not the object can be pinged.' ),2440 'description' => __( 'Whether or not the post can be pinged.' ), 2441 2441 'type' => 'string', 2442 2442 'enum' => array( 'open', 'closed' ), … … 2447 2447 case 'page-attributes': 2448 2448 $schema['properties']['menu_order'] = array( 2449 'description' => __( 'The order of the object in relation to other object of its type.' ),2449 'description' => __( 'The order of the post in relation to other posts.' ), 2450 2450 'type' => 'integer', 2451 2451 'context' => array( 'view', 'edit' ), … … 2458 2458 2459 2459 $schema['properties']['format'] = array( 2460 'description' => __( 'The format for the object.' ),2460 'description' => __( 'The format for the post.' ), 2461 2461 'type' => 'string', 2462 2462 'enum' => $formats, … … 2474 2474 if ( 'post' === $this->post_type ) { 2475 2475 $schema['properties']['sticky'] = array( 2476 'description' => __( 'Whether or not the object should be treated as sticky.' ),2476 'description' => __( 'Whether or not the post should be treated as sticky.' ), 2477 2477 'type' => 'boolean', 2478 2478 'context' => array( 'view', 'edit' ), … … 2481 2481 2482 2482 $schema['properties']['template'] = array( 2483 'description' => __( 'The theme file to use to display the object.' ),2483 'description' => __( 'The theme file to use to display the post.' ), 2484 2484 'type' => 'string', 2485 2485 'context' => array( 'view', 'edit' ), … … 2511 2511 $schema['properties'][ $base ] = array( 2512 2512 /* translators: %s: Taxonomy name. */ 2513 'description' => sprintf( __( 'The terms assigned to the object in the %s taxonomy.' ), $taxonomy->name ),2513 'description' => sprintf( __( 'The terms assigned to the post in the %s taxonomy.' ), $taxonomy->name ), 2514 2514 'type' => 'array', 2515 2515 'items' => array( … … 2781 2781 2782 2782 $query_params['orderby'] = array( 2783 'description' => __( 'Sort collection by object attribute.' ),2783 'description' => __( 'Sort collection by post attribute.' ), 2784 2784 'type' => 'string', 2785 2785 'default' => 'date', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
r49927 r51000 76 76 'args' => array( 77 77 'parent' => array( 78 'description' => __( 'The ID for the parent of the object.' ),78 'description' => __( 'The ID for the parent of the revision.' ), 79 79 'type' => 'integer', 80 80 ), … … 96 96 'args' => array( 97 97 'parent' => array( 98 'description' => __( 'The ID for the parent of the object.' ),98 'description' => __( 'The ID for the parent of the revision.' ), 99 99 'type' => 'integer', 100 100 ), 101 101 'id' => array( 102 'description' => __( 'Unique identifier for the object.' ),102 'description' => __( 'Unique identifier for the revision.' ), 103 103 'type' => 'integer', 104 104 ), … … 676 676 'properties' => array( 677 677 'author' => array( 678 'description' => __( 'The ID for the author of the object.' ),678 'description' => __( 'The ID for the author of the revision.' ), 679 679 'type' => 'integer', 680 680 'context' => array( 'view', 'edit', 'embed' ), 681 681 ), 682 682 'date' => array( 683 'description' => __( "The date the objectwas published, in the site's timezone." ),683 'description' => __( "The date the revision was published, in the site's timezone." ), 684 684 'type' => 'string', 685 685 'format' => 'date-time', … … 687 687 ), 688 688 'date_gmt' => array( 689 'description' => __( 'The date the objectwas published, as GMT.' ),689 'description' => __( 'The date the revision was published, as GMT.' ), 690 690 'type' => 'string', 691 691 'format' => 'date-time', … … 693 693 ), 694 694 'guid' => array( 695 'description' => __( 'GUID for the object, as it exists in the database.' ),695 'description' => __( 'GUID for the revision, as it exists in the database.' ), 696 696 'type' => 'string', 697 697 'context' => array( 'view', 'edit' ), 698 698 ), 699 699 'id' => array( 700 'description' => __( 'Unique identifier for the object.' ),700 'description' => __( 'Unique identifier for the revision.' ), 701 701 'type' => 'integer', 702 702 'context' => array( 'view', 'edit', 'embed' ), 703 703 ), 704 704 'modified' => array( 705 'description' => __( "The date the objectwas last modified, in the site's timezone." ),705 'description' => __( "The date the revision was last modified, in the site's timezone." ), 706 706 'type' => 'string', 707 707 'format' => 'date-time', … … 709 709 ), 710 710 'modified_gmt' => array( 711 'description' => __( 'The date the objectwas last modified, as GMT.' ),711 'description' => __( 'The date the revision was last modified, as GMT.' ), 712 712 'type' => 'string', 713 713 'format' => 'date-time', … … 715 715 ), 716 716 'parent' => array( 717 'description' => __( 'The ID for the parent of the object.' ),717 'description' => __( 'The ID for the parent of the revision.' ), 718 718 'type' => 'integer', 719 719 'context' => array( 'view', 'edit', 'embed' ), 720 720 ), 721 721 'slug' => array( 722 'description' => __( 'An alphanumeric identifier for the objectunique to its type.' ),722 'description' => __( 'An alphanumeric identifier for the revision unique to its type.' ), 723 723 'type' => 'string', 724 724 'context' => array( 'view', 'edit', 'embed' ), -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php
r49089 r51000 83 83 84 84 /** 85 * Registers the routes for the objects of thecontroller.85 * Registers the routes for the search controller. 86 86 * 87 87 * @since 5.0.0 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php
r49955 r51000 28 28 29 29 /** 30 * Registers the routes for the objects of the controller.30 * Registers the routes for the site's settings. 31 31 * 32 32 * @since 4.7.0 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php
r47122 r51000 28 28 29 29 /** 30 * Registers the routes for t he objects of the controller.30 * Registers the routes for taxonomies. 31 31 * 32 32 * @since 4.7.0 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
r50505 r51000 66 66 67 67 /** 68 * Registers the routes for t he objects of the controller.68 * Registers the routes for terms. 69 69 * 70 70 * @since 4.7.0 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php
r49955 r51000 28 28 29 29 /** 30 * Registers the routes for the objects of the controller.30 * Registers the routes for themes. 31 31 * 32 32 * @since 5.0.0 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r49955 r51000 38 38 39 39 /** 40 * Registers the routes for the objects of the controller.40 * Registers the routes for users. 41 41 * 42 42 * @since 4.7.0 … … 1521 1521 $query_params['orderby'] = array( 1522 1522 'default' => 'name', 1523 'description' => __( 'Sort collection by objectattribute.' ),1523 'description' => __( 'Sort collection by user attribute.' ), 1524 1524 'enum' => array( 1525 1525 'id', -
trunk/src/wp-includes/rest-api/fields/class-wp-rest-comment-meta-fields.php
r46586 r51000 18 18 19 19 /** 20 * Retrieves the object type for comment meta.20 * Retrieves the comment type for comment meta. 21 21 * 22 22 * @since 4.7.0 … … 29 29 30 30 /** 31 * Retrieves the object meta subtype.31 * Retrieves the comment meta subtype. 32 32 * 33 33 * @since 4.9.8 -
trunk/src/wp-includes/rest-api/fields/class-wp-rest-post-meta-fields.php
r46586 r51000 37 37 38 38 /** 39 * Retrieves the object meta type.39 * Retrieves the post meta type. 40 40 * 41 41 * @since 4.7.0 … … 48 48 49 49 /** 50 * Retrieves the object meta subtype.50 * Retrieves the post meta subtype. 51 51 * 52 52 * @since 4.9.8 -
trunk/src/wp-includes/rest-api/fields/class-wp-rest-term-meta-fields.php
r46586 r51000 37 37 38 38 /** 39 * Retrieves the objectmeta type.39 * Retrieves the term meta type. 40 40 * 41 41 * @since 4.7.0 … … 48 48 49 49 /** 50 * Retrieves the objectmeta subtype.50 * Retrieves the term meta subtype. 51 51 * 52 52 * @since 4.9.8 -
trunk/src/wp-includes/rest-api/fields/class-wp-rest-user-meta-fields.php
r46586 r51000 18 18 19 19 /** 20 * Retrieves the objectmeta type.20 * Retrieves the user meta type. 21 21 * 22 22 * @since 4.7.0 … … 29 29 30 30 /** 31 * Retrieves the objectmeta subtype.31 * Retrieves the user meta subtype. 32 32 * 33 33 * @since 4.9.8
Note: See TracChangeset
for help on using the changeset viewer.