Fixed that $args['allows'] variable had been incorrect in dynamic publishing. bugid:110368