Posts by Ivan Oliveira • 21 points
3 posts
-
0
votes2
answers35
viewsA: Query String wrong with use of prepare. Wordpress
You used the placeholder %d for a string parameter, where it is for integers. Use placeholder %s. $sql = $wpdb->prepare("SELECT * FROM {$wpdb->prefix}imagens WHERE categorias LIKE %s limit %s,…
-
1
votes1
answer308
viewsA: Deploy with GIT x Deploy with Gulp
On the git deploy you can improve it by following the following steps: 1. Add a Bare repository to the production server. This "Bare" repository does not contain the working copy files. It’s…
-
1
votes1
answer907
viewsA: How to recover deleted commit?
Felipe To recover a reset commit - HARD, just use git reflog. Source: http://imasters.com.br/desenvolvimento/9-dicas-muito-uteis-para-trabalhar-melhor-com-git/…
gitanswered Ivan Oliveira 21