• Hi! Thanks for the plugin.

    But I found a little problem, in better-admin-help-tabs.php line 234 you can find:

    $qargs = array(
       'post_type' => 'sbah_helptab',
       'posts_per_page' => '-1',
       'meta_query' => array(
           array(
               'key' => '_sbah_screen_text',
               'value' => $idofscreen,
               'compare' => 'like', // <= the problem
           )
       )
     );

    so edit-{post_type} and {post_type} are showing the same tabs

    $qargs = array(
       'post_type' => 'sbah_helptab',
       'posts_per_page' => '-1',
       'meta_query' => array(
           array(
               'key' => '_sbah_screen_text',
               'value' => $idofscreen,
               'compare' => '=', // <= :)
           )
       )
     );

    English is not my mother tongue; please excuse any errors on my part.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Stephen S

    (@ssuess)

    Hi and thanks for pointing this out, I see the problem. This was actually put in on purpose to deal with multiple values in the screen field (so that people would not have to create multiple identical entries). I will replace it with an array as soon as I get a chance. I will also let you know when it is fixed. Thanks again.

    Plugin Author Stephen S

    (@ssuess)

    Hi again, thanks for reporting this, I have fixed it (with a REGEXP meta query) in the latest version (1.3.1) which is now available for download. Thanks again for pointing this out.

    Thread Starter el_crespo

    (@el_crespo)

    Thank You!!!

    Plugin Author Stephen S

    (@ssuess)

    actually, don’t download the latest version yet, my REGEXP is not working properly. I am working on it now and should have a fix in a bit, sorry.

    Plugin Author Stephen S

    (@ssuess)

    OK, just uploaded version 1.3.2, this should really really (hopefully) fix this. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Good Job’ is closed to new replies.