Skip to content

Instantly share code, notes, and snippets.

@amerkay
Created November 1, 2017 14:41
Show Gist options
  • Save amerkay/46fd8c9a715e7e98283f41e9a371fe1f to your computer and use it in GitHub Desktop.
Save amerkay/46fd8c9a715e7e98283f41e9a371fe1f to your computer and use it in GitHub Desktop.
Fix Google Webmaster tools "Missing: updated" error by updating function dazzling_posted_on()
$time_string = sprintf( $time_string,
esc_attr( get_the_date('c') ),
esc_html( date("F j, Y", get_the_date('U')) ),
esc_attr( get_the_modified_date( 'c' ) ),
esc_html( date("F j, Y", get_the_modified_date( 'U' )) )
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment