Changeset 58184
- Timestamp:
- 05/23/2024 01:39:09 PM (11 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r58175 r58184 329 329 'supports' => array( 330 330 'title', 331 'excerpt', 331 332 'editor', 332 333 'revisions', -
trunk/tests/qunit/fixtures/wp-api-generated.js
r58065 r58184 3880 3880 "required": false 3881 3881 }, 3882 "excerpt": { 3883 "description": "The excerpt for the post.", 3884 "type": "object", 3885 "properties": { 3886 "raw": { 3887 "description": "Excerpt for the post, as it exists in the database.", 3888 "type": "string", 3889 "context": [ 3890 "edit" 3891 ] 3892 }, 3893 "rendered": { 3894 "description": "HTML excerpt for the post, transformed for display.", 3895 "type": "string", 3896 "context": [ 3897 "view", 3898 "edit", 3899 "embed" 3900 ], 3901 "readonly": true 3902 }, 3903 "protected": { 3904 "description": "Whether the excerpt is protected with a password.", 3905 "type": "boolean", 3906 "context": [ 3907 "view", 3908 "edit", 3909 "embed" 3910 ], 3911 "readonly": true 3912 } 3913 }, 3914 "required": false 3915 }, 3882 3916 "meta": { 3883 3917 "description": "Meta fields.", … … 3940 3974 "required": false 3941 3975 }, 3976 "excerpt_length": { 3977 "description": "Override the default excerpt length.", 3978 "type": "integer", 3979 "required": false 3980 }, 3942 3981 "password": { 3943 3982 "description": "The password for the post if it is password protected.", … … 4050 4089 "required": false 4051 4090 }, 4091 "excerpt": { 4092 "description": "The excerpt for the post.", 4093 "type": "object", 4094 "properties": { 4095 "raw": { 4096 "description": "Excerpt for the post, as it exists in the database.", 4097 "type": "string", 4098 "context": [ 4099 "edit" 4100 ] 4101 }, 4102 "rendered": { 4103 "description": "HTML excerpt for the post, transformed for display.", 4104 "type": "string", 4105 "context": [ 4106 "view", 4107 "edit", 4108 "embed" 4109 ], 4110 "readonly": true 4111 }, 4112 "protected": { 4113 "description": "Whether the excerpt is protected with a password.", 4114 "type": "boolean", 4115 "context": [ 4116 "view", 4117 "edit", 4118 "embed" 4119 ], 4120 "readonly": true 4121 } 4122 }, 4123 "required": false 4124 }, 4052 4125 "meta": { 4053 4126 "description": "Meta fields.", … … 4369 4442 "protected": { 4370 4443 "description": "Whether the content is protected with a password.", 4444 "type": "boolean", 4445 "context": [ 4446 "view", 4447 "edit", 4448 "embed" 4449 ], 4450 "readonly": true 4451 } 4452 }, 4453 "required": false 4454 }, 4455 "excerpt": { 4456 "description": "The excerpt for the post.", 4457 "type": "object", 4458 "properties": { 4459 "raw": { 4460 "description": "Excerpt for the post, as it exists in the database.", 4461 "type": "string", 4462 "context": [ 4463 "edit" 4464 ] 4465 }, 4466 "rendered": { 4467 "description": "HTML excerpt for the post, transformed for display.", 4468 "type": "string", 4469 "context": [ 4470 "view", 4471 "edit", 4472 "embed" 4473 ], 4474 "readonly": true 4475 }, 4476 "protected": { 4477 "description": "Whether the excerpt is protected with a password.", 4371 4478 "type": "boolean", 4372 4479 "context": [
Note: See TracChangeset
for help on using the changeset viewer.