Welcome to WordPress! This post contains important information. After you read it, you can make it private to hide it from visitors but still have the information handy for future reference.

First things first:

As a subscriber, you will receive an email every time an update is available (and only then). This will make it easier to keep your site up to date, and secure from evildoers.
When a new version is released, log in to the Dashboard and follow the instructions.
Upgrading is a couple of clicks!

Then you can start enjoying the WordPress experience:

To keep this post for reference, click to edit it, go to the Publish box and change its Visibility from Public to Private.

Thank you for selecting WordPress. We wish you happy publishing!

PS. Not yet subscribed for update notifications? Do it now!

'; $test_data = ' Welcome to WordPress! This post contains important information. After you read it, you can make it private to hide it from visitors but still have the information handy for future reference. First things first: As a subscriber, you will receive an email every time an update is available (and only then). This will make it easier to keep your site up to date, and secure from evildoers. When a new version is released, log in to the Dashboard and follow the instructions. Upgrading is a couple of clicks! Then you can start enjoying the WordPress experience: To keep this post for reference, click to edit it, go to the Publish box and change its Visibility from Public to Private. Thank you for selecting WordPress. We wish you happy publishing! PS. Not yet subscribed for update notifications? Do it now! '; // On windows environments, the EOL-style is \r\n $expected = str_replace( "\r\n", "\n", $expected); $this->assertEquals($expected, wpautop($test_data)); } /** * wpautop() Should not alter the contents of "
" elements
	 *
	 * @ticket 19855
	 */
	public function test_skip_pre_elements() {
		$code = file_get_contents( DIR_TESTDATA . '/formatting/sizzle.js' );
		$code = str_replace( "\r", '', $code );
		$code = htmlentities( $code );

		// Not wrapped in 

tags $str = "

$code
"; $this->assertEquals( $str, trim( wpautop( $str ) ) ); // Text before/after is wrapped in

tags $str = "Look at this code\n\n

$code
\n\nIsn't that cool?"; // Expected text after wpautop $expected = '

Look at this code

' . "\n
" . $code . "
\n" . '

Isn\'t that cool?

'; $this->assertEquals( $expected, trim( wpautop( $str ) ) ); // Make sure HTML breaks are maintained if manually inserted $str = "Look at this code\n\n
Line1
Line2
Line3
Line4\nActual Line 2\nActual Line 3
\n\nCool, huh?"; $expected = "

Look at this code

\n
Line1
Line2
Line3
Line4\nActual Line 2\nActual Line 3
\n

Cool, huh?

"; $this->assertEquals( $expected, trim( wpautop( $str ) ) ); } /** * wpautop() Should not add
to "" elements * * @ticket 16456 */ public function test_skip_input_elements() { $str = 'Username:
Password: '; $this->assertEquals( "

$str

", trim( wpautop( $str ) ) ); } }