| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | static function modules_cleanup() { |
||
| 29 | if ( ! self::$previous_version ) { // For new sites |
||
| 30 | self::activate_module( 'manage', false, false ); |
||
|
|
|||
| 31 | } |
||
| 32 | // Check which active modules actually exist and remove others from active_modules list |
||
| 33 | Jetpack_Options::update_option( 'active_modules', array_intersect( Jetpack::get_active_modules(), Jetpack::get_available_modules() ) ); |
||
| 34 | Jetpack::activate_new_modules(); |
||
| 35 | } |
||
| 36 | } |
||
| 37 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.