sal/class.json-api-post-base.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 676-678 (lines=3) @@ | 
                                                            
                                    | 673 |  | 			} | 
                                                            
                                    | 674 |  | 		} | 
                                                            
                                    | 675 |  |  | 
                                                            
                                    | 676 |  | 		if ( $media_item->post_parent > 0 ) { | 
                                                            
                                    | 677 |  | 			$response['meta']->links->parent = (string) $this->links->get_post_link( $this->site->get_id(), $media_item->post_parent ); | 
                                                            
                                    | 678 |  | 		} | 
                                                            
                                    | 679 |  |  | 
                                                            
                                    | 680 |  | 		return (object) $response; | 
                                                            
                                    | 681 |  | 	} | 
                                                                        
                 
                                                            
                    
class.json-api-endpoints.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 1457-1459 (lines=3) @@ | 
                                                            
                                    | 1454 |  | 			} | 
                                                            
                                    | 1455 |  | 		} | 
                                                            
                                    | 1456 |  |  | 
                                                            
                                    | 1457 |  | 		if ( $media_item->post_parent > 0 ) { | 
                                                            
                                    | 1458 |  | 			$response['meta']->links->parent = (string) $this->links->get_post_link( $this->api->get_blog_id_for_output(), $media_item->post_parent ); | 
                                                            
                                    | 1459 |  | 		} | 
                                                            
                                    | 1460 |  |  | 
                                                            
                                    | 1461 |  | 		return (object) $response; | 
                                                            
                                    | 1462 |  | 	} |