Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Apply "the_title" filter #394

Merged
merged 3 commits into from Aug 5, 2016

Conversation

yssk22
Copy link
Contributor

@yssk22 yssk22 commented Aug 5, 2016

This PR:

  • apply 'the_title' filter to get the filtered title string on Instant Article (same as the content where we apply 'the_content' filter.

Fixes #372

everton-rosario and others added 3 commits August 5, 2016 13:54
This is required to output the exactly same title into Instant Article.

The issue like #372 can be fixed by this commit since other plugings
do something on the post title using this filter.
@everton-rosario
Copy link
Collaborator

@yssk22 Awesome work!

Merging...

@everton-rosario everton-rosario merged commit 42a4b03 into Automattic:master Aug 5, 2016
@tennyy
Copy link

tennyy commented Aug 6, 2016

Thanks for your help!

After I patched the file with "class-instant-articles-post.php", the title kept in one language, but the category will become in both language.

poke

I using quick edit to update all post to Facebook, but when I using normal edit post and save again, everything seems fine.

Can you help me to solve the title problem?

Many Thanks!

@yssk22 yssk22 deleted the apply-the-title-filter branch August 8, 2016 02:13
@yssk22
Copy link
Contributor Author

yssk22 commented Aug 8, 2016

@tennyy you need to update all posts you already have in Instant Article since my fix doesn't change anything on existing articles.

As for the category, I think it should not happen in the recent version of the plugin (since the code use the filtered string of categories).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants