Twenty Fourteen: simplify header image check, props obenland. See #25400.

git-svn-id: http://develop.svn.wordpress.org/trunk@25604 602fd350-edb4-49c9-b593-d223f7449a82
When is_main_query() is called during the pre_get_posts hook, issue _doing_it_wrong().

The is_main_query() WP_Query method should be used in these instances instead.
see #23329.


git-svn-id: http://develop.svn.wordpress.org/trunk@25605 602fd350-edb4-49c9-b593-d223f7449a82
Introduce wp_get_user_contact_methods() as a public version of _wp_get_user_contactmethods.

props johnnyb.
fixes #24273.


git-svn-id: http://develop.svn.wordpress.org/trunk@25606 602fd350-edb4-49c9-b593-d223f7449a82
Initialize the filter globals.

props rmccue.
fixes #25378.


git-svn-id: http://develop.svn.wordpress.org/trunk@25607 602fd350-edb4-49c9-b593-d223f7449a82
Make sure the attachment file exists before calling filesize() on it. props DrewAPicture. fixes #25170.


git-svn-id: http://develop.svn.wordpress.org/trunk@25608 602fd350-edb4-49c9-b593-d223f7449a82
Clarify inline documentation for the return in `get_attached_file()`.

Fixes #25409.


git-svn-id: http://develop.svn.wordpress.org/trunk@25609 602fd350-edb4-49c9-b593-d223f7449a82
Twenty Fourteen: redo the featured image background pattern with CSS plus minor style adjustments.  Props iamtakashi, fixes #25300. This also fixes #25363, props buffler.

git-svn-id: http://develop.svn.wordpress.org/trunk@25610 602fd350-edb4-49c9-b593-d223f7449a82
Twenty Fourteen: fix gap beneath header image, props taupecat. Fixes #25404.

git-svn-id: http://develop.svn.wordpress.org/trunk@25611 602fd350-edb4-49c9-b593-d223f7449a82
Twenty Fourteen: fixes for accent color functionality, props celloexpressions. See #25220.

 * Apply the primary accent color to the current-time indicator for the `mediaelements` players.
 * Fix instances of the custom accent color CSS overriding white or black link colors that should have no text-color change on hover.
 * Remove text color from main navigation hover states for submenus and from main navigation top-level items.
 * Change the background color a bit more on hover for main navigation submenus.

git-svn-id: http://develop.svn.wordpress.org/trunk@25612 602fd350-edb4-49c9-b593-d223f7449a82
Twenty Fourteen: accessibility fix for allowing the search button in the toolbar to be focused with the keyboard. Props joedolson and sabreuse, see #25054.

git-svn-id: http://develop.svn.wordpress.org/trunk@25613 602fd350-edb4-49c9-b593-d223f7449a82
Twenty Fourteen: remove unused images, following r25610. See #25300.

git-svn-id: http://develop.svn.wordpress.org/trunk@25614 602fd350-edb4-49c9-b593-d223f7449a82
Use the wpdb method instead of $wpdb->prefix.

props hakre.
fixes #16756.


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