[wp-trac] [WordPress Trac] #53798: Page template is missing from page attributes

WordPress Trac noreply at wordpress.org
Tue Jul 27 13:40:42 UTC 2021


#53798: Page template is missing from page attributes
----------------------------+-----------------------------
 Reporter:  ncweb           |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  5.8
 Severity:  major           |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 Hi,

 I've noticed page template is missing from page attributes since 5.8.

 I've made a request for support here : https://wordpress.org/support/topic
 /page-templates-missing-from-page-attributes-after-5-8/

 Searching further the issue, I've created a new blank WordPress install on
 my local environment with a minimum theme, a page template and no plugin.

 On previous WordPress core version, my minimal setup showed the select for
 my page template under page attributes, in the admin editor (Gutenberg).

 When updating to 5.8, the select disapeared.

 It happened to all the site I manage that are currently online. Except
 those who use the Classic Editor plugin.

 The snippet that just follows outputs all the templates.

 {{{
  wp_get_theme()->get_page_templates( $post, $post_type )
 }}}

 Pages that were assigned a template before the update still show the right
 template, so it seems it's about the select dropdown only.

 If I can help you in any way please let me know,
 If it's my mistake and not a bug, I'm sorry. This ticket is for
 contribution only.

 Best regards,

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53798>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list