Add file size to attachment publish meta box. props desrosj. fixes #25170.


git-svn-id: http://develop.svn.wordpress.org/trunk@25403 602fd350-edb4-49c9-b593-d223f7449a82
Fix the failing `Tests_Link::test_wp_get_shortlink()` assertion:

* `wp_get_shortlink()` was firing a notice when reading `$post->ID` while `$post` was null in some cases
* Before the assertions that assume `$GLOBALS['post']` is not set, call `unset( $GLOBALS['post'] );` - there was global spillage from other tests

See #25282.




git-svn-id: http://develop.svn.wordpress.org/trunk@25404 602fd350-edb4-49c9-b593-d223f7449a82
Fix the failing l10n assertions:

* Check if the file exists before running `true` assertions
* If the file doesn't exist, run `false` assertions

See #25282.



git-svn-id: http://develop.svn.wordpress.org/trunk@25405 602fd350-edb4-49c9-b593-d223f7449a82
Twenty Fourteen: fix comment for `twentyfourteen_excerpt_length()`, props SergeyBiryukov. Fixes #25297.

git-svn-id: http://develop.svn.wordpress.org/trunk@25406 602fd350-edb4-49c9-b593-d223f7449a82
Revert [25405] and use a file that does exist. see #25282.


git-svn-id: http://develop.svn.wordpress.org/trunk@25407 602fd350-edb4-49c9-b593-d223f7449a82
Test framework: Introduce the annotation @expectedDeprecated, modeled after PHPUnit's @expectedException.

It works for both functions and arguments (using the value of the first argument passed to _deprecated_function() or _deprecated_argument(), which is typically the function name). It asserts both ways:
 * If specified, those deprecated notices must be caught, or the test fails.
 * If not specified, any other deprecated notices cause the test to fail.

Works regardless of WP_DEBUG.
see #25282.


git-svn-id: http://develop.svn.wordpress.org/trunk@25408 602fd350-edb4-49c9-b593-d223f7449a82
Use @expectedDeprecated. see #25282, [25408].


git-svn-id: http://develop.svn.wordpress.org/trunk@25409 602fd350-edb4-49c9-b593-d223f7449a82
Inline docs for hooks in `wp-includes/nav-menu-template.php`. props Faison. see #25229.


git-svn-id: http://develop.svn.wordpress.org/trunk@25410 602fd350-edb4-49c9-b593-d223f7449a82
Inline docs for hooks in `wp-admin/options-writing.php`. props siobhyb. see #25229.


git-svn-id: http://develop.svn.wordpress.org/trunk@25411 602fd350-edb4-49c9-b593-d223f7449a82
No space between // and duplicate_hook. see #25229


git-svn-id: http://develop.svn.wordpress.org/trunk@25412 602fd350-edb4-49c9-b593-d223f7449a82
Fix comma placement in [25179].

props gradyetc.
see #15004, fixes #25298.


git-svn-id: http://develop.svn.wordpress.org/trunk@25413 602fd350-edb4-49c9-b593-d223f7449a82