@@ 1467-1472 (lines=6) @@ | ||
1464 | // then adding any callbacks that wanted to attach after a given step |
|
1465 | foreach ( $coreInstallSteps as $step ) { |
|
1466 | $this->installSteps[] = $step; |
|
1467 | if ( isset( $this->extraInstallSteps[$step['name']] ) ) { |
|
1468 | $this->installSteps = array_merge( |
|
1469 | $this->installSteps, |
|
1470 | $this->extraInstallSteps[$step['name']] |
|
1471 | ); |
|
1472 | } |
|
1473 | } |
|
1474 | ||
1475 | // Prepend any steps that want to be at the beginning |
|
@@ 1476-1481 (lines=6) @@ | ||
1473 | } |
|
1474 | ||
1475 | // Prepend any steps that want to be at the beginning |
|
1476 | if ( isset( $this->extraInstallSteps['BEGINNING'] ) ) { |
|
1477 | $this->installSteps = array_merge( |
|
1478 | $this->extraInstallSteps['BEGINNING'], |
|
1479 | $this->installSteps |
|
1480 | ); |
|
1481 | } |
|
1482 | ||
1483 | // Extensions should always go first, chance to tie into hooks and such |
|
1484 | if ( count( $this->getVar( '_Extensions' ) ) ) { |