135 reputation
5
bio website charlestonsw.com
location Charleston, SC
age 49
visits member for 2 years, 11 months
seen Dec 18 at 17:28

#

Dad. Explorer. Rum Lover. Code Geek. Not Necessarily In That Order.


Dec
10
comment Is moving wp-config outside the web root really beneficial?
I don't see "can I protect the database account by hiding the wp-config.php" in the original question. The original question was "does it makes sense to move the wp-config.php". The answer is absolutely yes, IMO. It is like asking if you should lock your front door when you go out. Saying "someone can easily break a window and get in anyway, so why bother" does not answer the fundamental point of the question. IMO the question asked was this, "Is it worth the extra effort to move wp-config.php? ANY benefit doing so?". Yes. At the very least it keeps out the lazy hackers.
Dec
6
answered How Do I Add Product Pictures To Search Results Of A Custom Wordpress Theme Using A WooCommerce
Dec
6
comment Is moving wp-config outside the web root really beneficial?
This response does not directly address the question. Any plugin author can have a field day with WordPress if they convince you to install their code and have malicious intent. It is no different than willingly installing a virus on your system. This argument to not move wp-config.php is pointless. This is like saying that willfully installing a car bomb in your car makes setting the car alarm useless. Technically true but WTF?!?
Dec
6
comment Is moving wp-config outside the web root really beneficial?
This response is spot-on. My web hosting company had a drive array failure. When all was said & done they restored the system PARTIALLY. Turns out they used a series of cPanel/WHM scripts to rebuild httpd.conf files that did so incorrectly. Luckily I already had wp-config.php outside of the doc root, but if I hadn't the contents were there for the taking. Yes rare, but as noted the rare cases are what you need to worry about. Also, stating "simple minded folk would be lost" is a bad excuse for having LESS security.
Oct
3
comment Any examples of adding custom fields to the category editor?
Use add_action(<taxonomy-slug>."_add_form_fields",my_action) to extend the category form editor. i.e. add_action("store_add_form_fields",array($this,'add_form_fields)) in an object context for your custom action hooks for a taxonomy type of 'store'. Version 3.X+ of WordPress prefers the <taxonomy-slug><blah> format for action hooks, the older style of "edit_category_form_fields" and others are marked as "legacy support" in the code, which means they may/will eventually go away. ref: core.trac.wordpress.org/browser/tags/3.4.2/wp-admin/…
Apr
13
awarded  Supporter
Dec
31
awarded  Autobiographer