This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
mv .zsh_history .zsh_history_bad | |
strings .zsh_history_bad > .zsh_history | |
fc -R .zsh_history |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Controle de posts para usuários inferior a role "administrator" | |
* Função para setar o post_status para "revisão pendente" caso o usuário não seja o | |
* Administrator(root). | |
* | |
* @author Danilo Song <[email protected]> | |
* @since 03-05-2018 | |
* @version 1.0 | |
* | |
* @param WP_Post $post Current post object. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Altera o select de "Autor" da funçao wp_dropdown_users, | |
* pelo valor do usuario que está editando no momento, valido apenas se o | |
* usuário não for administrator. | |
* | |
* @since 04-05-2018 | |
* @author Danilo Song <[email protected]> | |
* @version 1.0 | |
* | |
* @global int $user_ID |