Skip to content

Translate Widget: display default title by default.#5906

Merged
dereksmart merged 2 commits intomasterfrom
fix/msising-translate-title
Dec 20, 2016
Merged

Translate Widget: display default title by default.#5906
dereksmart merged 2 commits intomasterfrom
fix/msising-translate-title

Conversation

@jeherve
Copy link
Copy Markdown
Member

@jeherve jeherve commented Dec 15, 2016

Until now, no title was displayed if you hadn't set a custom title.

Proposed changelog entry for your changes:

Translate Widget: display default title if no custom title was set.

Until now, no title was displayed if you hadn't set a custom title.
@jeherve jeherve added [Feature] Extra Sidebar Widgets [Status] Needs Changelog [Status] Needs Review This PR is ready for review. Bug When a feature is broken and / or not performing as intended labels Dec 15, 2016
@jeherve jeherve added this to the 4.5 milestone Dec 15, 2016
@jeherve jeherve self-assigned this Dec 15, 2016
@dereksmart dereksmart added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Review This PR is ready for review. labels Dec 15, 2016
@eliorivero
Copy link
Copy Markdown
Contributor

eliorivero commented Dec 16, 2016

This is not good. What if I don't want to set a title? Also, I now noticed that this change you previously introduced
2381fef#diff-5820ce995ecad3a08ccadc0b9b18e534R69
causes a Notice: Undefined index: title in /.../wp-content/plugins/jetpack/modules/widgets/google-translate.php on line 69 in the Customizer.


Update: I tested further and can clear the title. The first time didn't work for me. Maybe because I already had the widget? Don't know. Can't reproduce again.
The notice in Customizer only appears the first time the widget is added. Once the title is modified or cleared it's gone. It has to be solved though.

@eliorivero eliorivero added [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. [Status] Needs Review This PR is ready for review. and removed [Status] Ready to Merge Go ahead, you can push that green button! labels Dec 16, 2016
@jeherve
Copy link
Copy Markdown
Member Author

jeherve commented Dec 19, 2016

@eliorivero I couldn't reproduce that problem you were having when trying to clear the title. That seems to work for me too.

However, I could definitely reproduce that PHP notice. I believe db798b6 should take care of this.

@jeherve jeherve removed the [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. label Dec 19, 2016
@eliorivero
Copy link
Copy Markdown
Contributor

Works fine! 🐑

@eliorivero eliorivero added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Review This PR is ready for review. labels Dec 20, 2016
@dereksmart dereksmart merged commit 613b07b into master Dec 20, 2016
@dereksmart
Copy link
Copy Markdown
Contributor

dereksmart commented Dec 20, 2016

4.5 in fbd4bdf 40fc60b

@dereksmart dereksmart deleted the fix/msising-translate-title branch December 20, 2016 16:38
jeherve added a commit that referenced this pull request Dec 21, 2016
dereksmart pushed a commit that referenced this pull request Jan 17, 2017
Changelog: add #5867

Changelog: add #5874

Changelog: add #5905

Changelog: add #5906

Changelog: add #5931

Changelog: add #5933

Changelog: add #5934
dereksmart pushed a commit that referenced this pull request Jan 17, 2017
Changelog: add #5867

Changelog: add #5874

Changelog: add #5905

Changelog: add #5906

Changelog: add #5931

Changelog: add #5933

Changelog: add #5934

Bring over 4.4.2 changelog from branch-4.4

@see 18012a3

Changelog: add #5976, #5978, #5983

Changelog: add #5917

Changelog: add #5832

Changelog: add 4.4.2 release post link.

CHangelog: add #5457

Changelog: add #5487

Changelog: add #5708

Changelog: add #5879

Changelog: add #5932

Changelog: add #5963

Changelog: add #5968

Changelog: add #5996

Changelog: add #5998

Changelog: add #5999

Changelog: add #6012

Changelog: add #6013

Changelog: add #6014

Changelog: add #6015

Changelog: add #6023

Changelog: add #6024

Changelog: add #6030

Changelog: add #5465

CHangelog: add #6063

Changelog: add #6025

Changelog: add #5974

Changelog: add #6059

Changelog: add #6046

Changelog: add #5418

Changelog: move things around and add missing information.

Changelog: add #5565

Changelog: add #6087

Changelog: add #6095

Readme: add @tyxla to the list of contributors.

Improved changelog for your readability and enjoyment

updated the release date

finalizing the changelog with a few more edits
@kraftbj kraftbj removed the [Status] Ready to Merge Go ahead, you can push that green button! label Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug When a feature is broken and / or not performing as intended [Feature] Extra Sidebar Widgets Touches WP.com Files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants