Drew Jaynes
4b1e151b04
Inline documentation for hooks in wp-admin/network/site-settings.php.
...
Props admiralthrawn.
Fixes #25725 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25952 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-27 20:04:16 +00:00
Drew Jaynes
eaedc9b427
Inline documentation for hooks in wp-admin/update.php.
...
Props ninio, kpdesign.
Fixes #25723 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25951 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-27 18:36:37 +00:00
Drew Jaynes
1c625a49ac
Inline documentation for hooks in wp-includes/functions.wp-styles.php.
...
Props admiralthrawn.
Fixes #25722 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25950 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-27 17:58:32 +00:00
Drew Jaynes
1c127e99bd
Inline documentation for hooks in wp-includes/functions.wp-scripts.php.
...
Props ninio for the initial patch.
Fixes #25720 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25949 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-27 17:50:38 +00:00
Helen Hou-Sandi
b2e15261ba
Allow passing false
for the meta_box_cb
arg in register_taxonomy()
to turn off the meta box display entirely. fixes #21543 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25948 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-27 16:28:19 +00:00
Andrew Nacin
6af7557201
Update readme in trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25947 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-27 15:34:59 +00:00
Drew Jaynes
5f3883cc8f
Revert another instance where a WP
property was assigned to a one-time variable for inline docs purposes.
...
Referencing a non-existent variable only in the docs here would have been the better choice.
See #25495 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25946 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-27 07:58:24 +00:00
Drew Jaynes
0969689efb
Fix error introduced in [25940] where $public_query_vars
should have only been used as a non-existent inline docs variable in the query_vars
filter.
...
Restores `$this->public_query_vars` to the `query_vars` filter in wp-includes/class-wp.php.
Props mauryaratan.
Fixes #25495 . See #25719 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25945 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-27 07:48:34 +00:00
Andrew Ozz
0bb0c068ef
Bump the TinyMCE version for 3.8, see #25700 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25944 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 21:44:39 +00:00
Drew Jaynes
d26d83a36d
Inline documentation for hooks in wp-admin/async-upload.php.
...
Props rzen for the initial patch.
Fixes #25517 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25942 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 21:40:13 +00:00
Drew Jaynes
3c1036d653
Inline documentation for hooks in wp-includes/admin-bar.php.
...
Props swissspidy.
Fixes #25508 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25941 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 21:18:00 +00:00
Drew Jaynes
421d906a59
Inline documentation for hooks in wp-includes/class-wp.php.
...
Props dougwollison.
Fixes #25495 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25940 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 21:02:06 +00:00
Drew Jaynes
4d9d985a64
Inline documentation for hooks in wp-admin/network/site-users.php.
...
Props sboisvert for the initial patch. Props kpdesign.
Fixes #25497 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25939 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 20:32:14 +00:00
Drew Jaynes
acb441a519
Inline documentation for hooks in wp-admin/includes/schema.php.
...
Props johnafish, kpdesign.
Fixes #25498 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25938 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 20:28:34 +00:00
Drew Jaynes
25becc93f9
Inline documentation for hooks in wp-admin/tool.php.
...
Props dougwollison for the initial patch.
Fixes #25496 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25937 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 19:22:08 +00:00
Drew Jaynes
eef2e83b13
Inline documentation for hooks in wp-admin/includes/nav-menu.php.
...
Props Faison.
Fixes #25474 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25935 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 17:47:33 +00:00
Drew Jaynes
3f8c645247
Inline documentation for hooks in wp-includes/bookmark.php.
...
Props ShinichiN, kpdesign.
Fixes #25468 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25934 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 16:52:48 +00:00
Andrew Nacin
90b55d0279
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: https://develop.svn.wordpress.org/trunk@25933 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 15:03:10 +00:00
Andrew Nacin
287e4db6f6
In search stopwords filtering, suppress possible PHP warnings when PCRE lacks UTF-8 support.
...
see #25709 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25932 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 05:58:37 +00:00
Andrew Nacin
eba5ddbcfa
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: https://develop.svn.wordpress.org/trunk@25929 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 03:19:41 +00:00
Andrew Nacin
350c015f94
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: https://develop.svn.wordpress.org/trunk@25925 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 02:56:24 +00:00
Andrew Nacin
559dc21202
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: https://develop.svn.wordpress.org/trunk@25923 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 02:53:30 +00:00
Andrew Nacin
99a4f77ea7
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: https://develop.svn.wordpress.org/trunk@25921 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 02:50:02 +00:00
Nikolay Bachiyski
04dd14f3b5
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: https://develop.svn.wordpress.org/trunk@25920 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 00:54:27 +00:00
Nikolay Bachiyski
54e6261a34
Extract: _
and _c
aren't among the common gettext function names
...
Let's just remove them from the default rules
git-svn-id: https://develop.svn.wordpress.org/trunk@25919 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 00:46:34 +00:00
Nikolay Bachiyski
97a7dfc936
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: https://develop.svn.wordpress.org/trunk@25918 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 00:45:16 +00:00
Nikolay Bachiyski
38f7bf86c6
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: https://develop.svn.wordpress.org/trunk@25917 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-26 00:41:34 +00:00
Andrew Nacin
9a2bf56fc3
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: https://develop.svn.wordpress.org/trunk@25915 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-25 20:14:23 +00:00
Andrew Nacin
9e70ced313
POT update.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25911 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 20:37:53 +00:00
Andrew Nacin
53a3ebddce
Translator comments are special, make sure they are parsed properly. see #25256 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25908 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 20:28:43 +00:00
Andrew Nacin
04397b30c6
Twenty Thirteen: Restore the original "Not found" string. see #24891 , for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25907 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 20:19:19 +00:00
Andrew Nacin
af5921fdca
Update POT files for Twenty Ten through Twenty Thirteen.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25904 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 20:01:08 +00:00
Lance Willett
ddb409d998
Bundled themes: bump version numbers (ignoring Twenty Ten).
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25902 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 19:36:48 +00:00
Andrew Nacin
ceaf87ff2d
Maintain the same output for get_avatar() as 3.6. see [25895].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25899 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 19:31:06 +00:00
Andrew Nacin
7508e7c03b
Add editimage.min.js to $_old_files. see #24999 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25897 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 19:26:11 +00:00
Andrew Nacin
31e45a7aeb
Always escape URLs at the last possible moment.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25895 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 18:51:59 +00:00
Andrew Nacin
391b22a4de
Confirm delete_site_option() exists before calling it during an update.
...
This function won't yet exist when updating from 2.7 [sic].
fixes #25682 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@25893 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 18:17:41 +00:00
Andrew Nacin
9c5420d74d
Remove debug code from WP_Automatic_Updater::send_email().
...
props markmcwilliams for initial patch.
see #25678 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25891 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-24 01:50:09 +00:00
Andrew Nacin
a75c4a56a8
Avoid notice with search feeds.
...
fixes #25677 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25889 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-23 20:54:22 +00:00
Andrew Nacin
ed15997210
About page: Cache our zxcvbn calls and limit the variation of the animation.
...
Diff is mostly whitespace.
props jorbin, azaozz.
fixes #25603 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25884 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-23 19:50:30 +00:00
Andrew Nacin
1d33726b1a
About page, updates section: Don't show a message on about.php if the updater is 100% disabled. Don't show it if the user can't update core. Don't show the email if notifications are disabled. New string.
...
see #25603 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25883 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-23 19:47:39 +00:00
Andrew Nacin
3d2776d023
Introduce a send_core_update_notification_email filter to control whether to send update notifications.
...
Currently, this is dependent on whether the automatic updater is enabled (generally). This is likely to be decoupled in a future release.
This refocuses the auto_core_update_send_email filter to specifically be for success/fail emails for auto updates, while the new filter is more general.
see #25603 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25882 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-23 19:46:33 +00:00
Ryan Boren
30f822b8ee
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25880 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-23 14:37:54 +00:00
Andrew Nacin
b10ef05fb1
Trunk is now 3.8-alpha
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25879 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 23:58:08 +00:00
Andrew Nacin
c773d253ec
3.7-RC2
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25875 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 22:09:18 +00:00
Andrew Nacin
46302236ae
Have heartbeat's connection lost notice handle 503 errors send by the upgrader's maintenance mode.
...
fixes #25660 for 3.7.
git-svn-id: https://develop.svn.wordpress.org/trunk@25874 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 21:26:04 +00:00
Andrew Nacin
ff69fb4b8f
Make some changes to the email templates to account for the fact that an auto update offer might not be to the latest version.
...
For example, 3.7.2 install is served a 3.7.3 update, but the current version is 3.8.1.
This commit also allows for core update notification emails to be sent even when we are unable to run an auto update due to filesystem configuration (VCS checkout or file permissions). But, since these emails go through WP_Automatic_Updater, they will not be sent if the updater is outright disabled.
fixes #25654 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25873 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 21:18:09 +00:00
Andrew Nacin
aab4ffb29d
Show the nag we show for a stuck .maintenance file when an auto update failed.
...
see #25654 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25872 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 21:14:06 +00:00
Andrew Nacin
ddbc271329
"some files" instead of "certain files". Less stuffy.
...
props markjaquith.
see #25652 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25871 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 18:40:20 +00:00
Andrew Nacin
f36fbb550c
New, better error message when we realize we won't be able to copy a file and continue with the update.
...
fixes #25652 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25870 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 18:20:51 +00:00