Skip to:
Content

bbPress.org

Changeset 7603


Ignore:
Timestamp:
09/19/2026 09:13:23 AM (33 hours ago)
Author:
johnjamesjacoby
Message:

Importers: Normalize final compatibility details.

Correct the PHPWind status-map documentation to match its source bitmask, reject malformed scalar values in the example password verifier, and add regression coverage.

In trunk, for 2.7.

See #3684.
See #3686.

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/converters/Example.php

    r7589 r7603  
    708708
    709709                // Bail if missing values
    710                 if ( ! is_array( $pass_array ) || ! isset( $pass_array['hash'], $pass_array['salt'] ) ) {
     710                if ( ! is_string( $password ) || ! is_array( $pass_array ) || ! isset( $pass_array['hash'], $pass_array['salt'] ) || ! is_string( $pass_array['hash'] ) || ! is_string( $pass_array['salt'] ) ) {
    711711                        return false;
    712712                }
  • trunk/src/includes/admin/converters/PHPWind.php

    r7593 r7603  
    289289                );
    290290
    291                 // Topic status (Open or Closed, PHPWind v9.x 0=no, 1=closed & 2=open)
     291                // Topic status (PHPWind v9.x bitmask: 1=locked & 2=closed)
    292292                $this->field_map[] = array(
    293293                        'from_tablename'  => 'bbs_threads',
Note: See TracChangeset for help on using the changeset viewer.