Yoast / duplicate-post

Yoast Duplicate Post plugin for WordPress
https://yoast.com
GNU General Public License v2.0
46 stars 35 forks source link

DUPP-52 improve gettext usage #255

Closed enricobattocchi closed 2 years ago

enricobattocchi commented 2 years ago

Context

Summary

This PR can be summarized in the following changelog entry:

Relevant technical choices:

*

Test instructions

Test instructions for the acceptance test before the PR gets merged

This PR can be acceptance tested by following these steps:

We should check that the labels are still rewritten, and that the number to the affecting methods is much lower.

Regression test

Check that we hook only in the edit screen

Check the performance improvement

this is not easy to check because it's visible in environments with plenty of content, but a possible way could be:

Another idea:

Test instructions for QA when the code is in the RC

QA can test this PR by following these steps:

Impact check

This PR affects the following parts of the plugin, which may require extra testing:

*

UI changes

Documentation

Quality assurance

Fixes #185 DUPP-52

pls78 commented 2 years ago

CR&ACC: ✅