Improved methods of Tools_Enhancer, they take into consideration the state of publication and transmit the parameters of the enhancer to the method getUrlEnhanced()