-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/add transcoded url meta #296
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code analysis identified issues
action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.
phpcs scanning turned up:
🚫 8 errors
skipped-files
Maximum number of lines exceeded (15000):
- assets/build/blocks/rt-player/index.js
Note that the above file(s) were not analyzed due to their length.
Powered by rtCamp's GitHub Actions Library
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code analysis identified issues
action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.
phpcs scanning turned up:
Powered by rtCamp's GitHub Actions Library
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code analysis identified issues
action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.
phpcs scanning turned up:
🚫 1 error
Powered by rtCamp's GitHub Actions Library
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code analysis identified issues
action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.
phpcs scanning turned up:
🚫 2 errors
Powered by rtCamp's GitHub Actions Library
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code analysis identified issues
action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.
phpcs scanning turned up:
🚫 1 error
Powered by rtCamp's GitHub Actions Library
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code analysis identified issues
action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.
phpcs scanning turned up:
Powered by rtCamp's GitHub Actions Library
Dismissing review as all inline comments are obsolete by now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code analysis identified issues
action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.
phpcs scanning turned up:
🚫 184 errors
Powered by rtCamp's GitHub Actions Library
Posting will continue in further review(s)
@@ -0,0 +1 @@ | |||
<?php return array('dependencies' => array('react', 'wp-api-fetch'), 'version' => 'af1c6d65e659f17b25f0'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Missing file doc comment (Squiz.Commenting.FileComment.Missing).
@@ -0,0 +1 @@ | |||
<?php return array('dependencies' => array('react', 'wp-api-fetch'), 'version' => 'af1c6d65e659f17b25f0'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space after the array opener in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceAfterArrayOpenerSingleLine).
@@ -0,0 +1 @@ | |||
<?php return array('dependencies' => array('react', 'wp-api-fetch'), 'version' => 'af1c6d65e659f17b25f0'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space before the array closer in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceBeforeArrayCloserSingleLine).
@@ -0,0 +1 @@ | |||
<?php return array('dependencies' => array('react', 'wp-api-fetch'), 'version' => 'af1c6d65e659f17b25f0'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: When a multi-item array uses associative keys, each value should start on a new line (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound).
@@ -1,4 +1,5 @@ | |||
<?php |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: There must be no blank lines before the file comment (Squiz.Commenting.FileComment.SpacingAfterOpen).
@@ -8,36 +9,46 @@ | |||
* @subpackage Transcoder/Admin/Partials | |||
*/ | |||
|
|||
$current_page = transcoder_filter_input( INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS ); | |||
$current_page = transcoder_filter_input(INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
@@ -8,36 +9,46 @@ | |||
* @subpackage Transcoder/Admin/Partials | |||
*/ | |||
|
|||
$current_page = transcoder_filter_input( INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS ); | |||
$current_page = transcoder_filter_input(INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
$current_page = transcoder_filter_input(INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS); | ||
|
||
// Check if the user has access to the transcoding service. | ||
$usage_details = get_site_option('rt-transcoding-usage'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
$current_page = transcoder_filter_input(INPUT_GET, 'page', FILTER_SANITIZE_FULL_SPECIAL_CHARS); | ||
|
||
// Check if the user has access to the transcoding service. | ||
$usage_details = get_site_option('rt-transcoding-usage'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
|
||
// Check if the user has access to the transcoding service. | ||
$usage_details = get_site_option('rt-transcoding-usage'); | ||
$usage = $usage_details[$this->api_key] ?? null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Array keys must be surrounded by spaces unless they contain a string or an integer (WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
// Check if the user has access to the transcoding service. | ||
$usage_details = get_site_option('rt-transcoding-usage'); | ||
$usage = $usage_details[$this->api_key] ?? null; | ||
$has_access = ! empty($this->api_key) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
// Check if the user has access to the transcoding service. | ||
$usage_details = get_site_option('rt-transcoding-usage'); | ||
$usage = $usage_details[$this->api_key] ?? null; | ||
$has_access = ! empty($this->api_key) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
$usage_details = get_site_option('rt-transcoding-usage'); | ||
$usage = $usage_details[$this->api_key] ?? null; | ||
$has_access = ! empty($this->api_key) && | ||
is_object($usage) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
$usage_details = get_site_option('rt-transcoding-usage'); | ||
$usage = $usage_details[$this->api_key] ?? null; | ||
$has_access = ! empty($this->api_key) && | ||
is_object($usage) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
$usage = $usage_details[$this->api_key] ?? null; | ||
$has_access = ! empty($this->api_key) && | ||
is_object($usage) && | ||
! empty($usage->status) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
$usage = $usage_details[$this->api_key] ?? null; | ||
$has_access = ! empty($this->api_key) && | ||
is_object($usage) && | ||
! empty($usage->status) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
$has_access = ! empty($this->api_key) && | ||
is_object($usage) && | ||
! empty($usage->status) && | ||
(! isset($usage->remaining) || $usage->remaining > 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space after open parenthesis; 0 found (Generic.WhiteSpace.ArbitraryParenthesesSpacing.SpaceAfterOpen).
$has_access = ! empty($this->api_key) && | ||
is_object($usage) && | ||
! empty($usage->status) && | ||
(! isset($usage->remaining) || $usage->remaining > 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space before "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore).
$has_access = ! empty($this->api_key) && | ||
is_object($usage) && | ||
! empty($usage->status) && | ||
(! isset($usage->remaining) || $usage->remaining > 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
$has_access = ! empty($this->api_key) && | ||
is_object($usage) && | ||
! empty($usage->status) && | ||
(! isset($usage->remaining) || $usage->remaining > 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
$has_access = ! empty($this->api_key) && | ||
is_object($usage) && | ||
! empty($usage->status) && | ||
(! isset($usage->remaining) || $usage->remaining > 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space before close parenthesis; 0 found (Generic.WhiteSpace.ArbitraryParenthesesSpacing.SpaceBeforeClose).
?> | ||
<div class="wrap"> | ||
<h1 class="rtm-option-title"> | ||
<?php esc_html_e( 'Transcoder Service Settings', 'transcoder' ); ?> | ||
<?php esc_html_e('Transcoder Service Settings', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
?> | ||
<div class="wrap"> | ||
<h1 class="rtm-option-title"> | ||
<?php esc_html_e( 'Transcoder Service Settings', 'transcoder' ); ?> | ||
<?php esc_html_e('Transcoder Service Settings', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<span class="alignright by"> | ||
<a class="rt-link" | ||
href="https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign=transcoder" | ||
target="_blank" | ||
title="rtCamp : <?php esc_attr_e( 'Empowering The Web With WordPress', 'transcoder' ); ?>"> | ||
<img src="<?php echo esc_url( RT_TRANSCODER_URL ); ?>admin/images/rtcamp-logo.png" alt="rtCamp"/> | ||
title="rtCamp : <?php esc_attr_e('Empowering The Web With WordPress', 'transcoder'); ?>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<span class="alignright by"> | ||
<a class="rt-link" | ||
href="https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign=transcoder" | ||
target="_blank" | ||
title="rtCamp : <?php esc_attr_e( 'Empowering The Web With WordPress', 'transcoder' ); ?>"> | ||
<img src="<?php echo esc_url( RT_TRANSCODER_URL ); ?>admin/images/rtcamp-logo.png" alt="rtCamp"/> | ||
title="rtCamp : <?php esc_attr_e('Empowering The Web With WordPress', 'transcoder'); ?>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
title="rtCamp : <?php esc_attr_e( 'Empowering The Web With WordPress', 'transcoder' ); ?>"> | ||
<img src="<?php echo esc_url( RT_TRANSCODER_URL ); ?>admin/images/rtcamp-logo.png" alt="rtCamp"/> | ||
title="rtCamp : <?php esc_attr_e('Empowering The Web With WordPress', 'transcoder'); ?>"> | ||
<img src="<?php echo esc_url(RT_TRANSCODER_URL); ?>admin/images/rtcamp-logo.png" alt="rtCamp" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
title="rtCamp : <?php esc_attr_e( 'Empowering The Web With WordPress', 'transcoder' ); ?>"> | ||
<img src="<?php echo esc_url( RT_TRANSCODER_URL ); ?>admin/images/rtcamp-logo.png" alt="rtCamp"/> | ||
title="rtCamp : <?php esc_attr_e('Empowering The Web With WordPress', 'transcoder'); ?>"> | ||
<img src="<?php echo esc_url(RT_TRANSCODER_URL); ?>admin/images/rtcamp-logo.png" alt="rtCamp" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</a> | ||
</span> | ||
</h1> | ||
<div id="rtt-settings_updated" class="updated settings-error notice is-dismissible hide"> | ||
<p></p> | ||
<button type="button" class="notice-dismiss"> | ||
<span class="screen-reader-text"><?php esc_html_e( 'Dismiss this notice', 'transcoder' ); ?>.</span> | ||
<span class="screen-reader-text"><?php esc_html_e('Dismiss this notice', 'transcoder'); ?>.</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</a> | ||
</span> | ||
</h1> | ||
<div id="rtt-settings_updated" class="updated settings-error notice is-dismissible hide"> | ||
<p></p> | ||
<button type="button" class="notice-dismiss"> | ||
<span class="screen-reader-text"><?php esc_html_e( 'Dismiss this notice', 'transcoder' ); ?>.</span> | ||
<span class="screen-reader-text"><?php esc_html_e('Dismiss this notice', 'transcoder'); ?>.</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</button> | ||
</div> | ||
<div class="transcoder-settings-boxes-wrapper"> | ||
<div id="transcoder-settings-boxes" class="transcoder-settings-boxes-container transcoder-setting-container"> | ||
<p> | ||
<form method="get" action="<?php echo esc_url( admin_url( 'admin.php' ) ); ?>"> | ||
<form method="get" action="<?php echo esc_url(admin_url('admin.php')); ?>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
</button> | ||
</div> | ||
<div class="transcoder-settings-boxes-wrapper"> | ||
<div id="transcoder-settings-boxes" class="transcoder-settings-boxes-container transcoder-setting-container"> | ||
<p> | ||
<form method="get" action="<?php echo esc_url( admin_url( 'admin.php' ) ); ?>"> | ||
<form method="get" action="<?php echo esc_url(admin_url('admin.php')); ?>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<label for="new-api-key"> | ||
<?php esc_html_e( 'Enter License Key', 'transcoder' ); ?> | ||
<?php esc_html_e('Enter License Key', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<label for="new-api-key"> | ||
<?php esc_html_e( 'Enter License Key', 'transcoder' ); ?> | ||
<?php esc_html_e('Enter License Key', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<input type="hidden" name="page" value="<?php echo esc_attr( $current_page ); ?>"> | ||
<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr( $this->stored_api_key ); ?>" size="60"/> | ||
<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e( 'Save Key', 'transcoder' ); ?></button> | ||
<input type="hidden" name="page" value="<?php echo esc_attr($current_page); ?>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<input type="hidden" name="page" value="<?php echo esc_attr( $current_page ); ?>"> | ||
<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr( $this->stored_api_key ); ?>" size="60"/> | ||
<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e( 'Save Key', 'transcoder' ); ?></button> | ||
<input type="hidden" name="page" value="<?php echo esc_attr($current_page); ?>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr( $this->stored_api_key ); ?>" size="60"/> | ||
<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e( 'Save Key', 'transcoder' ); ?></button> | ||
<input type="hidden" name="page" value="<?php echo esc_attr($current_page); ?>"> | ||
<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr($this->stored_api_key); ?>" size="60" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr( $this->stored_api_key ); ?>" size="60"/> | ||
<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e( 'Save Key', 'transcoder' ); ?></button> | ||
<input type="hidden" name="page" value="<?php echo esc_attr($current_page); ?>"> | ||
<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr($this->stored_api_key); ?>" size="60" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e( 'Save Key', 'transcoder' ); ?></button> | ||
<input type="hidden" name="page" value="<?php echo esc_attr($current_page); ?>"> | ||
<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr($this->stored_api_key); ?>" size="60" /> | ||
<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e('Save Key', 'transcoder'); ?></button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e( 'Save Key', 'transcoder' ); ?></button> | ||
<input type="hidden" name="page" value="<?php echo esc_attr($current_page); ?>"> | ||
<input id="new-api-key" type="text" name="apikey" value="<?php echo esc_attr($this->stored_api_key); ?>" size="60" /> | ||
<button type="submit" id="api-key-submit" name="update" value="true" class="button-primary"><?php esc_html_e('Save Key', 'transcoder'); ?></button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
@@ -47,144 +58,144 @@ | |||
$enable_btn_style = 'display:none;'; | |||
$disable_btn_style = 'display:none;'; | |||
|
|||
if ( $this->api_key ) { | |||
if ($this->api_key) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
@@ -47,144 +58,144 @@ | |||
$enable_btn_style = 'display:none;'; | |||
$disable_btn_style = 'display:none;'; | |||
|
|||
if ( $this->api_key ) { | |||
if ($this->api_key) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
$enable_btn_style = 'display:inline;'; | ||
} elseif ( $this->stored_api_key ) { | ||
} elseif ($this->stored_api_key) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).
$enable_btn_style = 'display:inline;'; | ||
} elseif ( $this->stored_api_key ) { | ||
} elseif ($this->stored_api_key) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
$disable_btn_style = 'display:inline;'; | ||
} | ||
?> | ||
<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr( $enable_btn_style ); ?>"/> | ||
<input type="submit" id="enable-transcoding" name="enable-transcoding" value="Enable Transcoding" class="button-secondary" style="<?php echo esc_attr( $disable_btn_style ); ?>"/> | ||
<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr($enable_btn_style); ?>" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
$disable_btn_style = 'display:inline;'; | ||
} | ||
?> | ||
<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr( $enable_btn_style ); ?>"/> | ||
<input type="submit" id="enable-transcoding" name="enable-transcoding" value="Enable Transcoding" class="button-secondary" style="<?php echo esc_attr( $disable_btn_style ); ?>"/> | ||
<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr($enable_btn_style); ?>" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr( $enable_btn_style ); ?>"/> | ||
<input type="submit" id="enable-transcoding" name="enable-transcoding" value="Enable Transcoding" class="button-secondary" style="<?php echo esc_attr( $disable_btn_style ); ?>"/> | ||
<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr($enable_btn_style); ?>" /> | ||
<input type="submit" id="enable-transcoding" name="enable-transcoding" value="Enable Transcoding" class="button-secondary" style="<?php echo esc_attr($disable_btn_style); ?>" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr( $enable_btn_style ); ?>"/> | ||
<input type="submit" id="enable-transcoding" name="enable-transcoding" value="Enable Transcoding" class="button-secondary" style="<?php echo esc_attr( $disable_btn_style ); ?>"/> | ||
<input type="submit" id="disable-transcoding" name="disable-transcoding" value="Disable Transcoding" class="button-secondary" style="<?php echo esc_attr($enable_btn_style); ?>" /> | ||
<input type="submit" id="enable-transcoding" name="enable-transcoding" value="Enable Transcoding" class="button-secondary" style="<?php echo esc_attr($disable_btn_style); ?>" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</tr> | ||
<tr> | ||
<th> | ||
<?php esc_html_e('Feature\Plan', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</tr> | ||
<tr> | ||
<th> | ||
<?php esc_html_e('Feature\Plan', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php esc_html_e('Feature\Plan', 'transcoder'); ?> | ||
</th> | ||
<th> | ||
<?php esc_html_e('Free', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
<?php esc_html_e('Feature\Plan', 'transcoder'); ?> | ||
</th> | ||
<th> | ||
<?php esc_html_e('Free', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php esc_html_e('Free', 'transcoder'); ?> | ||
</th> | ||
<th> | ||
<?php esc_html_e('Silver', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<?php esc_html_e('Free', 'transcoder'); ?> | ||
</th> | ||
<th> | ||
<?php esc_html_e('Silver', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php | ||
<tr> | ||
<th> | ||
<?php esc_html_e('File Size Limit', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<?php | ||
<tr> | ||
<th> | ||
<?php esc_html_e('File Size Limit', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php esc_html_e('File Size Limit', 'transcoder'); ?> | ||
</th> | ||
<td> | ||
<?php esc_html_e('100MB', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<?php esc_html_e('File Size Limit', 'transcoder'); ?> | ||
</th> | ||
<td> | ||
<?php esc_html_e('100MB', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php esc_html_e('100MB', 'transcoder'); ?> | ||
</td> | ||
<td> | ||
<?php esc_html_e('16GB', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<?php esc_html_e('100MB', 'transcoder'); ?> | ||
</td> | ||
<td> | ||
<?php esc_html_e('16GB', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</tr> | ||
<tr> | ||
<th> | ||
<?php esc_html_e('Bandwidth (monthly)', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
</tr> | ||
<tr> | ||
<th> | ||
<?php esc_html_e('Bandwidth (monthly)', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php esc_html_e('Bandwidth (monthly)', 'transcoder'); ?> | ||
</th> | ||
<td> | ||
<?php esc_html_e('5GB', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<?php esc_html_e('Bandwidth (monthly)', 'transcoder'); ?> | ||
</th> | ||
<td> | ||
<?php esc_html_e('5GB', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php esc_html_e('5GB', 'transcoder'); ?> | ||
</td> | ||
<td> | ||
<?php esc_html_e('100GB', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<?php esc_html_e('5GB', 'transcoder'); ?> | ||
</td> | ||
<td> | ||
<?php esc_html_e('100GB', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</tr> | ||
<tr> | ||
<th> | ||
<?php esc_html_e('Overage Bandwidth', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</tr> | ||
<tr> | ||
<th> | ||
<?php esc_html_e('Overage Bandwidth', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php esc_html_e('Overage Bandwidth', 'transcoder'); ?> | ||
</th> | ||
<td> | ||
<?php esc_html_e('Not Available', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<?php esc_html_e('Overage Bandwidth', 'transcoder'); ?> | ||
</th> | ||
<td> | ||
<?php esc_html_e('Not Available', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php esc_html_e('Not Available', 'transcoder'); ?> | ||
</td> | ||
<td> | ||
<?php esc_html_e('Currently not charged', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
<span class="rtm-tooltip"> | ||
<i class="dashicons dashicons-info" style="padding-top:3px"></i> | ||
<span class="rtm-tip"> | ||
<?php | ||
|
||
esc_html_e( 'If enabled, It will display check status button to know status of transcoding process at client side if that user have administrator rights.', 'transcoder' ); | ||
esc_html_e('If enabled, It will display check status button to know status of transcoding process at client side if that user have administrator rights.', 'transcoder'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</tr> | ||
<tr valign="top"> | ||
<td scope="row"> | ||
<?php esc_html_e('Enable Adaptive Bitrate Streaming', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</tr> | ||
<tr valign="top"> | ||
<td scope="row"> | ||
<?php esc_html_e('Enable Adaptive Bitrate Streaming', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</td> | ||
<td> | ||
<?php | ||
$rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</td> | ||
<td> | ||
<?php | ||
$rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php | ||
$rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); | ||
?> | ||
<input type="checkbox" name="rtt_adaptive_bitrate_streaming" value="1" <?php checked($rtt_enable_adaptive_bitrate, 1); ?> <?php disabled(! $has_access); ?> /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<?php | ||
$rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); | ||
?> | ||
<input type="checkbox" name="rtt_adaptive_bitrate_streaming" value="1" <?php checked($rtt_enable_adaptive_bitrate, 1); ?> <?php disabled(! $has_access); ?> /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php | ||
$rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); | ||
?> | ||
<input type="checkbox" name="rtt_adaptive_bitrate_streaming" value="1" <?php checked($rtt_enable_adaptive_bitrate, 1); ?> <?php disabled(! $has_access); ?> /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space before "!"; 0 found (WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore).
<i class="dashicons dashicons-info" style="padding-top:3px"></i> | ||
<span class="rtm-tip"> | ||
<?php | ||
esc_html_e('If enabled, Transcoder will generate multiple video files with different bitrates for adaptive streaming. This feature is only available for paid subscriptions.', 'transcoder'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<i class="dashicons dashicons-info" style="padding-top:3px"></i> | ||
<span class="rtm-tip"> | ||
<?php | ||
esc_html_e('If enabled, Transcoder will generate multiple video files with different bitrates for adaptive streaming. This feature is only available for paid subscriptions.', 'transcoder'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
</tr> | ||
<tr valign="top" class="<?php echo ! $has_access ? 'rtt-premium-feature' : ''; ?>"> | ||
<td scope="row"> | ||
<?php esc_html_e('Enable Watermark', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</tr> | ||
<tr valign="top" class="<?php echo ! $has_access ? 'rtt-premium-feature' : ''; ?>"> | ||
<td scope="row"> | ||
<?php esc_html_e('Enable Watermark', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</td> | ||
<td> | ||
<?php | ||
$rtt_watermark = get_option('rtt_watermark', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</td> | ||
<td> | ||
<?php | ||
$rtt_watermark = get_option('rtt_watermark', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php | ||
$rtt_watermark = get_option('rtt_watermark', false); | ||
?> | ||
<input type="checkbox" id="watermark-checkbox" name="rtt_watermark" value="1" <?php checked($rtt_watermark, 1); ?> <?php echo disabled( ! $has_access ); ?> /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<?php | ||
$rtt_watermark = get_option('rtt_watermark', false); | ||
?> | ||
<input type="checkbox" id="watermark-checkbox" name="rtt_watermark" value="1" <?php checked($rtt_watermark, 1); ?> <?php echo disabled( ! $has_access ); ?> /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<i class="dashicons dashicons-info" style="padding-top:3px"></i> | ||
<span class="rtm-tip"> | ||
<?php | ||
esc_html_e('If enabled, Transcoder will add a watermark to the transcoded video. This feature is only available for paid subscriptions.', 'transcoder'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<i class="dashicons dashicons-info" style="padding-top:3px"></i> | ||
<span class="rtm-tip"> | ||
<?php | ||
esc_html_e('If enabled, Transcoder will add a watermark to the transcoded video. This feature is only available for paid subscriptions.', 'transcoder'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</td> | ||
<td> | ||
<?php | ||
$rtt_watermark_text = get_option('rtt_watermark_text', ''); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</td> | ||
<td> | ||
<?php | ||
$rtt_watermark_text = get_option('rtt_watermark_text', ''); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
@@ -283,7 +351,7 @@ | |||
echo wp_kses( | |||
sprintf( | |||
/* translators: 1. URL of documentation page. */ | |||
__( 'Visit our <a href="%1$s">documentation page</a> for more details', 'transcoder' ), | |||
__('Visit our <a href="%1$s">documentation page</a> for more details', 'transcoder'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
@@ -283,7 +351,7 @@ | |||
echo wp_kses( | |||
sprintf( | |||
/* translators: 1. URL of documentation page. */ | |||
__( 'Visit our <a href="%1$s">documentation page</a> for more details', 'transcoder' ), | |||
__('Visit our <a href="%1$s">documentation page</a> for more details', 'transcoder'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
@@ -317,41 +385,41 @@ | |||
</div> | |||
|
|||
<div class="metabox-holder transcoder-sidebar"> | |||
<?php do_action( 'rt_transcoder_before_widgets' ); ?> | |||
<?php do_action('rt_transcoder_before_widgets'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
@@ -317,41 +385,41 @@ | |||
</div> | |||
|
|||
<div class="metabox-holder transcoder-sidebar"> | |||
<?php do_action( 'rt_transcoder_before_widgets' ); ?> | |||
<?php do_action('rt_transcoder_before_widgets'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<div class="postbox" id="rt-spread-the-word"> | ||
<h3 class="hndle"> | ||
<span> | ||
<?php esc_html_e( 'Spread the Word', 'transcoder' ); ?> | ||
<?php esc_html_e('Spread the Word', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<div class="postbox" id="rt-spread-the-word"> | ||
<h3 class="hndle"> | ||
<span> | ||
<?php esc_html_e( 'Spread the Word', 'transcoder' ); ?> | ||
<?php esc_html_e('Spread the Word', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</span> | ||
</h3> | ||
<div class="inside"> | ||
<div id="social" class="rtm-social-share"> | ||
<?php | ||
|
||
// translators: Placeholde contains link of the home url. | ||
$message = sprintf( esc_html__( 'I use @rtMediaWP http://rt.cx/rtmedia on %s', 'transcoder' ), home_url() ); | ||
$message = sprintf(esc_html__('I use @rtMediaWP http://rt.cx/rtmedia on %s', 'transcoder'), home_url()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</span> | ||
</h3> | ||
<div class="inside"> | ||
<div id="social" class="rtm-social-share"> | ||
<?php | ||
|
||
// translators: Placeholde contains link of the home url. | ||
$message = sprintf( esc_html__( 'I use @rtMediaWP http://rt.cx/rtmedia on %s', 'transcoder' ), home_url() ); | ||
$message = sprintf(esc_html__('I use @rtMediaWP http://rt.cx/rtmedia on %s', 'transcoder'), home_url()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
?> | ||
<p> | ||
<a href="http://twitter.com/home/?status=<?php echo esc_attr( $message ); ?>" class="button twitter" target= "_blank" title="<?php esc_attr_e( 'Post to Twitter Now', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Post to Twitter', 'transcoder' ); ?> | ||
<a href="http://twitter.com/home/?status=<?php echo esc_attr($message); ?>" class="button twitter" target="_blank" title="<?php esc_attr_e('Post to Twitter Now', 'transcoder'); ?>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
?> | ||
<p> | ||
<a href="http://twitter.com/home/?status=<?php echo esc_attr( $message ); ?>" class="button twitter" target= "_blank" title="<?php esc_attr_e( 'Post to Twitter Now', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Post to Twitter', 'transcoder' ); ?> | ||
<a href="http://twitter.com/home/?status=<?php echo esc_attr($message); ?>" class="button twitter" target="_blank" title="<?php esc_attr_e('Post to Twitter Now', 'transcoder'); ?>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
<a href="http://twitter.com/home/?status=<?php echo esc_attr( $message ); ?>" class="button twitter" target= "_blank" title="<?php esc_attr_e( 'Post to Twitter Now', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Post to Twitter', 'transcoder' ); ?> | ||
<a href="http://twitter.com/home/?status=<?php echo esc_attr($message); ?>" class="button twitter" target="_blank" title="<?php esc_attr_e('Post to Twitter Now', 'transcoder'); ?>"> | ||
<?php esc_html_e('Post to Twitter', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<a href="http://twitter.com/home/?status=<?php echo esc_attr( $message ); ?>" class="button twitter" target= "_blank" title="<?php esc_attr_e( 'Post to Twitter Now', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Post to Twitter', 'transcoder' ); ?> | ||
<a href="http://twitter.com/home/?status=<?php echo esc_attr($message); ?>" class="button twitter" target="_blank" title="<?php esc_attr_e('Post to Twitter Now', 'transcoder'); ?>"> | ||
<?php esc_html_e('Post to Twitter', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<span class="dashicons dashicons-twitter"></span> | ||
</a> | ||
</p> | ||
<p> | ||
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e( 'Share on Facebook Now', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Share on Facebook', 'transcoder' ); ?> | ||
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e('Share on Facebook Now', 'transcoder'); ?>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<span class="dashicons dashicons-twitter"></span> | ||
</a> | ||
</p> | ||
<p> | ||
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e( 'Share on Facebook Now', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Share on Facebook', 'transcoder' ); ?> | ||
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e('Share on Facebook Now', 'transcoder'); ?>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e( 'Share on Facebook Now', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Share on Facebook', 'transcoder' ); ?> | ||
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e('Share on Facebook Now', 'transcoder'); ?>"> | ||
<?php esc_html_e('Share on Facebook', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e( 'Share on Facebook Now', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Share on Facebook', 'transcoder' ); ?> | ||
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="<?php esc_attr_e('Share on Facebook Now', 'transcoder'); ?>"> | ||
<?php esc_html_e('Share on Facebook', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<span class="dashicons dashicons-facebook"></span> | ||
</a> | ||
</p> | ||
<p> | ||
<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target= "_blank" title="<?php esc_attr_e( 'Rate rtMedia on Wordpress.org', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Rate on Wordpress.org', 'transcoder' ); ?> | ||
<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target="_blank" title="<?php esc_attr_e('Rate rtMedia on Wordpress.org', 'transcoder'); ?>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<span class="dashicons dashicons-facebook"></span> | ||
</a> | ||
</p> | ||
<p> | ||
<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target= "_blank" title="<?php esc_attr_e( 'Rate rtMedia on Wordpress.org', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Rate on Wordpress.org', 'transcoder' ); ?> | ||
<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target="_blank" title="<?php esc_attr_e('Rate rtMedia on Wordpress.org', 'transcoder'); ?>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target= "_blank" title="<?php esc_attr_e( 'Rate rtMedia on Wordpress.org', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Rate on Wordpress.org', 'transcoder' ); ?> | ||
<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target="_blank" title="<?php esc_attr_e('Rate rtMedia on Wordpress.org', 'transcoder'); ?>"> | ||
<?php esc_html_e('Rate on Wordpress.org', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target= "_blank" title="<?php esc_attr_e( 'Rate rtMedia on Wordpress.org', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Rate on Wordpress.org', 'transcoder' ); ?> | ||
<a href="http://wordpress.org/support/view/plugin-reviews/transcoder?rate=5#postform" class="button wordpress" target="_blank" title="<?php esc_attr_e('Rate rtMedia on Wordpress.org', 'transcoder'); ?>"> | ||
<?php esc_html_e('Rate on Wordpress.org', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
<span class="dashicons dashicons-wordpress"></span> | ||
</a> | ||
</p> | ||
<p> | ||
<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e( 'Subscribe to our Feeds', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Subscribe to our Feeds', 'transcoder' ); ?> | ||
<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e('Subscribe to our Feeds', 'transcoder'); ?>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<span class="dashicons dashicons-wordpress"></span> | ||
</a> | ||
</p> | ||
<p> | ||
<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e( 'Subscribe to our Feeds', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Subscribe to our Feeds', 'transcoder' ); ?> | ||
<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e('Subscribe to our Feeds', 'transcoder'); ?>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e( 'Subscribe to our Feeds', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Subscribe to our Feeds', 'transcoder' ); ?> | ||
<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e('Subscribe to our Feeds', 'transcoder'); ?>"> | ||
<?php esc_html_e('Subscribe to our Feeds', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e( 'Subscribe to our Feeds', 'transcoder' ); ?>"> | ||
<?php esc_html_e( 'Subscribe to our Feeds', 'transcoder' ); ?> | ||
<a href="https://rtmedia.io/feed/" class="button rss" target="_blank" title="<?php esc_attr_e('Subscribe to our Feeds', 'transcoder'); ?>"> | ||
<?php esc_html_e('Subscribe to our Feeds', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
@@ -361,7 +429,7 @@ | |||
<div class="postbox" id="rt-subscribe"> | |||
<h3 class="hndle"> | |||
<span> | |||
<?php esc_html_e( 'Subscribe', 'transcoder' ); ?> | |||
<?php esc_html_e('Subscribe', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
@@ -361,7 +429,7 @@ | |||
<div class="postbox" id="rt-subscribe"> | |||
<h3 class="hndle"> | |||
<span> | |||
<?php esc_html_e( 'Subscribe', 'transcoder' ); ?> | |||
<?php esc_html_e('Subscribe', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
@@ -371,9 +439,9 @@ | |||
method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" | |||
target="_blank" novalidate> | |||
<div class="mc-field-group"> | |||
<input type="email" value="<?php echo esc_attr( $the_current_user->user_email ); ?>" name="EMAIL" placeholder="Email" class="required email" id="mce-EMAIL" /> | |||
<input type="email" value="<?php echo esc_attr($the_current_user->user_email); ?>" name="EMAIL" placeholder="Email" class="required email" id="mce-EMAIL" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
@@ -371,9 +439,9 @@ | |||
method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" | |||
target="_blank" novalidate> | |||
<div class="mc-field-group"> | |||
<input type="email" value="<?php echo esc_attr( $the_current_user->user_email ); ?>" name="EMAIL" placeholder="Email" class="required email" id="mce-EMAIL" /> | |||
<input type="email" value="<?php echo esc_attr($the_current_user->user_email); ?>" name="EMAIL" placeholder="Email" class="required email" id="mce-EMAIL" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<input style="display:none;" type="checkbox" checked="checked" value="1" name="group[1721][1]" id="mce-group[1721]-1721-0" /> | ||
<input type="submit" value="<?php esc_attr_e( 'Subscribe', 'transcoder' ); ?>" name="subscribe" id="mc-embedded-subscribe" class="button" /> | ||
<input type="submit" value="<?php esc_attr_e('Subscribe', 'transcoder'); ?>" name="subscribe" id="mc-embedded-subscribe" class="button" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<input style="display:none;" type="checkbox" checked="checked" value="1" name="group[1721][1]" id="mce-group[1721]-1721-0" /> | ||
<input type="submit" value="<?php esc_attr_e( 'Subscribe', 'transcoder' ); ?>" name="subscribe" id="mc-embedded-subscribe" class="button" /> | ||
<input type="submit" value="<?php esc_attr_e('Subscribe', 'transcoder'); ?>" name="subscribe" id="mc-embedded-subscribe" class="button" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
@@ -0,0 +1 @@ | |||
<?php return array('dependencies' => array(), 'version' => 'fd0a9a7cdb2f028af078'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Missing file doc comment (Squiz.Commenting.FileComment.Missing).
@@ -0,0 +1 @@ | |||
<?php return array('dependencies' => array(), 'version' => 'fd0a9a7cdb2f028af078'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space after the array opener in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceAfterArrayOpenerSingleLine).
@@ -0,0 +1 @@ | |||
<?php return array('dependencies' => array(), 'version' => 'fd0a9a7cdb2f028af078'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: When a multi-item array uses associative keys, each value should start on a new line (WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound).
@@ -0,0 +1 @@ | |||
<?php return array('dependencies' => array(), 'version' => 'fd0a9a7cdb2f028af078'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 space before the array closer in a single line array. Found: no spaces (NormalizedArrays.Arrays.ArrayBraceSpacing.SpaceBeforeArrayCloserSingleLine).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code analysis identified issues
action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.
phpcs scanning turned up:
🚫 68 errors
Powered by rtCamp's GitHub Actions Library
Posting will continue in further review(s)
</tr> | ||
<tr> | ||
<th> | ||
<?php esc_html_e('HD Profile', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</tr> | ||
<tr> | ||
<th> | ||
<?php esc_html_e('HD Profile', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php esc_html_e('HD Profile', 'transcoder'); ?> | ||
</th> | ||
<td> | ||
<?php esc_html_e('Not Available', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<?php esc_html_e('HD Profile', 'transcoder'); ?> | ||
</th> | ||
<td> | ||
<?php esc_html_e('Not Available', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php esc_html_e('Not Available', 'transcoder'); ?> | ||
</td> | ||
<td> | ||
<?php esc_html_e('Coming Soon', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<?php esc_html_e('Not Available', 'transcoder'); ?> | ||
</td> | ||
<td> | ||
<?php esc_html_e('Coming Soon', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</tr> | ||
<tr> | ||
<th> | ||
<?php esc_html_e('Pricing', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</tr> | ||
<tr> | ||
<th> | ||
<?php esc_html_e('Pricing', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<?php esc_html_e('Pricing', 'transcoder'); ?> | ||
</th> | ||
<td> | ||
<?php esc_html_e('Free', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<?php esc_html_e('Pricing', 'transcoder'); ?> | ||
</th> | ||
<td> | ||
<?php esc_html_e('Free', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
<?php esc_html_e('Free', 'transcoder'); ?> | ||
</td> | ||
<td> | ||
<?php esc_html_e('$9/month', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<?php esc_html_e('Free', 'transcoder'); ?> | ||
</td> | ||
<td> | ||
<?php esc_html_e('$9/month', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</td> | ||
<td> | ||
<?php | ||
$button = $this->transcoding_subscription_button('free', 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</td> | ||
<td> | ||
<?php | ||
$button = $this->transcoding_subscription_button('free', 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<td> | ||
<?php | ||
$button = $this->transcoding_subscription_button('free', 0); | ||
echo wp_kses($button, $allowed_tags); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<td> | ||
<?php | ||
$button = $this->transcoding_subscription_button('free', 0); | ||
echo wp_kses($button, $allowed_tags); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
?> | ||
</td> | ||
</tr> | ||
$button = $this->transcoding_subscription_button('silver', 9); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
?> | ||
</td> | ||
</tr> | ||
$button = $this->transcoding_subscription_button('silver', 9); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</td> | ||
</tr> | ||
$button = $this->transcoding_subscription_button('silver', 9); | ||
echo wp_kses($button, $allowed_tags); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</td> | ||
</tr> | ||
$button = $this->transcoding_subscription_button('silver', 9); | ||
echo wp_kses($button, $allowed_tags); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
@@ -196,7 +207,7 @@ | |||
'i' => array(), | |||
'strong' => array(), | |||
); | |||
printf( wp_kses( __( '<strong>Note</strong>: Transcoder will only work on publicly accessible websites. If you are using Transcoder on a <strong>locally hosted website</strong> (i.e. <strong>localhost</strong>), we will be unable to identify the source of your audio/video transcoding requests.', 'transcoder' ), $allowed_tags ) ); | |||
printf(wp_kses(__('<strong>Note</strong>: Transcoder will only work on publicly accessible websites. If you are using Transcoder on a <strong>locally hosted website</strong> (i.e. <strong>localhost</strong>), we will be unable to identify the source of your audio/video transcoding requests.', 'transcoder'), $allowed_tags)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
@@ -196,7 +207,7 @@ | |||
'i' => array(), | |||
'strong' => array(), | |||
); | |||
printf( wp_kses( __( '<strong>Note</strong>: Transcoder will only work on publicly accessible websites. If you are using Transcoder on a <strong>locally hosted website</strong> (i.e. <strong>localhost</strong>), we will be unable to identify the source of your audio/video transcoding requests.', 'transcoder' ), $allowed_tags ) ); | |||
printf(wp_kses(__('<strong>Note</strong>: Transcoder will only work on publicly accessible websites. If you are using Transcoder on a <strong>locally hosted website</strong> (i.e. <strong>localhost</strong>), we will be unable to identify the source of your audio/video transcoding requests.', 'transcoder'), $allowed_tags)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
@@ -206,71 +217,128 @@ | |||
<form method="post" action="options.php"> | |||
<?php | |||
|
|||
settings_fields( 'rt-transcoder-settings-group' ); | |||
do_settings_sections( 'rt-transcoder-settings-group' ); | |||
settings_fields('rt-transcoder-settings-group'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
@@ -206,71 +217,128 @@ | |||
<form method="post" action="options.php"> | |||
<?php | |||
|
|||
settings_fields( 'rt-transcoder-settings-group' ); | |||
do_settings_sections( 'rt-transcoder-settings-group' ); | |||
settings_fields('rt-transcoder-settings-group'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
settings_fields( 'rt-transcoder-settings-group' ); | ||
do_settings_sections( 'rt-transcoder-settings-group' ); | ||
settings_fields('rt-transcoder-settings-group'); | ||
do_settings_sections('rt-transcoder-settings-group'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
settings_fields( 'rt-transcoder-settings-group' ); | ||
do_settings_sections( 'rt-transcoder-settings-group' ); | ||
settings_fields('rt-transcoder-settings-group'); | ||
do_settings_sections('rt-transcoder-settings-group'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
?> | ||
<table class="form-table"> | ||
<tr valign="top"> | ||
<td scope="row"> | ||
<?php esc_html_e( 'Number of video thumbnails generated', 'transcoder' ); ?> | ||
<?php esc_html_e('Number of video thumbnails generated', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
?> | ||
<table class="form-table"> | ||
<tr valign="top"> | ||
<td scope="row"> | ||
<?php esc_html_e( 'Number of video thumbnails generated', 'transcoder' ); ?> | ||
<?php esc_html_e('Number of video thumbnails generated', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</td> | ||
<td> | ||
<?php | ||
|
||
$number_of_thumbnails = get_option( 'number_of_thumbs', 5 ); | ||
if ( empty( $number_of_thumbnails ) ) { | ||
$number_of_thumbnails = get_option('number_of_thumbs', 5); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</td> | ||
<td> | ||
<?php | ||
|
||
$number_of_thumbnails = get_option( 'number_of_thumbs', 5 ); | ||
if ( empty( $number_of_thumbnails ) ) { | ||
$number_of_thumbnails = get_option('number_of_thumbs', 5); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
$number_of_thumbnails = get_option( 'number_of_thumbs', 5 ); | ||
if ( empty( $number_of_thumbnails ) ) { | ||
$number_of_thumbnails = get_option('number_of_thumbs', 5); | ||
if (empty($number_of_thumbnails)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space after opening parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis).
$number_of_thumbnails = get_option( 'number_of_thumbs', 5 ); | ||
if ( empty( $number_of_thumbnails ) ) { | ||
$number_of_thumbnails = get_option('number_of_thumbs', 5); | ||
if (empty($number_of_thumbnails)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
$number_of_thumbnails = get_option( 'number_of_thumbs', 5 ); | ||
if ( empty( $number_of_thumbnails ) ) { | ||
$number_of_thumbnails = get_option('number_of_thumbs', 5); | ||
if (empty($number_of_thumbnails)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
$number_of_thumbnails = get_option( 'number_of_thumbs', 5 ); | ||
if ( empty( $number_of_thumbnails ) ) { | ||
$number_of_thumbnails = get_option('number_of_thumbs', 5); | ||
if (empty($number_of_thumbnails)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: No space before closing parenthesis is prohibited (WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis).
$number_of_thumbnails = 5; | ||
} | ||
?> | ||
<input type="number" name="number_of_thumbs" value="<?php echo esc_attr( $number_of_thumbnails ); ?>" min="1" max="10"/> | ||
<input type="number" name="number_of_thumbs" value="<?php echo esc_attr($number_of_thumbnails); ?>" min="1" max="10" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
$number_of_thumbnails = 5; | ||
} | ||
?> | ||
<input type="number" name="number_of_thumbs" value="<?php echo esc_attr( $number_of_thumbnails ); ?>" min="1" max="10"/> | ||
<input type="number" name="number_of_thumbs" value="<?php echo esc_attr($number_of_thumbnails); ?>" min="1" max="10" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<span class="rtm-tooltip"> | ||
<i class="dashicons dashicons-info"></i> | ||
<span class="rtm-tip"> | ||
<?php | ||
|
||
esc_html_e( 'This field specifies the number of video thumbnails that will be generated by the Transcoder. To choose from the generated thumbnails for a video, go to Media > Edit > Video Thumbnails. Thumbnails are only generated when the video is first uploaded. Maximum value is 10.', 'transcoder' ); | ||
esc_html_e('This field specifies the number of video thumbnails that will be generated by the Transcoder. To choose from the generated thumbnails for a video, go to Media > Edit > Video Thumbnails. Thumbnails are only generated when the video is first uploaded. Maximum value is 10.', 'transcoder'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<span class="rtm-tooltip"> | ||
<i class="dashicons dashicons-info"></i> | ||
<span class="rtm-tip"> | ||
<?php | ||
|
||
esc_html_e( 'This field specifies the number of video thumbnails that will be generated by the Transcoder. To choose from the generated thumbnails for a video, go to Media > Edit > Video Thumbnails. Thumbnails are only generated when the video is first uploaded. Maximum value is 10.', 'transcoder' ); | ||
esc_html_e('This field specifies the number of video thumbnails that will be generated by the Transcoder. To choose from the generated thumbnails for a video, go to Media > Edit > Video Thumbnails. Thumbnails are only generated when the video is first uploaded. Maximum value is 10.', 'transcoder'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
?> | ||
</span> | ||
</span> | ||
</td> | ||
</tr> | ||
<tr valign="top"> | ||
<td scope="row"> | ||
<?php esc_html_e( 'Over-write video thumbnails after retranscoding', 'transcoder' ); ?> | ||
<?php esc_html_e('Over-write video thumbnails after retranscoding', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
?> | ||
</span> | ||
</span> | ||
</td> | ||
</tr> | ||
<tr valign="top"> | ||
<td scope="row"> | ||
<?php esc_html_e( 'Over-write video thumbnails after retranscoding', 'transcoder' ); ?> | ||
<?php esc_html_e('Over-write video thumbnails after retranscoding', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
</td> | ||
<td> | ||
<?php | ||
|
||
$rtt_override_thumbnail = get_option( 'rtt_override_thumbnail', false ); | ||
$rtt_override_thumbnail = get_option('rtt_override_thumbnail', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</td> | ||
<td> | ||
<?php | ||
|
||
$rtt_override_thumbnail = get_option( 'rtt_override_thumbnail', false ); | ||
$rtt_override_thumbnail = get_option('rtt_override_thumbnail', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
?> | ||
<input type="checkbox" name="rtt_override_thumbnail" value="1" <?php checked( $rtt_override_thumbnail, 1 ); ?> /> | ||
<input type="checkbox" name="rtt_override_thumbnail" value="1" <?php checked($rtt_override_thumbnail, 1); ?> /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
?> | ||
<input type="checkbox" name="rtt_override_thumbnail" value="1" <?php checked( $rtt_override_thumbnail, 1 ); ?> /> | ||
<input type="checkbox" name="rtt_override_thumbnail" value="1" <?php checked($rtt_override_thumbnail, 1); ?> /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<span class="rtm-tooltip"> | ||
<i class="dashicons dashicons-info" style="padding-top:3px"></i> | ||
<span class="rtm-tip"> | ||
<?php | ||
|
||
esc_html_e( 'If enabled, Transcoder will replace existing media thumbnails with regenerated ones after retranscoding. If disabled, media thumbnails will remain untouched.', 'transcoder' ); | ||
esc_html_e('If enabled, Transcoder will replace existing media thumbnails with regenerated ones after retranscoding. If disabled, media thumbnails will remain untouched.', 'transcoder'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
<span class="rtm-tooltip"> | ||
<i class="dashicons dashicons-info" style="padding-top:3px"></i> | ||
<span class="rtm-tip"> | ||
<?php | ||
|
||
esc_html_e( 'If enabled, Transcoder will replace existing media thumbnails with regenerated ones after retranscoding. If disabled, media thumbnails will remain untouched.', 'transcoder' ); | ||
esc_html_e('If enabled, Transcoder will replace existing media thumbnails with regenerated ones after retranscoding. If disabled, media thumbnails will remain untouched.', 'transcoder'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
?> | ||
</span> | ||
</span> | ||
</td> | ||
</tr> | ||
<tr valign="top"> | ||
<td scope="row"> | ||
<?php esc_html_e( 'Allow admin to track real-time transcoding status on user profile', 'transcoder' ); ?> | ||
<?php esc_html_e('Allow admin to track real-time transcoding status on user profile', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
?> | ||
</span> | ||
</span> | ||
</td> | ||
</tr> | ||
<tr valign="top"> | ||
<td scope="row"> | ||
<?php esc_html_e( 'Allow admin to track real-time transcoding status on user profile', 'transcoder' ); ?> | ||
<?php esc_html_e('Allow admin to track real-time transcoding status on user profile', 'transcoder'); ?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</td> | ||
<td> | ||
<?php | ||
|
||
$rtt_check_status_btn = get_option( 'rtt_client_check_status_button', false ); | ||
$rtt_check_status_btn = get_option('rtt_client_check_status_button', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</td> | ||
<td> | ||
<?php | ||
|
||
$rtt_check_status_btn = get_option( 'rtt_client_check_status_button', false ); | ||
$rtt_check_status_btn = get_option('rtt_client_check_status_button', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
?> | ||
<input type="checkbox" name="rtt_client_check_status_button" value="1" <?php checked( $rtt_check_status_btn, 1 ); ?> /> | ||
<input type="checkbox" name="rtt_client_check_status_button" value="1" <?php checked($rtt_check_status_btn, 1); ?> /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
?> | ||
<input type="checkbox" name="rtt_client_check_status_button" value="1" <?php checked( $rtt_check_status_btn, 1 ); ?> /> | ||
<input type="checkbox" name="rtt_client_check_status_button" value="1" <?php checked($rtt_check_status_btn, 1); ?> /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
<span class="rtm-tooltip"> | ||
<i class="dashicons dashicons-info" style="padding-top:3px"></i> | ||
<span class="rtm-tip"> | ||
<?php | ||
|
||
esc_html_e( 'If enabled, It will display check status button to know status of transcoding process at client side if that user have administrator rights.', 'transcoder' ); | ||
esc_html_e('If enabled, It will display check status button to know status of transcoding process at client side if that user have administrator rights.', 'transcoder'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</td> | ||
<td> | ||
<?php | ||
$rtt_watermark = get_option('rtt_watermark', true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</td> | ||
<td> | ||
<?php | ||
$rtt_watermark = get_option('rtt_watermark', true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
</td> | ||
<td> | ||
<?php | ||
$rtt_watermark_text = get_option('rtt_watermark_text', 'EasyDAM'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
</td> | ||
<td> | ||
<?php | ||
$rtt_watermark_text = get_option('rtt_watermark_text', 'EasyDAM'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
@@ -256,35 +265,44 @@ public function wp_media_transcoding( $wp_metadata, $attachment_id, $autoformat | |||
} | |||
} | |||
|
|||
// Media settings. | |||
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found).
@@ -256,35 +265,44 @@ | |||
} | |||
} | |||
|
|||
// Media settings. | |||
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
@@ -256,35 +265,44 @@ | |||
} | |||
} | |||
|
|||
// Media settings. | |||
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
@@ -256,35 +265,44 @@ public function wp_media_transcoding( $wp_metadata, $attachment_id, $autoformat | |||
} | |||
} | |||
|
|||
// Media settings. | |||
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); | |||
$rtt_watermark = get_option('rtt_watermark', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -256,35 +265,44 @@ | |||
} | |||
} | |||
|
|||
// Media settings. | |||
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); | |||
$rtt_watermark = get_option('rtt_watermark', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
@@ -256,35 +265,44 @@ | |||
} | |||
} | |||
|
|||
// Media settings. | |||
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); | |||
$rtt_watermark = get_option('rtt_watermark', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
// Media settings. | ||
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); | ||
$rtt_watermark = get_option('rtt_watermark', false); | ||
$rtt_watermark_text = get_option('rtt_watermark_text', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Media settings. | ||
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); | ||
$rtt_watermark = get_option('rtt_watermark', false); | ||
$rtt_watermark_text = get_option('rtt_watermark_text', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
// Media settings. | ||
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); | ||
$rtt_watermark = get_option('rtt_watermark', false); | ||
$rtt_watermark_text = get_option('rtt_watermark_text', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
$rtt_adaptive_bitrate_streaming = $rtt_enable_adaptive_bitrate = get_option('rtt_adaptive_bitrate_streaming', false); | ||
$rtt_watermark = get_option('rtt_watermark', false); | ||
$rtt_watermark_text = get_option('rtt_watermark_text', false); | ||
$rtt_watermark_text = sanitize_text_field( $rtt_watermark_text ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'force' => 0, | ||
'formats' => ( true === $autoformat ) ? ( ( 'video' === $type_array[0] ) ? 'mp4' : 'mp3' ) : $autoformat, | ||
'thumbnail_count' => $options_video_thumb, | ||
'stream' => boolval($rtt_adaptive_bitrate_streaming), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
'force' => 0, | ||
'formats' => ( true === $autoformat ) ? ( ( 'video' === $type_array[0] ) ? 'mp4' : 'mp3' ) : $autoformat, | ||
'thumbnail_count' => $options_video_thumb, | ||
'stream' => boolval($rtt_adaptive_bitrate_streaming), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
'formats' => ( true === $autoformat ) ? ( ( 'video' === $type_array[0] ) ? 'mp4' : 'mp3' ) : $autoformat, | ||
'thumbnail_count' => $options_video_thumb, | ||
'stream' => boolval($rtt_adaptive_bitrate_streaming), | ||
'watermark' => boolval($rtt_watermark), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces after opening parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous scan continued.
'formats' => ( true === $autoformat ) ? ( ( 'video' === $type_array[0] ) ? 'mp4' : 'mp3' ) : $autoformat, | ||
'thumbnail_count' => $options_video_thumb, | ||
'stream' => boolval($rtt_adaptive_bitrate_streaming), | ||
'watermark' => boolval($rtt_watermark), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Expected 1 spaces before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code analysis identified issues
action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.
phpcs scanning turned up:
🚫 1 error
Powered by rtCamp's GitHub Actions Library
RT_TRANSCODER_PATH . '/assets/build/blocks/easydam-player/' | ||
); | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 Error: Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose).
Total number of active review comments per pull request has been reached and some comments might not appear as a result. Please resolve some issues to see more (commit-ID: b5cff1e). |
Types of changes
What types of changes does your code introduced to project?
Put an
x
in the boxes that applyDetails
_rt_transcoded_url
meta field to the attachment to save the transcoded URL.URL
form field in the media modal.Adaptive Bitrate Streaming
in the transcoder settings page.Checklist
Put an
x
in the boxes that apply.Closing issues