11,415 reputation
1347
bio website christopherdavis.me
location Lexington, KY
age 27
visits member for 2 years, 10 months
seen 5 hours ago

I work as a web developer for Enterprise clients and build web applications with PHP.

Connect


1d
comment Disable user profile editing for one user
Why not just revoke admin-area access to custom_role users? Don't give them the read capability in other words. Then provide them with an area on the front end where they can edit their account. plugins exist to do a lot of that work.
1d
answered Object of class WP_Error could not be converted to string
Feb
20
awarded  Popular Question
Feb
11
awarded  Revival
Feb
10
comment hijacking home_url for root relative paths
WP_HOME is used other places than just in links to stylesheets and such -- namely permalinks. You can try it, it just might be a little weird. Specifying a protocol relative WP content URL is usually okay, however.
Feb
10
comment hijacking home_url for root relative paths
Look at how WP's is_ssl works, use a similar logic in wp-config.php.
Jan
17
awarded  Good Answer
Jan
14
awarded  Caucus
Dec
23
awarded  Popular Question
Dec
8
comment is this code properly secured
Where does $address_table come from?
Dec
4
awarded  Notable Question
Oct
28
answered Declare plugin dependency
Oct
28
revised Are all options loaded to memory on each request?
edited body
Oct
23
awarded  Nice Answer
Oct
1
reviewed Approve suggested edit on Delete/replace img tags in post content for auto published posts
Sep
25
comment Custom post type archive - error in nav-menu-template.php
Gave you a possible solution in an edit just now. I would try to avoid editing the plugin itself.
Sep
25
revised Custom post type archive - error in nav-menu-template.php
added 704 characters in body
Sep
25
answered Custom post type archive - error in nav-menu-template.php
Sep
25
comment Custom post type archive - error in nav-menu-template.php
Post of the contents of your archive-vehicle.php. Specifically any parts what call wp_nav_menu or related functions.
Sep
25
revised meta_query with array as value with multiple arrays
added 102 characters in body