Title: Adam's Replies | WordPress.org

---

# Adam

  [  ](https://wordpress.org/support/users/staticfive/)

 *   [Profile](https://wordpress.org/support/users/staticfive/)
 *   [Topics Started](https://wordpress.org/support/users/staticfive/topics/)
 *   [Replies Created](https://wordpress.org/support/users/staticfive/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/staticfive/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/staticfive/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/staticfive/engagements/)
 *   [Favorites](https://wordpress.org/support/users/staticfive/favorites/)

 Search replies:

## Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[RSVP and Event Management] Single quotes/apostrophes in names](https://wordpress.org/support/topic/single-quotes-apostrophes-in-names/)
 *  Thread Starter [Adam](https://wordpress.org/support/users/staticfive/)
 * (@staticfive)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/single-quotes-apostrophes-in-names/#post-11057666)
 * Perhaps the importer should automatically replace smart quotes with single quotes,
   and do the search input without quotes against the name without quotes? Seems
   like this is causing a lot of problems 🙂
 * For reference, were this a Postgres fulltext search, for example, the quotes 
   aren’t considered at all.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[RSVP and Event Management] Single quotes/apostrophes in names](https://wordpress.org/support/topic/single-quotes-apostrophes-in-names/)
 *  Thread Starter [Adam](https://wordpress.org/support/users/staticfive/)
 * (@staticfive)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/single-quotes-apostrophes-in-names/#post-10587424)
 * Thanks so much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[RSVP and Event Management] Single quotes/apostrophes in names](https://wordpress.org/support/topic/single-quotes-apostrophes-in-names/)
 *  Thread Starter [Adam](https://wordpress.org/support/users/staticfive/)
 * (@staticfive)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/single-quotes-apostrophes-in-names/#post-10567846)
 * It looks like typing it does indeed work, but I feel like the importer/entry 
   form should probably replace smart quotes with single quotes, since I and many
   other people are importing these from a CSV file. It’s also a bit weird that 
   the name echo’d back has slashes preceding the quotes–is there some sort of escaping
   feature gone wrong there?
 * Thanks for your response!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple 301 Redirects By BetterLinks - Easy WordPress Redirect Manager for Redirects, 404 Error Log & More] Site breaks. Is there a limit to the number of redirects allowed?](https://wordpress.org/support/topic/site-breaks-is-there-a-limit-to-the-number-of-redirects-allowed/)
 *  [Adam](https://wordpress.org/support/users/staticfive/)
 * (@staticfive)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/site-breaks-is-there-a-limit-to-the-number-of-redirects-allowed/#post-7434247)
 * In my case, it looks like this was caused by PHP’s new-ish (5.3.9) max_input_vars
   setting. It’s apparently now 1000 by default, meaning (1000 / (from + to)) = 
   500 entries. Up this in php.ini with `max_input_vars = 2000` or whatever is appropriate
   for your site.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple 301 Redirects By BetterLinks - Easy WordPress Redirect Manager for Redirects, 404 Error Log & More] Site breaks. Is there a limit to the number of redirects allowed?](https://wordpress.org/support/topic/site-breaks-is-there-a-limit-to-the-number-of-redirects-allowed/)
 *  [Adam](https://wordpress.org/support/users/staticfive/)
 * (@staticfive)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/site-breaks-is-there-a-limit-to-the-number-of-redirects-allowed/#post-7434246)
 * Having the same issue… Something seems to be limiting me to *exactly* 500 redirects.
   wp_options entry shows the following:
 * `| 6446 | 301_redirects | a:500:{s:24:"/about/mission-statement";s:7:"/about/";...`
 * until it ends at `s:7:"/tester";s:8:"/contact";s:5:"/nice";s:0:"";} | yes |`
 * This seems suspiciously exact to not be limited by something deliberately, but
   I can’t seem to find what it is…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-SpamShield] Use .hasOwnProperty(s) in jscripts-ftr2-min.js](https://wordpress.org/support/topic/use-hasownpropertys-in-jscripts-ftr2-minjs/)
 *  Thread Starter [Adam](https://wordpress.org/support/users/staticfive/)
 * (@staticfive)
 * [10 years ago](https://wordpress.org/support/topic/use-hasownpropertys-in-jscripts-ftr2-minjs/#post-7364272)
 * The FAQ doesn’t help, as I don’t see anything in there about a specific JS error.
   As for the fix, I think my comment is pretty specific–just replace the following:
 * `function wpss_get_ck(e){var t=document.cookie.split(";");for(var s in t)if(-
   1!=t[s].indexOf(e+"="))return decodeURIComponent(t[s].split("=")[1]);return""}`
 * with
 * `function wpss_get_ck(e){var t=document.cookie.split(";");for(var s in t)if(t.
   hasOwnProperty(s))if(-1!=t[s].indexOf(e+"="))return decodeURIComponent(t[s].split("
   =")[1]);return""}`
 * in both jscripts-ftr-min.js and jscripts-ftr2-min.js, or whatever source file
   you used to create them. I’ll send a message via your contact form as well.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-SpamShield] Use .hasOwnProperty(s) in jscripts-ftr2-min.js](https://wordpress.org/support/topic/use-hasownpropertys-in-jscripts-ftr2-minjs/)
 *  Thread Starter [Adam](https://wordpress.org/support/users/staticfive/)
 * (@staticfive)
 * [10 years ago](https://wordpress.org/support/topic/use-hasownpropertys-in-jscripts-ftr2-minjs/#post-7364159)
 * To clarify how I encountered the problem–something added the function “shuffle()”
   to my Array.prototype, so your script is trying to treat the shuffle function
   like yet another cookie in the cookies array. Results in `jscripts-ftr2-min.js:
   1 Uncaught TypeError: t[s].indexOf is not a function`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] No Visual Composer on custom types](https://wordpress.org/support/topic/no-visual-composer-on-custom-types/)
 *  [Adam](https://wordpress.org/support/users/staticfive/)
 * (@staticfive)
 * [10 years ago](https://wordpress.org/support/topic/no-visual-composer-on-custom-types/#post-6738510)
 * Same issue… enabling W3 total cache disables visual composer for all roles except
   admin. [@douglas89](https://wordpress.org/support/users/douglas89/), did you 
   find a solution?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Visual Composer] Backend editor button not loading](https://wordpress.org/support/topic/plugin-visual-composer-backend-editor-button-not-loading/)
 *  [Adam](https://wordpress.org/support/users/staticfive/)
 * (@staticfive)
 * [10 years ago](https://wordpress.org/support/topic/plugin-visual-composer-backend-editor-button-not-loading/#post-6339932)
 * This is an issue for me with roles other than administrator–the Backend button
   doesn’t show up for my Editor role, which is crucial. Digging into the code now
   to see what’s up.
 * I also had the problem with the 4.5 upgrade where the editor doesn’t load, but
   the Backend button was still visible at that point. Now that that’s fixed, only
   admins can use Visual Composer…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CDN Tools] [Plugin: CDN Tools] I get this error message when loading attachments](https://wordpress.org/support/topic/plugin-cdn-tools-i-get-this-error-message-when-loading-attachments/)
 *  [Adam](https://wordpress.org/support/users/staticfive/)
 * (@staticfive)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-cdn-tools-i-get-this-error-message-when-loading-attachments/#post-1651291)
 * Ah HAH. Turns out that I had enabled curl but not curl_ssl on the server. Additionally,
   I installed ca-certificates (“sudo apt-get install ca-certificates” on Debian-
   based, “sudo yum install ca-certificates” on rpm-based) as well, but I’m not 
   sure if it was necessary.
 * Good luck y’all.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CDN Tools] [Plugin: CDN Tools] I get this error message when loading attachments](https://wordpress.org/support/topic/plugin-cdn-tools-i-get-this-error-message-when-loading-attachments/)
 *  [Adam](https://wordpress.org/support/users/staticfive/)
 * (@staticfive)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-cdn-tools-i-get-this-error-message-when-loading-attachments/#post-1651290)
 * Yeah, a few people have commented on the release post on his site, but he hasn’t
   responded to any of them. The stack trace doesn’t tell you anything of value,
   I’m having some real trouble debugging this one.
 * I’ll let you know if I figure it out.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP_NAV_MENU -> If has children display a different class](https://wordpress.org/support/topic/wp_nav_menu-if-has-children-display-a-different-class/)
 *  [Adam](https://wordpress.org/support/users/staticfive/)
 * (@staticfive)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/wp_nav_menu-if-has-children-display-a-different-class/#post-1925641)
 * The best solution I’ve found aside from hacking into the plugin’s core files 
   is to use jQuery to add the class:
 * My code:
    $(document).ready(function(){ $(‘#navigation .sub-menu .sub-menu’).
   parent().addClass(‘has-children’); });
 * This ensures that only level two and higher menus will get the ‘has-children’
   class. Kinda hacky, but works perfectly.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Default widgets! Search for ever still no answer!](https://wordpress.org/support/topic/default-widgets-search-for-ever-still-no-answer/)
 *  [Adam](https://wordpress.org/support/users/staticfive/)
 * (@staticfive)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/default-widgets-search-for-ever-still-no-answer/#post-1145345)
 * I don’t want to sound like a jerk about it… but if you don’t know how to edit
   sidebar.php, you probably should be editing anything on wordpress. Your best 
   bet is to go with a widget-ready theme and use the widget editor under Appearance
   >Widgets

Viewing 13 replies - 1 through 13 (of 13 total)