Revisions screen: change language from "Return to post editor" to "Return to editor" - more generic for usage by custom post types.
Props lancewillett, adamsilverstein. Fixes #31910. Built from https://develop.svn.wordpress.org/trunk@33966 git-svn-id: http://core.svn.wordpress.org/trunk@33935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
246f2a6bd9
commit
6d4442ba12
|
@ -75,7 +75,7 @@ default :
|
||||||
$post_edit_link = get_edit_post_link();
|
$post_edit_link = get_edit_post_link();
|
||||||
$post_title = '<a href="' . $post_edit_link . '">' . _draft_or_post_title() . '</a>';
|
$post_title = '<a href="' . $post_edit_link . '">' . _draft_or_post_title() . '</a>';
|
||||||
$h1 = sprintf( __( 'Compare Revisions of “%1$s”' ), $post_title );
|
$h1 = sprintf( __( 'Compare Revisions of “%1$s”' ), $post_title );
|
||||||
$return_to_post = '<a href="' . $post_edit_link . '">' . __( '← Return to post editor' ) . '</a>';
|
$return_to_post = '<a href="' . $post_edit_link . '">' . __( '← Return to editor' ) . '</a>';
|
||||||
$title = __( 'Revisions' );
|
$title = __( 'Revisions' );
|
||||||
|
|
||||||
$redirect = false;
|
$redirect = false;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-33965';
|
$wp_version = '4.4-alpha-33966';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue