- Timestamp:
- 05/25/2021 01:11:55 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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' ),
Note: See TracChangeset
for help on using the changeset viewer.