-
Notifications
You must be signed in to change notification settings - Fork 17
Feature/add transcoded url meta #298
base: develop
Are you sure you want to change the base?
Conversation
rtBot
left a comment
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:
🚫 194 errors
Powered by rtCamp's GitHub Actions Library
Posting will continue in further review(s)
| */ | ||
|
|
||
| $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).
| */ | ||
|
|
||
| $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).
| // 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).
rtBot
left a comment
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.
| $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).
| $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).
| ! empty($usage->status) && | ||
| (! isset($usage->remaining) || $usage->remaining > 0); | ||
| // Temporarily allow access to all users. | ||
| // $has_access = 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: Inline comments must end in full-stops, exclamation marks, or question marks (Squiz.Commenting.InlineComment.InvalidEndChar).
| <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).
| 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).
rtBot
left a comment
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.
| 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).
| <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).
| <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).
| <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).
| <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).
| <form method="get" action="<?php echo esc_url(admin_url('admin.php')); ?>"> | ||
| <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).
| <form method="get" action="<?php echo esc_url(admin_url('admin.php')); ?>"> | ||
| <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).
rtBot
left a comment
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="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).
| $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).
| $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).
| if ($this->api_key) { | ||
| $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).
| if ($this->api_key) { | ||
| $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).
| ?> | ||
| <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).
rtBot
left a comment
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="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).
| <?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).
rtBot
left a comment
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 | ||
| <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).
| </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).
rtBot
left a comment
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('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).
| <?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 before closing parenthesis; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).
| </tr> | ||
| <tr> | ||
| <th> | ||
| <?php esc_html_e('Amazon S3 Support', '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('Amazon S3 Support', '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('Amazon S3 Support', '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).
rtBot
left a comment
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_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).
| </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', 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).
rtBot
left a comment
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 | ||
| $rtt_watermark = get_option('rtt_watermark', true); | ||
| ?> | ||
| <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', true); | ||
| ?> | ||
| <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', '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).
| 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).
| 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).
|
|
||
| <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).
|
|
||
| <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).
rtBot
left a comment
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.
| <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).
| <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).
|
|
||
| // 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).
|
|
||
| // 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).
| <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).
| <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).
| <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).
rtBot
left a comment
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="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).
| <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).
| <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).
| <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).
| <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).
rtBot
left a comment
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.
| <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).
| <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).
| 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).
| 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 type="email" value="<?php echo esc_attr($the_current_user->user_email); ?>" name="EMAIL" placeholder="Email" class="required email" id="mce-EMAIL" /> | ||
| <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 type="email" value="<?php echo esc_attr($the_current_user->user_email); ?>" name="EMAIL" placeholder="Email" class="required email" id="mce-EMAIL" /> | ||
| <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).
| } | ||
|
|
||
| // Execute the FFmpeg command. | ||
| exec( $ffmpeg_command, $output, $return_var ); |
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: exec() found. PHP system calls are often disabled by server admins (WordPress.PHP.DiscouragedPHPFunctions.system_calls_exec).
| exec( $ffmpeg_command, $output, $return_var ); | ||
|
|
||
| if ( 0 === $return_var && file_exists( $output_file_path ) ) { | ||
| unlink( $uploaded_file_path ); |
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.
/tmp/ and wp-content/uploads/ directories. To avoid unexpected results, please use helper functions like get_temp_dir() or wp_get_upload_dir() to get the proper directory path when using functions such as unlink(). For more details, please see: https://docs.wpvip.com/technical-references/vip-go-files-system/local-file-operations/ (WordPressVIPMinimum.Functions.RestrictedFunctions.file_ops_unlink).
|
|
||
| if ( 0 === $return_var && file_exists( $output_file_path ) ) { | ||
| unlink( $uploaded_file_path ); | ||
| rename( $output_file_path, $uploaded_file_path ); |
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.
/tmp/ and wp-content/uploads/ directories. To avoid unexpected results, please use helper functions like get_temp_dir() or wp_get_upload_dir() to get the proper directory path when using functions such as rename(). For more details, please see: https://docs.wpvip.com/technical-references/vip-go-files-system/local-file-operations/ (WordPressVIPMinimum.Functions.RestrictedFunctions.file_ops_rename).
| } | ||
|
|
||
| // 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).
rtBot
left a comment
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.
| } | ||
|
|
||
| // 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).
| } | ||
|
|
||
| // 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).
|
|
||
| // 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.
|
|
||
| // 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).
|
|
||
| // 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).
rtBot
left a comment
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.
| '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).
| '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).
| $response['files'] = $upload_dir['baseurl'] . '/' . $transcoded_files['mp4'][0]; | ||
| $response['thumbnail'] = $upload_dir['baseurl'] . '/' . $thumbnail; | ||
|
|
||
| global $wpdb; |
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.
| 'videojs-quality-menu-css', | ||
| $lib_path . '/css/videojs-contrib-quality-menu.min.css', | ||
| array(), | ||
| '1.0.3', |
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: Trailing commas are not allowed in function calls in PHP 7.2 or earlier (PHPCompatibility.Syntax.NewFunctionCallTrailingComma.FoundInFunctionCall).
| 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).
| @@ -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).
|
GitHub API communication error. Please contact a human. (commit-ID: b5cff1e). |
|
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). |
No description provided.