Ticket #4376 (closed defect: fixed)

Opened 1 year ago

Last modified 5 months ago

Protected posts aren't after (WXM) Import

Reported by: Emanon Assigned to: 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

4376.diff (2.9 kB) - added by Nazgul on 09/17/07 22:38:45.

Change History

05/31/07 12:22:26 changed by rob1n

  • milestone changed from 2.4 to 2.3.

06/06/07 17:13:43 changed by dreamybox

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

06/22/07 22:56:02 changed by rob1n

  • milestone changed from 2.2.2 to 2.3 (trunk).

09/17/07 22:38:45 changed by Nazgul

  • attachment 4376.diff added.

09/17/07 22:40:55 changed by Nazgul

  • keywords set to has-patch.
  • 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.

09/19/07 22:53:31 changed by Nazgul

  • milestone changed from 2.3 to 2.4.

10/25/07 07:41:50 changed by Emanon

Any hope that this can make it into 2.3.1?

02/07/08 19:00:11 changed by lloydbudd

  • owner changed from anonymous to tellyworth.

02/07/08 19:23:00 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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

02/07/08 19:24:36 changed by ryan

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.