Skip to content

Commit

Permalink
Merge pull request #26 from TukuToi/develop
Browse files Browse the repository at this point in the history
### 1.26.1
[Fixed] Missing Text Domains and some Comments for CPCS Review.
  • Loading branch information
smileBeda authored Jun 11, 2022
2 parents 366d94d + 6741379 commit c360d3d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions public/class-tkt-shortcodes-shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public function userinfo( $atts, $content = null, $tag ) {
* Only if the sanitizer class has debug log true, then a log is written with the backtrace.
*/
if ( $this->sanitizer->invalid_or_error( $out ) ) {
$out = $this->sanitizer->get_errors( $out, __METHOD__, debug_backtrace() );
$out = $this->sanitizer->get_errors( $out, __METHOD__, debug_backtrace() );// @codingStandardsIgnoreLine
} else {
/**
* The user object is a huge mess. Try to fix this as effectively as possible.
Expand Down Expand Up @@ -412,7 +412,7 @@ public function terminfo( $atts, $content = null, $tag ) {
* Only if the sanitizer class has debug log true, then a log is written with the backtrace.
*/
if ( $this->sanitizer->invalid_or_error( $out ) ) {
$out = $this->sanitizer->get_errors( $out, __METHOD__, debug_backtrace() );
$out = $this->sanitizer->get_errors( $out, __METHOD__, debug_backtrace() );// @codingStandardsIgnoreLine
} else {
$out = $this->sanitizer->validate( 'object', $out );
}
Expand Down Expand Up @@ -493,7 +493,7 @@ public function post_termsinfo( $atts, $content = null, $tag ) {
* Only if the sanitizer class has debug log true, then a log is written with the backtrace.
*/
if ( $this->sanitizer->invalid_or_error( $out ) ) {
$out = $this->sanitizer->get_errors( $out, __METHOD__, debug_backtrace() );
$out = $this->sanitizer->get_errors( $out, __METHOD__, debug_backtrace() );// @codingStandardsIgnoreLine
} else {
$out = join( $atts['delimiter'], wp_list_pluck( $out, $atts['show'] ) );
}
Expand Down Expand Up @@ -591,7 +591,7 @@ public function postmeta( $atts, $content = null, $tag ) {
* Only if the sanitizer class has debug log true, then a log is written with the backtrace.
*/
if ( $this->sanitizer->invalid_or_error( $out ) ) {
$out = $this->sanitizer->get_errors( $out, __METHOD__, debug_backtrace() );
$out = $this->sanitizer->get_errors( $out, __METHOD__, debug_backtrace() );// @codingStandardsIgnoreLine
} elseif ( ! is_array( $out ) ) {
// Validate single field values.
$out = $this->sanitizer->sanitize( 'meta', $atts['key'], $out, $this->meta_type );
Expand Down Expand Up @@ -1099,7 +1099,7 @@ public function editlinks( $atts, $content = null, $tag ) {
* Only if the sanitizer class has debug log true, then a log is written with the backtrace.
*/
if ( $this->sanitizer->invalid_or_error( $out ) ) {
$out = $this->sanitizer->get_errors( $out, __METHOD__, debug_backtrace() );
$out = $this->sanitizer->get_errors( $out, __METHOD__, debug_backtrace() );// @codingStandardsIgnoreLine
}

// Sanitize our data.
Expand Down Expand Up @@ -1190,7 +1190,7 @@ public function archivelinks( $atts, $content = null, $tag ) {
* Only if the sanitizer class has debug log true, then a log is written with the backtrace.
*/
if ( $this->sanitizer->invalid_or_error( $out ) ) {
$out = $this->sanitizer->get_errors( $out, __METHOD__, debug_backtrace() );
$out = $this->sanitizer->get_errors( $out, __METHOD__, debug_backtrace() );// @codingStandardsIgnoreLine
}

// Sanitize our data.
Expand Down Expand Up @@ -1308,7 +1308,7 @@ public function attachmentimage( $atts, $content = null, $tag ) {
* Only if the sanitizer class has debug log true, then a log is written with the backtrace.
*/
if ( $this->sanitizer->invalid_or_error( $out ) ) {
$out = $this->sanitizer->get_errors( $out, __METHOD__, debug_backtrace() );
$out = $this->sanitizer->get_errors( $out, __METHOD__, debug_backtrace() );// @codingStandardsIgnoreLine
}

// Sanitize our data.
Expand Down

0 comments on commit c360d3d

Please sign in to comment.