WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4376 closed defect (bug) (fixed)

Protected posts aren't after (WXM) Import

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

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 12 years ago.

Download all attachments as: .zip

Change History (10)

#1 @rob1n
12 years ago

  • Milestone changed from 2.4 to 2.3

#2 @dreamybox
12 years ago

  • 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"?

#3 @rob1n
12 years ago

  • Milestone changed from 2.2.2 to 2.3 (trunk)

@Nazgul
12 years ago

#4 @Nazgul
12 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.

#5 @Nazgul
12 years ago

  • Milestone changed from 2.3 to 2.4

#6 @Emanon
12 years ago

Any hope that this can make it into 2.3.1?

#7 @lloydbudd
12 years ago

  • Owner changed from anonymous to tellyworth

#8 @ryan
12 years ago

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

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

#9 @ryan
12 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.