$setting_id =
sprintf( 'nav_menu_locations[%s]',
$nav_menu_location );
if ( empty( $changeset_data[ $setting_id ] ) || !
empty( $changeset_data[ $setting_id ]['starter_content'
] ) ) { $this->
set_post_value( $setting_id,
$nav_menu_term_id );
$this->pending_starter_content_settings_ids
[] =
$setting_id;
} } // Options.
foreach ( $options as $name =>
$value ) { // Serialize the value to check for post symbols.
$value =
maybe_serialize( $value );
if ( is_serialized( $value ) ) { if ( preg_match( '/s:\d+:"{{(?P<symbol>.+)}}"/',
$value,
$matches ) ) { if ( isset( $posts[ $matches['symbol'
] ] ) ) { $symbol_match =
$posts[ $matches['symbol'
] ]['ID'
];
} elseif ( isset( $attachment_ids[ $matches['symbol'
] ] ) ) { $symbol_match =
$attachment_ids[ $matches['symbol'
] ];
} // If we have any symbol matches, update the values.
if ( isset( $symbol_match ) ) {