stripslashes (метка)
WP_query и апостроф
$line="Santa's Wild Ride"; $query = new WP_Query(array('post_type'=>'it_games', 'tax_query' => array( array( 'taxonomy' => 'game_name', 'field' => 'name', 'terms' => stripslashes_deep($line) ) ) ));...
7.3 года назад
1 ответ