Support

Account

Home Forums General Issues percentage in sql Reply To: percentage in sql

  • I have the same problem since the latest WP updrade to 4.8.3.

    I use placeholder and I do not use the esc_url() function in my code and the % placeholder is being replaced with something not usable.

    Example:

    This is being replaced

    array(
    	'relation' => 'OR',
    	array(
    		'key' => 'charte_de_prix_contenu_%_promos_fin',
    		'value' => '',
    		'compare' => '=',
    	),
    	array(
    		'key' => 'charte_de_prix_contenu_%_promos_fin',
    		'value' => date( "Ymd" ),
    		'compare' => '>=',
    	),
    ),
    

    with this

    
    meta_key = 'charte_de_prix_contenu_{47d84f1ee58a81956d53c64e8fafb5526c536eecab2be9c113fc33e7e9c86fba}_promos_fin' AND