WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 7 weeks ago

Last modified 7 weeks ago

#19367 closed enhancement (fixed)

Remove unused _relocate_children()

Reported by: scribu Owned by: nacin
Milestone: 3.9 Priority: normal
Severity: minor Version:
Component: Posts, Post Types Keywords: has-patch commit
Focuses: Cc:

Description

It's from the days of negative post ids. Some history: #9471

Attachments (2)

19367.diff (990 bytes) - added by scribu 2 years ago.
19367.2.diff (1.6 KB) - added by SergeyBiryukov 7 weeks ago.

Download all attachments as: .zip

Change History (7)

scribu2 years ago

comment:1 nacin2 years ago

./plugins/wordpress-wiki-plugin/wiki.php:412:	    _relocate_children( $draft_temp_id, $post_ID );
./plugins/wpide/WPide.php:131:"_relatedtarget() _relocate_children() _response_to_rss() _rotate_image_resource() _save_post_hook() _search_plugins_filter_callback() " +
./plugins/zelist-directory/includes/zelist-admin-post.duplicate.php:121:		_relocate_children( $draft_temp_id, $post_ID );

comment:2 nacin3 months ago

  • Component changed from General to Post Types
  • Milestone changed from Awaiting Review to 3.9

Let's empty it and toss it into deprecated.php.

SergeyBiryukov7 weeks ago

comment:3 SergeyBiryukov7 weeks ago

  • Keywords commit added

comment:4 nacin7 weeks ago

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

In 27261:

Remove _relocate_children(), which has had no purpose for some time.

props SergeyBiryukov, scribu.
fixes #19367.

comment:5 ircbot7 weeks ago

This ticket was mentioned in IRC in #wordpress-dev by svn-b42. View the logs.

Note: See TracTickets for help on using tickets.