PluginProbe
Polylang / 2.6.2
Polylang v2.6.2
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
← All changes | modules/sync/admin-sync.php +2 -2 2.72.6.2 View file →
@@ -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 ),