Changeset 55743 for trunk/src/wp-includes/post.php
- Timestamp:
- 05/10/2023 05:34:13 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r55732 r55743 333 333 ); 334 334 335 $template_edit_link = 'site-editor.php?' . build_query( 336 array( 337 'postType' => '%s', 338 'postId' => '%s', 339 'canvas' => 'edit', 340 ) 341 ); 342 335 343 register_post_type( 336 344 'wp_template', … … 359 367 'public' => false, 360 368 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 369 '_edit_link' => $template_edit_link, /* internal use only. don't use this when registering your own post type. */ 361 370 'has_archive' => false, 362 371 'show_ui' => false, … … 419 428 'public' => false, 420 429 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 430 '_edit_link' => $template_edit_link, /* internal use only. don't use this when registering your own post type. */ 421 431 'has_archive' => false, 422 432 'show_ui' => false, … … 459 469 'public' => false, 460 470 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 471 '_edit_link' => '/site-editor.php?canvas=edit', /* internal use only. don't use this when registering your own post type. */ 461 472 'show_ui' => false, 462 473 'show_in_rest' => false,
Note: See TracChangeset
for help on using the changeset viewer.