mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -208,7 +208,7 @@ function set_current_screen( $hook_name = '' ) {
|
||||
*/
|
||||
final class WP_Screen {
|
||||
/**
|
||||
* Any action associated with the screen. 'add' for *-add.php and *-new.php screens. Empty otherwise.
|
||||
* Any action associated with the screen. 'add' for *-add.php and *-new.php screens. Empty otherwise.
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @var string
|
||||
@@ -217,7 +217,7 @@ final class WP_Screen {
|
||||
public $action;
|
||||
|
||||
/**
|
||||
* The base type of the screen. This is typically the same as $id but with any post types and taxonomies stripped.
|
||||
* The base type of the screen. This is typically the same as $id but with any post types and taxonomies stripped.
|
||||
* For example, for an $id of 'edit-post' the base is 'edit'.
|
||||
*
|
||||
* @since 3.3.0
|
||||
@@ -539,7 +539,7 @@ final class WP_Screen {
|
||||
*
|
||||
* @since 3.3.0
|
||||
*
|
||||
* @param string $parent_file The parent file of the screen. Typically the $parent_file global.
|
||||
* @param string $parent_file The parent file of the screen. Typically the $parent_file global.
|
||||
*/
|
||||
function set_parentage( $parent_file ) {
|
||||
$this->parent_file = $parent_file;
|
||||
@@ -809,7 +809,7 @@ final class WP_Screen {
|
||||
$welcome_checked = false;
|
||||
}
|
||||
echo '<label for="wp_welcome_panel-hide">';
|
||||
echo '<input type="checkbox" id="wp_welcome_panel-hide"' . checked( (bool) $welcome_checked, true, false ) . ' />';
|
||||
echo '<input type="checkbox" id="wp_welcome_panel-hide"' . checked( (bool) $welcome_checked, true, false ) . ' />';
|
||||
echo __( 'Welcome' ) . "</label>\n";
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user