122 reputation
9
bio website SundayEpidemic.com
location Upstate NY
age 46
visits member for 1 year, 9 months
seen Oct 30 at 15:40

Knocking on the sky, listening for the sound.


Aug
31
revised Using jQuery in widget development
added 21 characters in body
Aug
31
answered Using jQuery in widget development
Aug
4
revised Adding custom css to a theme depending on whether the admin user is logged in or not
added 200 characters in body
Aug
4
answered Adding custom css to a theme depending on whether the admin user is logged in or not
Aug
2
revised The plugin generated XXX characters of unexpected output…help?
Intent properly to keep code block together
Aug
2
suggested suggested edit on The plugin generated XXX characters of unexpected output…help?
Jul
31
comment How to diplay a div only if at least one author custom profile field is filled?
That is strange behavior, then, since an empty string should evaluate to empty. I suppose you could try if( 0 !== strlen( $social_icons_fields ) ) {
Jul
30
comment How to diplay a div only if at least one author custom profile field is filled?
Something is causing your check for $social_icons_fields to always be ! empty. What is the ??? in get_the_author_meta(???)? What do you see if you var_dump($social_icons_fields) on a supposedly empty run? Then you can work back from there.
Jul
29
accepted Are there ways of logging in that bypass wp-login.php altogether?
Jul
27
comment Query function not executed between <div> element
For starters, myfunction2() doesn't appear to actually return anything.
Jul
27
comment What exactly do this function declared into functions.php file of a WP theme?
When WP is setting up a page, there is always a main query. But there can be other, secondary queries that run. A common case is that a theme template, widget, plugin or what-have-you will call a second query via $second_query = new WP_query( $args ); in order to cherry pick a certain set of posts for special treatment of some sort. Checking for whether you're querying the main query assures that you don't interfere with any of those other things that may be happening on the page.
Jul
27
comment Wordpress Frontend Check If Current User Is Administrator
Hooks are (or should be) your friends. If you're looking for efficiency, a hook will save you not just lines of code, but hours of aggravation.
Jul
26
awarded  Teacher
Jul
26
answered What exactly do this function declared into functions.php file of a WP theme?
Jul
26
awarded  Commentator
Jul
24
revised Are there ways of logging in that bypass wp-login.php altogether?
added 703 characters in body
Jul
24
comment Are there ways of logging in that bypass wp-login.php altogether?
Thanks, and yes, it did turn out to be XML-RPC. I've gone directly to cutting off access to it via .htaccess in this case where the abuse has been so intense. For routine disabling on other sites (where I'll want a convenient way to enable/disable from the Dashboard), I'll sure keep your plug-in handy.
Jul
24
answered Are there ways of logging in that bypass wp-login.php altogether?
Jul
23
comment Are there ways of logging in that bypass wp-login.php altogether?
Yes, these are above the WP rewrite rules. And I've been over the codex security article. I'm beginning to think the server is compromised. (It's a shared server, and I don't have access to the logs.) It's especially curious that I get login attempts even when the wp-login file isn't even executable. How can that happen?
Jul
23
comment Are there ways of logging in that bypass wp-login.php altogether?
.htaccess lines for filter added in edit above. Thanks. When I comment out my ip, it blocks me.... but apparently not everyone.