FIX updated the link for adding a chantier to remove the return_to parameter in artisans.php
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8cf357ffce
commit
3c2f7012ed
|
|
@ -179,7 +179,7 @@ function render_custom_chantier_box_content($post)
|
|||
} else {
|
||||
echo '<h3> Chantiers réalisés</h3>';
|
||||
echo '<p class="no-results">Aucun chantier pour cette entreprise</p>';
|
||||
echo '<a href="' . admin_url('post-new.php?post_type=chantiers&return_to=' . urlencode($return_to)) . '" class="new-chantier">Ajouter un chantier</a>';
|
||||
echo '<a href="' . admin_url('post-new.php?post_type=chantiers') . '" class="new-chantier">Ajouter un chantier</a>';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user