[wp-meta] [Making WordPress.org] #5148: Theme Handbook: formatting issues on Child Themes page

Making WordPress.org noreply at wordpress.org
Wed Apr 15 22:08:30 UTC 2020


#5148: Theme Handbook: formatting issues on Child Themes page
-------------------------+---------------------
 Reporter:  argumentum0  |       Owner:  (none)
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:
Component:  Handbooks    |  Resolution:
 Keywords:               |
-------------------------+---------------------

Comment (by coffee2code):

 Replying to [comment:6 Otto42]:
 > Okay, here's what I got so far:
 >

 Nice track down.

 > In /themes/pub/wporg-developer/inc/head.php, on line 62:
 >
 > `$desc = apply_filters( 'the_content', $post->post_content, $post->ID
 );`
 >
 > If you comment out this line or change the post content to not be
 blocks, problem goes away. Obviously this is not desirable for the
 description.
 >

 This is basically just getting the filtered post content for use in the
 meta description tags in the page head. Definitely odd that it should have
 an impact on post content elsewhere. I guess if it comes down to it we
 could just derive the description from the raw post content.

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


More information about the wp-meta mailing list