[wp-meta] [Making WordPress.org] #6243: Too much white space is coming due to the blank tag at the bottom of the page

Making WordPress.org noreply at wordpress.org
Tue Apr 5 22:54:48 UTC 2022


#6243: Too much white space is coming due to the blank tag at the bottom of the
page
---------------------------------------+--------------------------
 Reporter:  aezazshekh                 |       Owner:  coffee2code
     Type:  defect (bug)               |      Status:  closed
 Priority:  normal                     |   Milestone:
Component:  Photo Directory            |  Resolution:  fixed
 Keywords:  has-patch has-screenshots  |
---------------------------------------+--------------------------
Changes (by coffee2code):

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


Comment:

 In [changeset:"11756" 11756]:
 {{{
 #!CommitTicketReference repository="" revision="11756"
 Photo Directory: Hide `.entry-footer` for pages when user is not logged in
 since it'll always be empty and adds excessive padding.

 CSS's `:empty()` would have been more concise, more accurately reflective
 of intent, and would accommodate future inclusion of content, but it isn't
 supported by anything at the moment (at least when tag contains any and
 only whitespace).

 As an alternative, the parent theme `template-parts/content-page.php`
 could have been copied locally and the footer omitted when empty.

 Props aezazshekh, coffee2code.
 Fixes #6243.
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6243#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list