Square-lattice random potts model: Criticality and pitchfork bifurcation