Avoid a notice for an undefined $checksums variable when updating from pre-3.7 to post-3.7.

props GaryJ.
fixes #25689 for trunk.


git-svn-id: http://develop.svn.wordpress.org/trunk@25915 602fd350-edb4-49c9-b593-d223f7449a82
Extract: add a phpdoc to clarify the class responsibility

First step towards making it do only one thing and cleaning it up


git-svn-id: http://develop.svn.wordpress.org/trunk@25917 602fd350-edb4-49c9-b593-d223f7449a82
Extract: add default rules

Two purposes:

 * Helps people, reading the code to have a better idea of the structure of the array
 * Reciprocity with `$comment_prefix`, which has a default value

See #25691


git-svn-id: http://develop.svn.wordpress.org/trunk@25918 602fd350-edb4-49c9-b593-d223f7449a82
Extract: `_` and `_c` aren't among the common gettext function names

Let's just remove them from the default rules


git-svn-id: http://develop.svn.wordpress.org/trunk@25919 602fd350-edb4-49c9-b593-d223f7449a82
Extract: rename method `extract_entries` to `extract_from_code`

The other extract methods are named `extract_from_<something>`, this was
te only one, which wasn't.

Also, it was returning an instance of `Translations`,
not an array of entries, which the name suggested.


git-svn-id: http://develop.svn.wordpress.org/trunk@25920 602fd350-edb4-49c9-b593-d223f7449a82
3.7 regression: Fix the width of captioned images inserted into the visual editor.

Pulls some arithmetic outside of some string concatenation to avoid a nasty uglify.js regression: https://github.com/mishoo/UglifyJS2/pull/330.

props LucP.
fixes #25700 for trunk.


git-svn-id: http://develop.svn.wordpress.org/trunk@25921 602fd350-edb4-49c9-b593-d223f7449a82
3.7 regression from [25119]: Have in_category() return false when the first argument is empty.

Adds unit tests.

props ericlewis.
fixes #25706 for trunk.


git-svn-id: http://develop.svn.wordpress.org/trunk@25923 602fd350-edb4-49c9-b593-d223f7449a82
In update_option(), call the update_option hook before the DB update.

Reverses a regression from [25664].

props calin.
fixes #25705 for trunk.


git-svn-id: http://develop.svn.wordpress.org/trunk@25925 602fd350-edb4-49c9-b593-d223f7449a82
Have get_current_user_id() return 0 when pluggable.php is not yet included (which brings the ability to set or get the current user).

fixes #25690 for trunk.


git-svn-id: http://develop.svn.wordpress.org/trunk@25929 602fd350-edb4-49c9-b593-d223f7449a82
In search stopwords filtering, suppress possible PHP warnings when PCRE lacks UTF-8 support.

see #25709.


git-svn-id: http://develop.svn.wordpress.org/trunk@25932 602fd350-edb4-49c9-b593-d223f7449a82
Fix the exclude_tree argument in get_terms(), which fixes the exclude argument in wp_list_categories().

This was a 3.7 regression caused by [25162].

props dd32.
see #25710 for trunk.


git-svn-id: http://develop.svn.wordpress.org/trunk@25933 602fd350-edb4-49c9-b593-d223f7449a82
Inline documentation for hooks in wp-includes/bookmark.php.

Props ShinichiN, kpdesign.
Fixes #25468.


git-svn-id: http://develop.svn.wordpress.org/trunk@25934 602fd350-edb4-49c9-b593-d223f7449a82
Inline documentation for hooks in wp-admin/includes/nav-menu.php.

Props Faison.
Fixes #25474.


git-svn-id: http://develop.svn.wordpress.org/trunk@25935 602fd350-edb4-49c9-b593-d223f7449a82
Inline documentation for hooks in wp-admin/tool.php.

Props dougwollison for the initial patch.
Fixes #25496.


git-svn-id: http://develop.svn.wordpress.org/trunk@25937 602fd350-edb4-49c9-b593-d223f7449a82
Inline documentation for hooks in wp-admin/includes/schema.php.

Props johnafish, kpdesign.
Fixes #25498.


git-svn-id: http://develop.svn.wordpress.org/trunk@25938 602fd350-edb4-49c9-b593-d223f7449a82
Inline documentation for hooks in wp-admin/network/site-users.php.

Props sboisvert for the initial patch. Props kpdesign.
Fixes #25497.


git-svn-id: http://develop.svn.wordpress.org/trunk@25939 602fd350-edb4-49c9-b593-d223f7449a82
Inline documentation for hooks in wp-includes/class-wp.php.

Props dougwollison.
Fixes #25495.


git-svn-id: http://develop.svn.wordpress.org/trunk@25940 602fd350-edb4-49c9-b593-d223f7449a82
Inline documentation for hooks in wp-includes/admin-bar.php.

Props swissspidy.
Fixes #25508.


git-svn-id: http://develop.svn.wordpress.org/trunk@25941 602fd350-edb4-49c9-b593-d223f7449a82
Inline documentation for hooks in wp-admin/async-upload.php.

Props rzen for the initial patch.
Fixes #25517.


git-svn-id: http://develop.svn.wordpress.org/trunk@25942 602fd350-edb4-49c9-b593-d223f7449a82
Bump the TinyMCE version for 3.8, see #25700.

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