Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#4376 closed defect (bug) (fixed)

Protected posts aren't after (WXM) Import

Reported by: Emanon Owned by: tellyworth
Priority: normal Milestone: 2.5
Component: Administration Version: 2.2
Severity: normal Keywords: has-patch
Cc:

Description

It seems protected posts loose their protection on Export/Import.

I just did a test install of 2.2. I exported my old 2.1 database with wordpress export-to-XML-feature and imported them into the new 2.2.

Protected posts kept the "Protected:"-part in the title, but did no longer require a password to be read.

Attachments (1)

4376.diff (2.9 KB) - added by Nazgul 6 years ago.

Download all attachments as: .zip

Change History (10)

  • Milestone changed from 2.4 to 2.3
  • Milestone changed from 2.3 (trunk) to 2.2.2

I'm having the same problem.
I am using version 2.2, and I've made a password protected post for testing.Many of my friends told me that they can read the content through RSS reader, Bloglines, Google reader, Netvibes.
Isn't the post suppose to be "protected"?

  • Milestone changed from 2.2.2 to 2.3 (trunk)

Nazgul6 years ago

  • Keywords has-patch added
  • Version set to 2.2

Note that this will only work with 2.3 exports, because exports from previous versions won't have the post password in it.

  • Milestone changed from 2.3 to 2.4

Any hope that this can make it into 2.3.1?

  • Owner changed from anonymous to tellyworth

comment:8   ryan5 years ago

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

(In [6753]) Add post_password to export. Props Nazgul. fixes #4376

comment:9   ryan5 years ago

I changed how the post title is handled. Instead of using API, I just ran it through the the_title_rss filter to avoid the code that prepends the private and protected text.

Note: See TracTickets for help on using tickets.