diff --git a/admin/admin.php b/admin/admin.php index a8ce907..2ad9cca 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -301,7 +301,7 @@ public static function _save_post( $post_id ) { // Save data if ( isset( $_POST['wps_subtitle'] ) ) { - $subtitle = new WP_Subtitle( $post ); + $subtitle = new WP_Subtitle( $post_id ); $subtitle->update_subtitle( $_POST['wps_subtitle'] ); }