Automattic / Automattic/jetpack

Content Options: Empty p tag when Post excerpt option is used

Open
#9,180 4 comments 0 reactions 0 assignees View on GitHub
[Feature] Theme Tools [Pri] Normal [Status] Stale Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce the issue

In the Customizer, go to the Content Options menu and under the **Blog Display** label select **Post excerpt** option.

Once the option is selected, automatic excepts will be created on the site but it will also create an empty p tag right after the More tag. I've tested it on several themes, as well as in a default WordPress theme (Twenty Seventeen):

![jkggx3](https://user-images.githubusercontent.com/426388/38087932-5684b6d8-335a-11e8-92b3-9c1697e86ef5.jpg)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the WordPress Customizer under Content Options > Blog Display with Post excerpt selected, then inspect the generated markup around the More tag. Done means automatic excerpts still appear without an empty p tag immediately after the More tag, including in the tested themes.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
content, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.