| @@ -188,9 +188,9 @@ | ||
| 188 | 188 | $obj = substr( $func, 5 ); |
| 189 | 189 | |
| 190 | 190 | if ( is_object( $this->$obj ) && method_exists( $this->$obj, 'copy' ) ) { |
| 191 | 191 | if ( WP_DEBUG ) { |
| 192 | - $debug = debug_backtrace( DEBUG_BACKTRACE_IGNORE_ARGS ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions | |
| 192 | + $debug = debug_backtrace(); // phpcs:ignore WordPress.PHP.DevelopmentFunctions | |
| 193 | 193 | $i = 1 + empty( $debug[1]['line'] ); // The file and line are in $debug[2] if the function was called using call_user_func |
| 194 | 194 | |
| 195 | 195 | trigger_error( // phpcs:ignore WordPress.PHP.DevelopmentFunctions |
| 196 | 196 | sprintf( |
| @@ -204,9 +204,9 @@ | ||
| 204 | 204 | } |
| 205 | 205 | return call_user_func_array( array( $this->$obj, 'copy' ), $args ); |
| 206 | 206 | } |
| 207 | 207 | |
| 208 | - $debug = debug_backtrace( DEBUG_BACKTRACE_IGNORE_ARGS ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions | |
| 208 | + $debug = debug_backtrace(); // phpcs:ignore WordPress.PHP.DevelopmentFunctions | |
| 209 | 209 | trigger_error( // phpcs:ignore WordPress.PHP.DevelopmentFunctions |
| 210 | 210 | sprintf( |
| 211 | 211 | 'Call to undefined function PLL()->sync->%1$s() in %2$s on line %3$s' . "\nError handler", |
| 212 | 212 | esc_html( $func ), |