From 3174d02d0cf2503de792c4016594cc89f648cc72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Guimara=CC=83es?= Date: Sat, 2 Jun 2018 01:59:48 -0300 Subject: [PATCH 01/27] =?UTF-8?q?Fix=20ordena=C3=A7=C3=A3o=20de=20usu?= =?UTF-8?q?=C3=A1rios=20na=20busca?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/wp-content/themes/rhs/inc/search/search.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/wp-content/themes/rhs/inc/search/search.php b/public/wp-content/themes/rhs/inc/search/search.php index 27718647..53460526 100644 --- a/public/wp-content/themes/rhs/inc/search/search.php +++ b/public/wp-content/themes/rhs/inc/search/search.php @@ -391,6 +391,12 @@ public function search_users($params = array()) { case 'votes': $q_order_meta = RHSVote::META_TOTAL_VOTES; break; + + case 'last_login': + $q_order_meta = RHSLogin::META_KEY_LAST_LOGIN; + $q_order = 'DESC'; + $q_order_by = 'meta_value'; + break; default: $q_order_by = 'display_name'; From f8349719ceca3b6efa4d9c7a623ea6c5a7ddd067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Guimara=CC=83es?= Date: Sat, 2 Jun 2018 12:14:20 -0300 Subject: [PATCH 02/27] =?UTF-8?q?In=C3=ADcio=20de=20pequenas=20melhorias?= =?UTF-8?q?=20na=20p=C3=A1gina=20de=20publicar=20post?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wp-content/themes/rhs/assets/js/valida-form-registro.js | 2 +- public/wp-content/themes/rhs/publicar-postagem.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/wp-content/themes/rhs/assets/js/valida-form-registro.js b/public/wp-content/themes/rhs/assets/js/valida-form-registro.js index 159214b8..ae629775 100644 --- a/public/wp-content/themes/rhs/assets/js/valida-form-registro.js +++ b/public/wp-content/themes/rhs/assets/js/valida-form-registro.js @@ -444,7 +444,7 @@ jQuery( function( $ ) { }, messages: { title: { - required: 'Preencha o titulo.' + required: 'Preencha o título.' }, 'category[]': { required: 'Selecione uma categoria.' diff --git a/public/wp-content/themes/rhs/publicar-postagem.php b/public/wp-content/themes/rhs/publicar-postagem.php index 4f340c06..bd2879b2 100644 --- a/public/wp-content/themes/rhs/publicar-postagem.php +++ b/public/wp-content/themes/rhs/publicar-postagem.php @@ -8,7 +8,7 @@ getId()): ?> -
+

getId() ? 'Editar' : 'Criar'; ?> Post

@@ -57,7 +57,7 @@
-
+