Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#10462 closed defect (bug) (fixed)

WordPress export and import should support sticky post status

Reported by: josephscott's profile josephscott Owned by: westi's profile westi
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.8.1
Component: Import Keywords: has-patch
Focuses: Cc:


The WordPress export doesn't include the sticky post status of posts. My patches add a <wp:is_sticky></wp:is_sticky> item to the export format, with two legal values: zero and one. Zero means the post is not sticky and one means the post is sticky.

I've included a patch to the WordPress import that looks for <wp:is_sticky> and sets a post as sticky if the value is one.

Attachments (2)

wp-admin--includes--export.php.diff (1.0 KB) - added by josephscott 15 years ago.
wp-admin--import--wordpress.php.diff (875 bytes) - added by josephscott 15 years ago.

Download all attachments as: .zip

Change History (4)

#1 @westi
15 years ago

  • Owner set to westi
  • Status changed from new to reviewing

#2 @westi
15 years ago

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

(In [11774]) Add support for sticky posts to the WXR exporter and importer. Fixes #10462 props josephscott.

Note: See TracTickets for help on using tickets.