admin/class-subtitles-admin.php
Showing 2 of 2 total issues
Method update_subtitle_data
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function update_subtitle_data( $post_id, $post, $update ) { /** * Check current save status of post */ $is_post_autosave = (bool) wp_is_post_autosave( $post_id ); // Autosave, found in wp-includes/revisison.php
Function update_subtitle_data
has a Cognitive Complexity of 15 (exceeds 5 allowed). Consider refactoring. Open
Open
public function update_subtitle_data( $post_id, $post, $update ) { /** * Check current save status of post */ $is_post_autosave = (bool) wp_is_post_autosave( $post_id ); // Autosave, found in wp-includes/revisison.php
- Read upRead up