Return false from wp_get_referer() if it is called before wp_validate_redirect() is defined.

see #25294.

Built from https://develop.svn.wordpress.org/trunk@25399


git-svn-id: http://core.svn.wordpress.org/trunk@25330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Return false from wp_get_original_referer() if it is called before wp_validate_redirect() is defined.

see #25294.

Built from https://develop.svn.wordpress.org/trunk@25400


git-svn-id: http://core.svn.wordpress.org/trunk@25331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add file size to attachment publish meta box. props desrosj. fixes #25170.

Built from https://develop.svn.wordpress.org/trunk@25403


git-svn-id: http://core.svn.wordpress.org/trunk@25333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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.



Built from https://develop.svn.wordpress.org/trunk@25404


git-svn-id: http://core.svn.wordpress.org/trunk@25334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Fourteen: fix comment for `twentyfourteen_excerpt_length()`, props SergeyBiryukov. Fixes #25297.
Built from https://develop.svn.wordpress.org/trunk@25406


git-svn-id: http://core.svn.wordpress.org/trunk@25335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Inline docs for hooks in `wp-includes/nav-menu-template.php`. props Faison. see #25229.

Built from https://develop.svn.wordpress.org/trunk@25410


git-svn-id: http://core.svn.wordpress.org/trunk@25336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Inline docs for hooks in `wp-admin/options-writing.php`. props siobhyb. see #25229.

Built from https://develop.svn.wordpress.org/trunk@25411


git-svn-id: http://core.svn.wordpress.org/trunk@25337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
No space between // and duplicate_hook. see #25229

Built from https://develop.svn.wordpress.org/trunk@25412


git-svn-id: http://core.svn.wordpress.org/trunk@25338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Fix comma placement in [25179].

props gradyetc.
see #15004, fixes #25298.

Built from https://develop.svn.wordpress.org/trunk@25413


git-svn-id: http://core.svn.wordpress.org/trunk@25339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Add populate_network_meta filter to populate_network().

props jeremyfelt.
fixes #25020.

Built from https://develop.svn.wordpress.org/trunk@25414


git-svn-id: http://core.svn.wordpress.org/trunk@25340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Clear all transients (regardless of expiration) on all database upgrades. see #20316.

Built from https://develop.svn.wordpress.org/trunk@25416


git-svn-id: http://core.svn.wordpress.org/trunk@25341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Fourteen: prefix Genericons enqueue handle so that the theme uses the its own version of the font CSS. Fixes a few display issues when plugins like Jetpack enqueue a different version of Genericons. See #25085.
Built from https://develop.svn.wordpress.org/trunk@25417


git-svn-id: http://core.svn.wordpress.org/trunk@25342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Twenty Fourteen: let authors customize the green "accent" color by changing to a different hex value in the Customizer. Props celloexpressions.

Also add an ID attribute to all `style` elements.

See #25220.
Built from https://develop.svn.wordpress.org/trunk@25418


git-svn-id: http://core.svn.wordpress.org/trunk@25343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Inline documentation fixes and additions for wp-admin/revision.php and wp-admin/includes/revision.php.

props adamsilverstein.
see #25283.
Built from https://develop.svn.wordpress.org/trunk@25419


git-svn-id: http://core.svn.wordpress.org/trunk@25344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Better alignment for wp_prepare_revisions_for_js() inline docs. see #25283.
Built from https://develop.svn.wordpress.org/trunk@25420


git-svn-id: http://core.svn.wordpress.org/trunk@25345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
WordPress Core Automatic Updates: Add the first slice of Automatic Upgrades, This is presently disabled, and requires a filter to enable ( 'auto_upgrade_core' ). See #22704

Built from https://develop.svn.wordpress.org/trunk@25421


git-svn-id: http://core.svn.wordpress.org/trunk@25346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
WordPress Core Automatic Updates: Pass the Filesystem path as $context to request_filesystem_credentials(). See #22704

Built from https://develop.svn.wordpress.org/trunk@25422


git-svn-id: http://core.svn.wordpress.org/trunk@25347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Inline documentation for hooks in wp-includes/shortcodes.php.

props natejacobs.
see #25229.
Built from https://develop.svn.wordpress.org/trunk@25423


git-svn-id: http://core.svn.wordpress.org/trunk@25348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Inline documentation for hooks in wp-admin/ms-delete-site.php.

props NikV.
see #25229.
Built from https://develop.svn.wordpress.org/trunk@25424


git-svn-id: http://core.svn.wordpress.org/trunk@25349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Avoid a PHP warning in network admin if a constant corresponding to a drop-in is not defined. fixes #25301.
Built from https://develop.svn.wordpress.org/trunk@25425


git-svn-id: http://core.svn.wordpress.org/trunk@25350 1a063a9b-81f0-0310-95a4-ce76da25c4cd