WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#13356 closed defect (bug) (fixed)

import/mt.php shouldn't scan all users (not multi-site ready)

Reported by: lloydbudd Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Import Keywords: has-patch
Focuses: Cc:

Description

import/mt.php shouldn't scan all users (not multi-site ready)

Attachments (1)

13356-mt-import-only-get-users-of-blog.diff (498 bytes) - added by lloydbudd 4 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 nacin4 years ago

FYI, get_users_of_blog defaults to the current blog.

comment:2 nacin4 years ago

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

(In [14570]) Use get_users_of_blog in MT importer to be MS and shared user table friendly. props lloydbudd, fixes #13356.

comment:3 lloydbudd4 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

nacin, oh, nice, can we remove the global $wpdb; then in users_form()?

comment:4 nacin4 years ago

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

(In [14572]) Remove unused global. props lloydbudd, fixes #13356.

Note: See TracTickets for help on using tickets.