[wp-trac] [WordPress Trac] #62053: Warn logged in users when rendering empty template in the front end

WordPress Trac noreply at wordpress.org
Fri Nov 22 10:55:27 UTC 2024


#62053: Warn logged in users when rendering empty template in the front end
-------------------------+------------------------------
 Reporter:  vcanales     |       Owner:  mikachan
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Editor       |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  template
-------------------------+------------------------------
Changes (by mikachan):

 * owner:  (none) => mikachan
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59449" 59449]:
 {{{
 #!CommitTicketReference repository="" revision="59449"
 Editor: Warn about empty templates on the frontend for logged in users.

 Adds a new function, `wp_render_empty_block_template_warning`, that
 renders a warning for logged-in users when a block template is empty.

 Reviewed by get_dave, richtabor.
 Props vcanales, mikachan, peterwilsoncc, richtabor, get_dave, mrfoxtalbot,
 matveb, arielmaidana, seifradwane, annezazu.
 Fixes #62053.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62053#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list