Skip to content

Conversation

@youknowriad
Copy link
Contributor

Addresses #28265 (comment)

I'm not sure these are the best names but I tried renaming these functions so they don't look as generic WP APIs and more internal functions used by the block's server side code.

@youknowriad youknowriad added [Type] Code Quality Issues or PRs that relate to code quality Backport to WP 6.9 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta [Block] Page List Affects the Page List Block labels Jun 16, 2021
@youknowriad youknowriad self-assigned this Jun 16, 2021
@youknowriad youknowriad requested a review from ajitbohra as a code owner June 16, 2021 13:12
Copy link
Contributor

@ntsekouras ntsekouras left a comment

Choose a reason for hiding this comment

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

I don't have any alternative proposal for the names, but these are pretty self explanatory about their scope.

Thanks Riad!

Copy link
Contributor

@mcsf mcsf left a comment

Choose a reason for hiding this comment

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

This is exactly what I had in my workdir. :)

@mcsf mcsf merged commit ab76d9d into trunk Jun 16, 2021
@mcsf mcsf deleted the update/page-list-block-function-names branch June 16, 2021 14:36
@github-actions github-actions bot added this to the Gutenberg 10.9 milestone Jun 16, 2021
@youknowriad youknowriad removed the Backport to WP 6.9 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta label Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Page List Affects the Page List Block [Type] Code Quality Issues or PRs that relate to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants