-
Notifications
You must be signed in to change notification settings - Fork 808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the carousel title and description prefix blocklist #12157
Conversation
Caution: This PR has changes that must be merged to WordPress.com |
Thank you for the great PR description! When this PR is ready for review, please apply the Scheduled Jetpack release: May 7, 2019. |
In my personal experience, a lot of these are followed by an underscore, e.g. |
cc @stephdau who worked on this originally. |
Is there a reason that we wouldn't want to allow abstract filenames? If I'm showcasing my photos, and it's a specific filename, I might want to include the filename in the title so that viewers know exactly which photo I'm referencing (instead of "Photo of sunset of river 3"). I agree it's not always best practice to have a filename as the title, but we shouldn't be restricting what a user can title their images as (and if we do, we should at least notify them). Is there a reason we create a title on import in the first place instead of leaving it blank? Another option might be to add a |
Have been giving this some more thought. My reasons for removal are now:
The reasons for keeping it or refining it:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine giving this a go. I think it makes the behaviour of the Carousel feature more predictable.
We currently check for certain blocklist words in the carousel module and remove the title or description if those words are discovered. It creates quite a bit of confusion when we modify content in this way as there is no indication to the user that this magic is happening.
There is some context around the history of these changes at p158lY-24f. In summary:
I don't think the checks are robust enough. Based on the current set of exclusions for example, I cannot have a title/description called 'Scanning the mountains' or 'SAM & MATT' - both very plausible titles.
Fixes #12067
Changes proposed in this Pull Request:
Testing instructions:
define( 'SCRIPT_DEBUG', true );
to your wp-config.phpProposed changelog entry for your changes: