Ticket #255 (assigned defect)

Opened 3 years ago

Last modified 14 months ago

More Tag custom text disappearing

Reported by: mikebuffington Owned by:
Priority: minor Milestone: Future Release
Component: Publishing Version: 2.9
Keywords: Cc:

Description

When I make a post on wordpress (2.8.4 running on my server) via the web and use the custom more tag like this:

<!--more Custom Text-->

It fails to show up in the iPhone version. It only shows:

<!--more-->

when I look at posts on the iPhone. If I update the post via the iPhone, the custom text disappears from the website. Just looking at the post on the iPhone does not affect the blog post.

Change History

comment:1 Changed 3 years ago by iammattthomas

  • Status changed from new to closed
  • Resolution set to fixed

I've confirmed this is fixed as of r609.

comment:2 Changed 3 years ago by iammattthomas

  • Status changed from closed to reopened
  • Resolution fixed deleted
  • Milestone set to 1.4

Jumped the gun here. While adding a new custom more tag works from the app, it disappears when you re-open the post (or open any post that includes a custom more tag).

comment:3 Changed 3 years ago by iammattthomas

  • Version set to 1.4 beta

comment:4 Changed 3 years ago by iammattthomas

  • Version changed from 1.4 beta to 1.3

comment:5 Changed 3 years ago by iammattthomas

  • Owner set to Sunil
  • Status changed from reopened to assigned

This is a pre-existing issue in version 1.3.

I can type a custom tag, like:

<!--more Continue Reading-->

and when I save, the post on the web correctly uses "Continue Reading" as a link to the rest of the article. However, when I re-open the post for editing within the iPhone app, it shows me only this:

<!--more-->

If I make other changes and save the article, the "Continue Reading" is indeed stripped out and I'm left with a more tag with no custom title.

I'll assign this to Sunil since it's an issue unrelated to the changes in 1.4.

comment:6 Changed 3 years ago by janakirampalepu

While saving the post, in the request along with all the values we send the description along with <more> tag with Custom text (if any) to server.

But in the response from server, the description doesn't contain any tag named <more> . By analyzing its observed that the description content is divided into two keys "description" and "mt_text_more" (if there was a more tag in the request),

In the Response The "description" key contains all the values that appeared before <more> and the "mt_text_more" contains the rest values of the description after the <more> tag .

The <!--more Continue Reading--> is missing in the Response from server itself.

comment:7 Changed 3 years ago by josephscott

I think that's correct, WP doesn't provide the custom more text back to clients when requesting post information. I've created a WP ticket about this -  http://core.trac.wordpress.org/ticket/10933

comment:8 Changed 3 years ago by iammattthomas

  • Milestone changed from 1.4 to 1.5

Thanks Joseph. We'll take another look at this in the next milestone.

comment:9 Changed 3 years ago by iammattthomas

  • Milestone changed from Next Release to Future Release

The related ticket in core has been punted to a future release, so we'll have to do so too for the time being.

comment:10 Changed 2 years ago by iammattthomas

  • Owner Sunil deleted

comment:11 Changed 21 months ago by frsh

  • Version changed from 1.3 to 2.7
  • Milestone changed from Future Release to Next Release

comment:12 Changed 20 months ago by frsh

  • Milestone changed from Next Release to 2.7

comment:13 Changed 20 months ago by frsh

  • Version changed from 2.7 to 2.9
  • Milestone changed from 2.7 to 2.9

comment:14 Changed 14 months ago by koke

  • Milestone changed from 2.9 to Future Release
Note: See TracTickets for help on using tickets.