Support » Fixing WordPress » Have I been hacked?

  • Resolved Steven

    (@spstieng)


    I just ran a MySQL query trace to debug a some queries I have created, when I discovered the following query:

    SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_name = 'jquery_bll-php' AND wp_posts.post_type = 'post' ORDER BY wp_posts.post_date DESC

    1. why “wp_posts.* FROM wp_posts WHERE 1=1” ???

    2. I have a file called jquery_bll.php. This is my Busines layer for jQuery requests. Why is this file name in the query?

Viewing 3 replies - 1 through 3 (of 3 total)
  • *bumb*

    I’m gonna bump this until someone can answer my question.

    It’s bump. Bum “p”. As in most people hate it when you do it. Probably why you never got a response.

    #6 “Bumps”. Do not bump posts on this forum. Putting posts at the top doesn’t help them get noticed here. The volunteers who try to answer questions look for those without replies first. If you bump a post, then it disappears from the “no replies” view. DO NOT BUMP.

    Does anyone know why “wp_posts.* FROM wp_posts WHERE 1=1” ?

    It’s also search-able.

    And then there is always Google.

    Bumb away. 🙂

    Argh – my P is too close the to B…. ;o)

    This forum has nothing that answers my question regarding WHERE 1=1, but I did find a general answer at Stackoverflow.

    I always search this forum / google, before I ask. But often one don’t use good enough key words in search.

    And 3 bumBs in almost two months isn’t too many 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Have I been hacked?’ is closed to new replies.