Support » Plugin: Ultimate Post Type Manager » [Plugin: Ultimate Post Type Manager] Improvement

  • Covi

    (@covi)


    Can’t send tickets on trac, but if the plugin have some functions as this…

    Line 137 * xydac_checkbool()
    Line 138 * Converts string(false) to bool(false) and all other string to bool(true)

    oO?, why not just force type:
    (bool) $var

    If you still want use this function:
    function xydac_checkbool($string = '') { return (bool) $string; }

    http://wordpress.org/extend/plugins/ultimate-post-type-manager/

  • The topic ‘[Plugin: Ultimate Post Type Manager] Improvement’ is closed to new replies.