Parse error: syntax error, unexpected T_STRING
-
Getting the following message when I try to login to my admin panel
Parse error: syntax error, unexpected T_STRING in /home/vulcanbi/public_html/wp-admin/includes/misc.php on line 728
site address is http://www.vulcanbiomass.co.uk
Code found in misc.php
710 add_filter( ‘heartbeat_received’, ‘wp_check_locked_posts’, 10, 3 );
711
712 /**
713 * Check lock status on the New/Edit Post screen and refresh the lock
714 *
715 * @since 3.6.0
716 */
717 function wp_refresh_post_lock( $response, $data, $screen_id ) {
718 if ( array_key_exists( ‘wp-refresh-post-lock’, $data ) ) {
719 $received = $data[‘wp-refresh-post-lock’];
720 $send = array();
721
722 if ( ! $post_id = absint( $received[‘post_id’] ) )
723 return $response;
724
725 if ( ! current_user_can(‘edit_post’, $post_id) )
726 return $response;
727
728 if ( ( $user_id =o reset.
729 */Grateful for any advice.
The topic ‘Parse error: syntax error, unexpected T_STRING’ is closed to new replies.