Diff
checker
텍스트
텍스트
이미지
문서
Excel
폴더
Legal
Enterprise
데스크톱
요금제
로그인
데스크톱 앱 다운로드
텍스트 비교
두 텍스트 파일의 차이점을 찾아보세요
도구
기록
실시간 편집
변경 없는 행 숨기기
줄바꿈 비활성화
레이아웃
나란히 보기
합쳐 보기
비교 단위
스마트
단어
글자
구문 강조
언어 선택
제외
텍스트 변환
첫 변경으로
수정
Diffchecker Desktop
가장 안전하게 Diffchecker를 사용하는 방법. 데스크톱 앱을 사용하면 비교 데이터가 외부로 전송되지 않습니다!
데스크톱 앱 받기
login.php file version 2.6.1 vs. 2.0.4
생성일
3년 전
비교 결과 만료 없음
초기화
내보내기
공유
설명
169 삭제
행
총
삭제
글자
총
삭제
이 기능을 계속 사용하려면 업그레이드해 주세요
Diff
checker
Pro
요금제 보기
157 행
복사
48 추가
행
총
추가
글자
총
추가
이 기능을 계속 사용하려면 업그레이드해 주세요
Diff
checker
Pro
요금제 보기
138 행
복사
복사
복사됨
복사
복사됨
<?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">
복사
복사됨
복사
복사됨
<form method="post" action="" autocomplete="off">
<form method="post" action="" autocomplete="off">
복사
복사됨
복사
복사됨
<?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 );
복사
복사됨
복사
복사됨
/**
/**
* 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 );
복사
복사됨
복사
복사됨
/**
/**
* 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 );
복사
복사됨
복사
복사됨
/**
/**
* 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 );
복사
복사됨
복사
복사됨
/**
/**
* 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 );
복사
복사됨
복사
복사됨
/**
* 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>
복사
복사됨
복사
복사됨
저장된 비교 결과
원본
파일 열기
<?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>
수정본
파일 열기
<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>
비교하기