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
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.