Changing the tag system to the "term" table.
This commit is contained in:
		
					parent
					
						
							
								8cef0fa80d
							
						
					
				
			
			
				commit
				
					
						158bfda0ac
					
				
			
		
					 8 changed files with 100 additions and 47 deletions
				
			
		| 
						 | 
				
			
			@ -689,7 +689,9 @@ function network_content(&$a, $update = 0) {
 | 
			
		|||
				dbesc(protect_sprintf('%' . $diasp_url . ']%'))
 | 
			
		||||
			);*/
 | 
			
		||||
 | 
			
		||||
		$sql_extra .= sprintf(" AND `item`.`parent` IN (SELECT distinct(`parent`) from item where `author-link` IN ('https://%s', 'http://%s') OR `mention`)",
 | 
			
		||||
		//$sql_extra .= sprintf(" AND `item`.`parent` IN (SELECT distinct(`parent`) from item where `author-link` IN ('https://%s', 'http://%s') OR `mention`)",
 | 
			
		||||
		//$sql_extra .= sprintf(" AND `item`.`parent` IN (SELECT distinct(`parent`) from item where `mention`)",
 | 
			
		||||
		$sql_extra .= sprintf(" AND `item`.`parent` IN (SELECT distinct(`parent`) from item where `author-link` IN ('https://%s', 'http://%s'))",
 | 
			
		||||
			dbesc(protect_sprintf($myurl)),
 | 
			
		||||
			dbesc(protect_sprintf($myurl))
 | 
			
		||||
		);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue