How to put functions in a list?
Function in Table
Escaping WP_Query tax_query when term has special character(s) Here's my issue. I have a custom post type that I'm attaching a custom taxonomy to. This taxonomy will allow the admin to provide search suggestions that will ensure the post is found when a user searches. This taxonomy is also used on the front-end to autocomplete the search field with these suggestions.  The system works fine, except when the term contains a forward slash, a space or other "special" characters.  &lt;?php $keyword = 'Ski-in%2FSki-out';//Submitted via $_GET $keyword = urldecode($keyword); // (string)'Ski-in/Ski-out'  $taxQuery = new WP_Query(array(     'post_type' =&gt; 'ml_properties',     'tax_query' =&gt; array(         'relation' =&gt; 'OR',         array(             'taxonomy' =&gt; 'mc_tax_lifestyle',             'field' =&gt; 'name',             'terms' =&gt; array($keyword),             'operator' =&gt; 'IN'         )     ) )); ?&gt;   I've looked into using the escaping features provided by WordPress, but haven't had any luck there. I thought this would be a simple problem, but either my Google-fu is not strong, or I'm just not having any luck.  I've also verified that that Ski-in/Ski-out is the exact string stored in MySQL. I've looked into using esc_attr(), $wpdb-&gt;esc_like() and esc_sql() but none have an effect.  Perhaps I'm missing something obvious? In the answer , the parser breaks my URL link.  The URL was with __word__:      http://www.open-mpi.de/projects/hwloc/doc/v1.2/group__hwlocality__membinding.php#gade5e2c28ea8475a479bf2b1df36c6ccd   After parsing, it becomes (&lt;a href is broken; no clickable link):  hwlocality_membinding.php#gade5e2c28ea8475a479bf2b1df36c6ccd"&gt;http://www.open-mpi.de/projects/hwloc/doc/v1.2/group_hwlocality_membinding.php#gade5e2c28ea8475a479bf2b1df36c6ccd   Short test:  http://example.com/_test_ -> test"&gt;http://example.com/test  Or if I put in a naked URL with _test_ just here: Similar to Lifepod 1993, but not it This film is very similar to Lifepod 1993, but it takes place in a large ship, not a pod.  I can remember three characters... a technical engineer, being the one sabotaging the ship. And also this military cut character (who looks a lot like Kane from Mortal Kombat) and another girl (I think it was long, wavy black hair).  The "plot" twist that sends this one apart, at least back in the 1990´s, is that the ending comes to the fact there is only enough food and oxygen for one survivor and no escape pods or cryotubes, only a device that "could" work as a cryotube. For some reason that I cant remember the "Kane" dude chooses to die instead, by taking poison (which had been previously used on other surviving members). But the girl "tricks" him and drugs him instead, then places him in the "cryotube" and she stays awake to await for the rescue team.  Of course, they get salvaged, and he is still okay, surprised that she tricked him and saved him. Rings a bell for anyone? Is definitely a B-movie. Push Notification Badge Count Not Updating Easy way to model spiral engraving (knurling) that is usually used on metal for better grip? What is the easiest way to model this diamond grip pattern into a cylinder? Difference between Sort and SortBy This  shows the dual cone of $K = \{(x,t) \mid \| \boldsymbol{x} \|_1 \le t \}$ is $K^{*} = \{(x,t) \mid  \| \boldsymbol{x} \|_{\infty} \le t\}$. Is it right? How is it proved? What to do when visa admission expires during lockdown? Correcting for multiple kruskal wallis tests Twist shifter cannot shift down – what might be the cause? My son's bike is stuck on 7. When we try to shift down to 1, there are no clicks. It just shoots right back to 7. This is a dial/twist/grip shifter, not a trigger shifter. I do not think it has anything to do with the derailleur, but want to confirm. How do I earn SC2's "Hurry up, it's raid night" achievement? The "Hurry up, it's raid night" achievement in Starcraft 2 involves "beating Wings of Liberty, on normal, in 8 hours or less."  Is there a recommended mission path to take? Which mission should I take for the branching paths? Does it count time spent on the Hyperion in between missions, or is it exclusively time elapsed on missions. Does replaying a mission affect the time? General tips / hints from those who've unlocked the achievement?  Edit: Just got this achievement tonight, finally! The answer was perfect. I have custom fields in contacts form named checkbox1__c, checkbox11__c, checkbox12__c, checkbox13__c.  When I check checkbox1__c then I want checkbox11__c,  checkbox12__c,  checkbox13__c to be unchecked.  When I unchecked checkbox1__c then I want checkbox11__c, checkbox12__c, checkbox13__c to be checked.  Is there any way to do this by using validation-rules? If not no way to this by validation-rules, then what is the best way to do this? Dilemma: Present Perfect Or Perfect Continuous? Let $$G_\beta(w) = e^{\beta w^2}$$  Now I get the process of applying a fourier transform (or inverse) to get a new  gaussian:  $$G_\beta(x) = G_\beta(0) e^{\frac{-x^2}{4\beta}}$$  but in doing the derivation the constant $G_\beta(0)$ never arose. I know how to calculate the constant, but where did it come from in the derivation?  edit: Fourier form used: $$\int_{-\infty}^{\infty} f(w) e^{-iwx} dw$$ $\sin \frac{1}{x}$ is not uniformly continuous on $[1, \infty]$ My application got crashed because of not initializing the view Why does flag marking as helpful/declined not always correlate with moderator action? I flagged a post and (choose one)   my flag was marked as helpful, yet nothing was done my flag was marked as declined, yet the post was deleted/edited/closed   Why? I have a 4GB DDR3 800Mhz recently I installed another 4GB. It turns out it's  DDR3 667MHz. Does it really matter I should own both rams 800MHz?    Slot1 shows recent RAM installation. ALSO I don't know if this is 1600MHz (it shows 800x2 and 667x2 for other) or just 800MHz ram. Biblatex with Biber: Configuring my editor to avoid undefined citations Running the minimal example  \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @ARTICLE{example,   author  = {Other, Anthony Norman},   title   = {Some things I did},   year    = {2014},   journal = {J.~Irrep. Res.},   volume  = {1},   number  = {1},   pages   = {1-10} } \end{filecontents*} \usepackage[backend=biber]{biblatex} \addbibresource{\jobname.bib} \begin{document} Hello\cite{example}. \printbibliography \end{document}   I get the warning There were undefined references.  I have read  and know that I need to run:   LaTeX Biber LaTeX   However, my editor is only set up to run BibTeX. How do I go about setting up my editor/IDE to be able to run Biber, and how do I run the LaTeX/Biber/LaTeX cycle?  Answers (sorted alphabetically by editor name)                    Answer guidelines   Each answer should be for one editor. If the editor is cross-platform, if possible give a single answer with notes covering the minor platform variations. Please edit the question to include new answers in the 'link list' Each answer should be 'stand alone', i.e. don't say 'It's almost the same as editor Y but ...' for the editor part Instructions for 'build tools' such as arara or latexmk are welcome but should explain how to set up the editor in question as not all editors allow simple addition of arbitrary tools Quantum Field Theory without LSZ, how is it possible?