Changeset 44446
- Timestamp:
- 01/08/2019 02:50:05 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r43571 r44446 2059 2059 ) 2060 2060 ); 2061 2062 register_setting(2063 'permalink',2064 'permalink_structure',2065 array(2066 'show_in_rest' => true,2067 'type' => 'string',2068 'description' => __( 'Custom URL structure for permalinks and archives.' ),2069 )2070 );2071 2061 } 2072 2062 -
trunk/tests/phpunit/tests/rest-api/rest-settings-controller.php
r43571 r44446 89 89 'default_ping_status', 90 90 'default_comment_status', 91 'permalink_structure',92 91 ); 93 92 -
trunk/tests/qunit/fixtures/wp-api-generated.js
r44269 r44446 4634 4634 ], 4635 4635 "description": "Allow people to post comments on new articles.", 4636 "type": "string"4637 },4638 "permalink_structure": {4639 "required": false,4640 "description": "Custom URL structure for permalinks and archives.",4641 4636 "type": "string" 4642 4637 } … … 6075 6070 "posts_per_page": 10, 6076 6071 "default_ping_status": "open", 6077 "default_comment_status": "open", 6078 "permalink_structure": null 6072 "default_comment_status": "open" 6079 6073 };
Note: See TracChangeset
for help on using the changeset viewer.