Diff
checker
Texto
Texto
Imágenes
Documentos
Excel
Carpetas
Legal
Enterprise
Aplicación de escritorio
Precios
Iniciar sesión
Descargar Diffchecker Desktop
Comparar texto
Encuentra la diferencia entre dos archivos de texto
Herramientas
Historial
Editor live
Ocultar sin cambios
Sin ajuste de línea
Vista
Dividido
Unificado
Nivel de detalle
Inteligente
Palabra
Letra
Resaltado de sintaxis
Elegir sintaxis
Ignorar
Transformar texto
Ir al primer cambio
Editar entrada
Diffchecker Desktop
La forma más segura de usar Diffchecker. ¡Obtén la app de Diffchecker Desktop: tus diffs nunca salen de tu computadora!
Obtener Desktop
login.php file version 2.6.1 vs. 2.0.4
Creado
hace 3 años
El diff nunca expira
Borrar
Exportar
Compartir
Explicar
169 eliminaciones
Líneas
Total
Eliminado
Caracteres
Total
Eliminado
Para continuar usando esta función, actualice a
Diff
checker
Pro
Ver precios
157 líneas
Copiar todo
48 adiciones
Líneas
Total
Añadido
Caracteres
Total
Añadido
Para continuar usando esta función, actualice a
Diff
checker
Pro
Ver precios
138 líneas
Copiar todo
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
Diferencias guardadas
Texto original
Abrir archivo
<?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 modificado
Abrir archivo
<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 la diferencia