Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#12026 closed enhancement (invalid)

Function to change path field

Reported by: wpmuguru's profile wpmuguru Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Multisite Keywords:
Focuses: Cc:

Description

MU Trac Ticket: http://trac.mu.wordpress.org/ticket/1061

I've been working on a code where I need to modify the value of the path field of a blog. The problem is that, although there are functions that updates this value on the blog table, there isn't any function to change this path inside the wp_blog table of the database. I've made a function that changes this field in both wp_blog and wp_??_blog tables, which you can see in the attached patch.

Change History (3)

#1 @wpmuguru
14 years ago

In MU the blog path can be changed in the site admin -> blogs screen. It can also be done using a couple queries with $wpdb. On the 80/20 scale, this is a 20.

#2 @wpmuguru
14 years ago

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

#3 @nacin
14 years ago

  • Milestone Unassigned deleted
Note: See TracTickets for help on using tickets.