Skip to content

Deprecate Pullquote Block#72028

Closed
Utsav-Ladani wants to merge 11 commits intoWordPress:trunkfrom
Utsav-Ladani:deprecate/pullquote-block
Closed

Deprecate Pullquote Block#72028
Utsav-Ladani wants to merge 11 commits intoWordPress:trunkfrom
Utsav-Ladani:deprecate/pullquote-block

Conversation

@Utsav-Ladani
Copy link
Copy Markdown
Contributor

@Utsav-Ladani Utsav-Ladani commented Oct 2, 2025

What?

Closes #11610

Deprecating the Pullquote block and recommending the use of the Quote block instead.

Why?

Purpose of Pullquote and Quote is almost identical, but Quote is using <blockquote> tag which is semantically more correct compared to Pullquote which uses <figure>

See #11610 for more details.

How?

  • Updated the description of the Pullquote block to indicate that it’s deprecated and suggest using the Quote block instead.
  • Disabled this block from inserter.
  • Disabled the block transformation to the Pullquote block.
  • Updated the end-to-end tests and documentation.

Testing

  • Previously added Pullquote blocks should work without any issues.
  • The Pullquote block should not be available in the inserter or should not be added inline using the /pullquote command.
  • None of the blocks should have an option to transform it into a Pullquote block.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 2, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @timwright12, @mapk, @sarahmonster.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: timwright12, mapk, sarahmonster.

Co-authored-by: Utsav-Ladani <utsavladani@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
Co-authored-by: colorful-tones <colorful-tones@git.wordpress.org>
Co-authored-by: karmatosed <karmatosed@git.wordpress.org>
Co-authored-by: Presskopp <presskopp@git.wordpress.org>
Co-authored-by: mcsf <mcsf@git.wordpress.org>
Co-authored-by: afercia <afercia@git.wordpress.org>
Co-authored-by: carolinan <poena@git.wordpress.org>
Co-authored-by: mtias <matveb@git.wordpress.org>
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
Co-authored-by: gziolo <gziolo@git.wordpress.org>
Co-authored-by: hanneslsm <hanneslsm@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@Utsav-Ladani Utsav-Ladani requested a review from ellatrix as a code owner October 2, 2025 16:55
@t-hamano t-hamano added [Type] Code Quality Issues or PRs that relate to code quality [Package] Block library /packages/block-library [Block] Pullquote Affects the Pullquote Block labels Oct 4, 2025
Copy link
Copy Markdown
Member

@ramonjd ramonjd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested and it's working well.

  • pullquote is not available in the inserter or slash command
  • existing pullquote blocks work as before
  • global styles for pullquote are all good
  • pullquote > quote transforms work as expected

Thanks for picking this task up!

Before After
Image Image
Before After
Image Image

I found another ref to core/pullquote in the rich text transforms in

packages/block-library/src/utils/transformation-categories.native.js

Should that be removed as well?

@Utsav-Ladani
Copy link
Copy Markdown
Contributor Author

@ramonjd Good catch. I have removed it in the last commit.

@ramonjd ramonjd requested a review from sarahmonster October 9, 2025 23:11
Copy link
Copy Markdown
Contributor

@t-hamano t-hamano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

It looks good overall, but if we want to completely deprecate it, we may also be able to address the following points:

Replace blocks in the demo content:

gutenberg/post-content.php

Lines 176 to 178 in e5e95ff

<!-- wp:pullquote -->
<figure class="wp-block-pullquote"><blockquote><p><?php _e( 'Code is Poetry', 'gutenberg' ); ?></p><cite><?php _e( 'The WordPress community', 'gutenberg' ); ?></cite></blockquote></figure>
<!-- /wp:pullquote -->

Remove Pullquote from the document or replace it with Quote

> - Add a pullquote block.

- **Pullquote block**: `pullquote`

Remove Pullquote from the native app transformation menu:

Replace core/pullquote with core/quote in the List View e2e test:

{ name: 'core/pullquote' },

Replace with Quote block in StyleBook overview screen

const otherBlockExamples = [
'core/image',
'core/separator',
'core/buttons',
'core/pullquote',
'core/search',
];

@Utsav-Ladani Utsav-Ladani requested a review from t-hamano October 10, 2025 10:46
@Utsav-Ladani
Copy link
Copy Markdown
Contributor Author

Thanks @t-hamano and @ramonjd for the review. I made changes as per your suggestions. Let me know if I missed anything else.

@Utsav-Ladani Utsav-Ladani requested a review from t-hamano October 10, 2025 12:55
@github-project-automation github-project-automation bot moved this to 🔎 Needs Review in WordPress 6.9 Editor Tasks Oct 10, 2025
@t-hamano t-hamano moved this from 🔎 Needs Review to 🦵 Punted to 7.0 in WordPress 6.9 Editor Tasks Oct 10, 2025
@t-hamano
Copy link
Copy Markdown
Contributor

Note: We are almost ready to ship this PR, but given the impact on default themes and theme developers, let's punt this to the 7.0 cycle. See WordPress/wordpress-develop#10202 (comment)

Copy link
Copy Markdown
Contributor

@t-hamano t-hamano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Important

This PR is planned to ship in WordPress 7.0. Therefore, this PR can not be included in Gutenberg 21.9, because if it were included in Gutenberg 21.9, it would ship in WordPress 7.0. We will merge this PR after Gutenberg 21.9 is released.

@ramonjd
Copy link
Copy Markdown
Member

ramonjd commented Oct 13, 2025

Retested. Bye bye, pull quote!

Thanks for all the work on this @Utsav-Ladani

@t-hamano
Copy link
Copy Markdown
Contributor

I've merged the latest trunk into this branch, but somehow the conflict message doesn't disappear, and CIs don't start.

I plan to submit a new PR based on this branch.

@t-hamano
Copy link
Copy Markdown
Contributor

I submitted a new PR based on this branch: #73228

@t-hamano t-hamano closed this Nov 13, 2025
@github-project-automation github-project-automation bot moved this from 🦵 Punted to 7.0 to ✅ Done in WordPress 6.9 Editor Tasks Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Pullquote Affects the Pullquote Block [Package] Block library /packages/block-library [Type] Code Quality Issues or PRs that relate to code quality

Projects

Development

Successfully merging this pull request may close these issues.

Pullquote: Deprecate the block in favor of Quote block

3 participants