includes/class-mf2-post.php
public function fetch( $property ) {

		// If the property is not set then exit
		if ( ! $property || ! $this->has_key( $property ) ) {
			return false;
		}
		$return = $this->get( $property );
		if ( wp_is_numeric_array( $return ) ) {
			$return = array_shift( $return );
		}
		// If it is in fact a string it is the pre 2.7.0 format and should be updated
		if ( is_string( $return ) ) {
			if ( $this->has_key( 'cite' ) ) {
				$cite        = array_filter( $this->get( 'cite' ) );
				$cite['url'] = $return;
				$this->set( $property, $cite );
				$this->delete( 'cite' );
				return $cite;
			} else {
				return array( 'url' => $return );
			}
		}
		if ( is_array( $return ) ) {
			return mf2_to_jf2( $return );
		}
		return false;
	}
public function fetch( $property ) {

		// If the property is not set then exit
		if ( ! $property || ! $this->has_key( $property ) ) {
			return false;
		}
		$return = $this->get( $property );
		if ( wp_is_numeric_array( $return ) ) {
			$return = array_shift( $return );
		}
		// If it is in fact a string it is the pre 2.7.0 format and should be updated
		if ( is_string( $return ) ) {
			if ( $this->has_key( 'cite' ) ) {
				$cite        = array_filter( $this->get( 'cite' ) );
				$cite['url'] = $return;
				$this->set( $property, $cite );
				$this->delete( 'cite' );
				return $cite;
			} else {
				return array( 'url' => $return );
			}
		}
		if ( is_array( $return ) ) {
			return mf2_to_jf2( $return );
		}
		return false;
	}
public function fetch ( $ property ) { // If the property is not set then exit if ( ! $ property || ! $ this -> has_key ( $ property ) ) { return false ; } $ return = $ this -> get ( $ property ) ; if ( wp_is_numeric_array ( $ return ) ) { $ return = array_shift ( $ return ) ; } // If it is in fact a string it is the pre 2.7.0 format and should be updated if ( is_string ( $ return ) ) { if ( $ this -> has_key ( 'cite' ) ) { $ cite = array_filter ( $ this -> get ( 'cite' ) ) ; $ cite [ 'url' ] = $ return ; $ this -> set ( $ property , $ cite ) ; $ this -> delete ( 'cite' ) ; return $ cite ; } else { return array ( 'url' => $ return ) ; } } if ( is_array ( $ return ) ) { return mf2_to_jf2 ( $ return ) ; } return false ; }
Also will update old posts with new settings
Also will update old posts with new settings