@@ 519-521 (lines=3) @@ | ||
516 | $section |
|
517 | ); |
|
518 | ||
519 | if ( 'stable' !== $section ) { |
|
520 | update_option( self::$option_dev_installed, array( $branch, $section, self::get_manifest_data( $branch, $section ) ) ); |
|
521 | } |
|
522 | } |
|
523 | ||
524 | /** |
|
@@ 531-533 (lines=3) @@ | ||
528 | * @param string $section - Section. |
|
529 | */ |
|
530 | public static function update_option( $branch, $section ) { |
|
531 | if ( 'stable' !== $section ) { |
|
532 | update_option( self::$option_dev_installed, array( $branch, $section, self::get_manifest_data( $branch, $section ) ) ); |
|
533 | } |
|
534 | update_option( self::$option, array( $branch, $section ) ); |
|
535 | } |
|
536 |