Diff
checker
Texto
Texto
Imagens
Documentos
Excel
Pastas
Legal
Enterprise
Aplicativo para desktop
Preços
Fazer login
Baixar o Diffchecker Desktop
Comparar texto
Encontre a diferença entre dois arquivos de texto
Ferramentas
Histórico
Editor live
Recolher inalteradas
Sem quebra de linha
Layout
Dividido
Unificado
Nível de detalhe
Inteligente
Palavra
Caractere
Realce de sintaxe
Escolher sintaxe
Ignorar
Transformar texto
Ir à primeira mudança
Editar entrada
Diffchecker Desktop
A maneira mais segura de usar o Diffchecker. Obtenha o aplicativo Diffchecker Desktop: seus diffs nunca saem do seu computador!
Obter Desktop
login.php file version 2.6.1 vs. 2.0.4
Criado
há 3 anos
O diff nunca expira
Limpar
Exportar
Compartilhar
Explicar
169 remoções
Linhas
Total
Removido
Caracteres
Total
Removido
Para continuar usando este recurso, atualize para
Diff
checker
Pro
Ver preços
157 linhas
Copiar tudo
48 adições
Linhas
Total
Adicionado
Caracteres
Total
Adicionado
Para continuar usando este recurso, atualize para
Diff
checker
Pro
Ver preços
138 linhas
Copiar tudo
Copiar
Copiado
Copiar
Copiado
<?php
<div class="um <?php echo
$this->get_class( $mode )
; ?> um-<?php echo esc_attr( $form_id ); ?>">
/**
* Template for the login form
*
* This template can be overridden by copying it to yourtheme/ultimate-member/templates/login.php
*
* Page: "Login"
*
* @version 2.6.1
*
* @var string $mode
* @var int $form_id
* @var array $args
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div class="um <?php echo
esc_attr(
$this->get_class( $mode )
)
; ?> um-<?php echo esc_attr( $form_id ); ?>">
<div class="um-form">
<div class="um-form">
Copiar
Copiado
Copiar
Copiado
<form method="post" action="" autocomplete="off">
<form method="post" action="" autocomplete="off">
Copiar
Copiado
Copiar
Copiado
<?php
<?php
/**
/**
* UM hook
* UM hook
*
*
* @type action
* @type action
* @title um_before_form
* @title um_before_form
* @description Some actions before login form
* @description Some actions before login form
* @input_vars
* @input_vars
* [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}]
* [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}]
* @change_log
* @change_log
* ["Since: 2.0"]
* ["Since: 2.0"]
* @usage add_action( 'um_before_form', 'function_name', 10, 1 );
* @usage add_action( 'um_before_form', 'function_name', 10, 1 );
* @example
* @example
* <?php
* <?php
* add_action( 'um_before_form', 'my_before_form', 10, 1 );
* add_action( 'um_before_form', 'my_before_form', 10, 1 );
* function my_before_form( $args ) {
* function my_before_form( $args ) {
* // your code here
* // your code here
* }
* }
* ?>
* ?>
*/
*/
do_action( 'um_before_form', $args );
do_action( "um_before_
form
", $args );
/**
* UM hook
*
* @type action
* @title um_before_{$mode}_fields
* @description Some actions before login form fields
* @input_vars
* [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}]
* @change_log
* ["Since: 2.0"]
* @usage add_action( 'um_before_{$mode}_fields', 'function_name', 10, 1 );
* @example
* <?php
* add_action( 'um_before_{$mode}_fields', 'my_before_fields', 10, 1 );
* function my_before_form( $args ) {
* // your code here
* }
* ?>
*/
do_action( "um_before_
{$mode}_fields
", $args );
Copiar
Copiado
Copiar
Copiado
/**
/**
* UM hook
* UM hook
*
*
* @type action
* @type action
* @title um_
main
_{$mode}_fields
* @title um_
before
_{$mode}_fields
* @description Some actions before login form fields
* @description Some actions before login form fields
* @input_vars
* @input_vars
* [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}]
* [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}]
* @change_log
* @change_log
* ["Since: 2.0"]
* ["Since: 2.0"]
* @usage add_action( 'um_before_{$mode}_fields', 'function_name', 10, 1 );
* @usage add_action( 'um_before_{$mode}_fields', 'function_name', 10, 1 );
* @example
* @example
* <?php
* <?php
* add_action( 'um_before_{$mode}_fields', 'my_before_fields', 10, 1 );
* add_action( 'um_before_{$mode}_fields', 'my_before_fields', 10, 1 );
* function my_before_form( $args ) {
* function my_before_form( $args ) {
* // your code here
* // your code here
* }
* }
* ?>
* ?>
*/
*/
do_action( "um_
main
_{$mode}_fields", $args );
do_action( "um_
before
_{$mode}_fields", $args );
Copiar
Copiado
Copiar
Copiado
/**
/**
* UM hook
* UM hook
*
*
* @type action
* @type action
* @title um_
after_form
_fields
* @title um_
main_{$mode}
_fields
* @description Some actions
after
login form fields
* @description Some actions
before
login form fields
* @input_vars
* @input_vars
* [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}]
* [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}]
* @change_log
* @change_log
* ["Since: 2.0"]
* ["Since: 2.0"]
* @usage add_action( 'um_
after_form
_fields', 'function_name', 10, 1 );
* @usage add_action( 'um_
before_{$mode}
_fields', 'function_name', 10, 1 );
* @example
* @example
* <?php
* <?php
* add_action( 'um_
after_form
_fields', 'my_
after_form
_fields', 10, 1 );
* add_action( 'um_
before_{$mode}
_fields', 'my_
before
_fields', 10, 1 );
* function my_
after
_form
_fields
( $args ) {
* function my_
before
_form
( $args ) {
* // your code here
* // your code here
* }
* }
* ?>
* ?>
*/
*/
do_action(
'
um_
after_form
_fields
'
, $args );
do_action(
"
um_
main_{$mode}
_fields
"
, $args );
Copiar
Copiado
Copiar
Copiado
/**
/**
* UM hook
* UM hook
*
*
* @type action
* @type action
* @title um_after_
{$mode}
_fields
* @title um_after_
form
_fields
* @description Some actions after login form fields
* @description Some actions after login form fields
* @input_vars
* @input_vars
* [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}]
* [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}]
* @change_log
* @change_log
* ["Since: 2.0"]
* ["Since: 2.0"]
* @usage add_action( 'um_after_
{$mode}
_fields', 'function_name', 10, 1 );
* @usage add_action( 'um_after_
form
_fields', 'function_name', 10, 1 );
* @example
* @example
* <?php
* <?php
* add_action( 'um_after_
{$mode}
_fields', 'my_after_form_fields', 10, 1 );
* add_action( 'um_after_
form
_fields', 'my_after_form_fields', 10, 1 );
* function my_after_form_fields( $args ) {
* function my_after_form_fields( $args ) {
* // your code here
* // your code here
* }
* }
* ?>
* ?>
*/
*/
do_action( "um_after_
{$mode}
_fields", $args );
do_action( "um_after_
form
_fields", $args );
Copiar
Copiado
Copiar
Copiado
/**
/**
* UM hook
* UM hook
*
*
* @type action
* @type action
* @title um_after_
form
* @title um_after_
{$mode}_fields
* @description Some actions after login form fields
* @description Some actions after login form fields
* @input_vars
* @input_vars
* [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}]
* [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}]
* @change_log
* @change_log
* ["Since: 2.0"]
* ["Since: 2.0"]
* @usage add_action( 'um_after_
form
', 'function_name', 10, 1 );
* @usage add_action( 'um_after_
{$mode}_fields
', 'function_name', 10, 1 );
* @example
* @example
* <?php
* <?php
* add_action( 'um_after_
form
', 'my_after_form
', 10, 1 );
* add_action( 'um_after_
{$mode}_fields
', 'my_after_form
_fields
', 10, 1 );
* function my_after_form
( $args ) {
* function my_after_form
_fields
( $args ) {
* // your code here
* // your code here
* }
* }
* ?>
* ?>
*/
*/
do_action(
'
um_after_
form'
, $args );
?>
do_action(
"
um_after_
{$mode}_fields"
, $args );
Copiar
Copiado
Copiar
Copiado
/**
* UM hook
*
* @type action
* @title um_after_form
* @description Some actions after login form fields
* @input_vars
* [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}]
* @change_log
* ["Since: 2.0"]
* @usage add_action( 'um_after_form', 'function_name', 10, 1 );
* @example
* <?php
* add_action( 'um_after_form', 'my_after_form', 10, 1 );
* function my_after_form( $args ) {
* // your code here
* }
* ?>
*/
do_action( "um_after_form", $args ); ?>
</form>
</form>
</div>
</div>
</div>
</div>
Copiar
Copiado
Copiar
Copiado
Diferenças salvas
Texto original
Abrir arquivo
<?php /** * Template for the login form * * This template can be overridden by copying it to yourtheme/ultimate-member/templates/login.php * * Page: "Login" * * @version 2.6.1 * * @var string $mode * @var int $form_id * @var array $args */ if ( ! defined( 'ABSPATH' ) ) { exit; } ?> <div class="um <?php echo esc_attr( $this->get_class( $mode ) ); ?> um-<?php echo esc_attr( $form_id ); ?>"> <div class="um-form"> <form method="post" action="" autocomplete="off"> <?php /** * UM hook * * @type action * @title um_before_form * @description Some actions before login form * @input_vars * [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}] * @change_log * ["Since: 2.0"] * @usage add_action( 'um_before_form', 'function_name', 10, 1 ); * @example * <?php * add_action( 'um_before_form', 'my_before_form', 10, 1 ); * function my_before_form( $args ) { * // your code here * } * ?> */ do_action( 'um_before_form', $args ); /** * UM hook * * @type action * @title um_before_{$mode}_fields * @description Some actions before login form fields * @input_vars * [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}] * @change_log * ["Since: 2.0"] * @usage add_action( 'um_before_{$mode}_fields', 'function_name', 10, 1 ); * @example * <?php * add_action( 'um_before_{$mode}_fields', 'my_before_fields', 10, 1 ); * function my_before_form( $args ) { * // your code here * } * ?> */ do_action( "um_before_{$mode}_fields", $args ); /** * UM hook * * @type action * @title um_main_{$mode}_fields * @description Some actions before login form fields * @input_vars * [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}] * @change_log * ["Since: 2.0"] * @usage add_action( 'um_before_{$mode}_fields', 'function_name', 10, 1 ); * @example * <?php * add_action( 'um_before_{$mode}_fields', 'my_before_fields', 10, 1 ); * function my_before_form( $args ) { * // your code here * } * ?> */ do_action( "um_main_{$mode}_fields", $args ); /** * UM hook * * @type action * @title um_after_form_fields * @description Some actions after login form fields * @input_vars * [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}] * @change_log * ["Since: 2.0"] * @usage add_action( 'um_after_form_fields', 'function_name', 10, 1 ); * @example * <?php * add_action( 'um_after_form_fields', 'my_after_form_fields', 10, 1 ); * function my_after_form_fields( $args ) { * // your code here * } * ?> */ do_action( 'um_after_form_fields', $args ); /** * UM hook * * @type action * @title um_after_{$mode}_fields * @description Some actions after login form fields * @input_vars * [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}] * @change_log * ["Since: 2.0"] * @usage add_action( 'um_after_{$mode}_fields', 'function_name', 10, 1 ); * @example * <?php * add_action( 'um_after_{$mode}_fields', 'my_after_form_fields', 10, 1 ); * function my_after_form_fields( $args ) { * // your code here * } * ?> */ do_action( "um_after_{$mode}_fields", $args ); /** * UM hook * * @type action * @title um_after_form * @description Some actions after login form fields * @input_vars * [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}] * @change_log * ["Since: 2.0"] * @usage add_action( 'um_after_form', 'function_name', 10, 1 ); * @example * <?php * add_action( 'um_after_form', 'my_after_form', 10, 1 ); * function my_after_form( $args ) { * // your code here * } * ?> */ do_action( 'um_after_form', $args ); ?> </form> </div> </div>
Texto alterado
Abrir arquivo
<div class="um <?php echo $this->get_class( $mode ); ?> um-<?php echo esc_attr( $form_id ); ?>"> <div class="um-form"> <form method="post" action="" autocomplete="off"> <?php /** * UM hook * * @type action * @title um_before_form * @description Some actions before login form * @input_vars * [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}] * @change_log * ["Since: 2.0"] * @usage add_action( 'um_before_form', 'function_name', 10, 1 ); * @example * <?php * add_action( 'um_before_form', 'my_before_form', 10, 1 ); * function my_before_form( $args ) { * // your code here * } * ?> */ do_action( "um_before_form", $args ); /** * UM hook * * @type action * @title um_before_{$mode}_fields * @description Some actions before login form fields * @input_vars * [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}] * @change_log * ["Since: 2.0"] * @usage add_action( 'um_before_{$mode}_fields', 'function_name', 10, 1 ); * @example * <?php * add_action( 'um_before_{$mode}_fields', 'my_before_fields', 10, 1 ); * function my_before_form( $args ) { * // your code here * } * ?> */ do_action( "um_before_{$mode}_fields", $args ); /** * UM hook * * @type action * @title um_main_{$mode}_fields * @description Some actions before login form fields * @input_vars * [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}] * @change_log * ["Since: 2.0"] * @usage add_action( 'um_before_{$mode}_fields', 'function_name', 10, 1 ); * @example * <?php * add_action( 'um_before_{$mode}_fields', 'my_before_fields', 10, 1 ); * function my_before_form( $args ) { * // your code here * } * ?> */ do_action( "um_main_{$mode}_fields", $args ); /** * UM hook * * @type action * @title um_after_form_fields * @description Some actions after login form fields * @input_vars * [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}] * @change_log * ["Since: 2.0"] * @usage add_action( 'um_after_form_fields', 'function_name', 10, 1 ); * @example * <?php * add_action( 'um_after_form_fields', 'my_after_form_fields', 10, 1 ); * function my_after_form_fields( $args ) { * // your code here * } * ?> */ do_action( "um_after_form_fields", $args ); /** * UM hook * * @type action * @title um_after_{$mode}_fields * @description Some actions after login form fields * @input_vars * [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}] * @change_log * ["Since: 2.0"] * @usage add_action( 'um_after_{$mode}_fields', 'function_name', 10, 1 ); * @example * <?php * add_action( 'um_after_{$mode}_fields', 'my_after_form_fields', 10, 1 ); * function my_after_form_fields( $args ) { * // your code here * } * ?> */ do_action( "um_after_{$mode}_fields", $args ); /** * UM hook * * @type action * @title um_after_form * @description Some actions after login form fields * @input_vars * [{"var":"$args","type":"array","desc":"Login form shortcode arguments"}] * @change_log * ["Since: 2.0"] * @usage add_action( 'um_after_form', 'function_name', 10, 1 ); * @example * <?php * add_action( 'um_after_form', 'my_after_form', 10, 1 ); * function my_after_form( $args ) { * // your code here * } * ?> */ do_action( "um_after_form", $args ); ?> </form> </div> </div>
Encontrar Diferença