Commit Graph

23765 Commits

Author SHA1 Message Date
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
Andrew Nacin
1a7bfffd0b Only enforce disk free space checks when doing background updates.
see #25652.


git-svn-id: https://develop.svn.wordpress.org/trunk@25869 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 18:17:13 +00:00
Andrew Nacin
c87ad6023d Spell out duplicate hook locations.
props DrewAPicture.
fixes #25658.


git-svn-id: https://develop.svn.wordpress.org/trunk@25868 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 17:21:32 +00:00
Andrew Nacin
d3981e2793 Always apply the posts_search filter. Restores 3.6 behavior.
props SergeyBiryukov.
fixes #25664.


git-svn-id: https://develop.svn.wordpress.org/trunk@25867 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 17:20:17 +00:00
Andrew Nacin
ea7d0de723 Updates: Disable maintenance mode once we've finished copying files, to minimize disruption.
props dd32.
fixes #25655.


git-svn-id: https://develop.svn.wordpress.org/trunk@25866 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 17:19:48 +00:00
Lance Willett
c6b0970356 Twenty Fourteen: use SVG images instead of CSS3 gradients for featured image background pattern. Props iamtakashi.
* Fixes laggy loading in Firefox, see #25600.
 * Significantly reduces CPU usage.
 * Scalable and crisp on HiDPI/retina screens.
 * SVG is support in IE9 which doesn't support CSS gradients.

git-svn-id: https://develop.svn.wordpress.org/trunk@25865 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 16:59:59 +00:00
Lance Willett
ea64c830f4 Twenty Fourteen: further revise primary navigation functionality, simplify mobile navigation, and clean up the main JS file. Props obenland, iamtakashi. See #25554.
git-svn-id: https://develop.svn.wordpress.org/trunk@25864 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 16:36:26 +00:00
Andrew Nacin
d0d07cf614 Updates: Saner stats and rollback handling. WP.org now collects basic stats on non-auto updates as they have been hugely informative.
props dd32 for initial patch.
fixes #25657.


git-svn-id: https://develop.svn.wordpress.org/trunk@25863 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 09:48:36 +00:00
Drew Jaynes
af6c888f7c Improve inline documentation for the wp_get_sites() return value.
Fixes #25645.


git-svn-id: https://develop.svn.wordpress.org/trunk@25862 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 05:47:15 +00:00
Andrew Nacin
bce2656e6d Move upgrader_process_complete for core to its proper place in Core_Upgrader.
This means it will be firing as a JS redirect is taking place if the update is from pre-3.4. Acceptable.

props dd32.
fixes #25659.


git-svn-id: https://develop.svn.wordpress.org/trunk@25861 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-22 04:36:54 +00:00
Drew Jaynes
258e4afcb2 Inline documentation for the WP_Date_Query class in wp-includes/date.php.
- Adds a complete hash notation for the `WP_Date_Query` arguments array.
- Adds missing documentation for the `date_query_valid_columns` and `get_date_sql` filter hooks.

Props aeg0125 for the incremental patches.
Fixes #25552.


git-svn-id: https://develop.svn.wordpress.org/trunk@25860 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 23:16:31 +00:00
Andrew Nacin
597e82e94c Rename the automatic_updates_send_email filter to auto_core_update_send_email. (Final name change.)
fixes #25653. Also:
 * Fully document all new hooks, methods, and classes in the upgrader.
 * Rename 'language' to 'translation' inside the upgrader.
 * Improve the readability of the crazy do-while loop in the is_vcs_checkout() method.


git-svn-id: https://develop.svn.wordpress.org/trunk@25859 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 22:28:07 +00:00
Drew Jaynes
a6d9b5e57a Improve inline documentation for hooks in wp-admin/customize.php.
Props kpdesign.
Fixes #25444.


git-svn-id: https://develop.svn.wordpress.org/trunk@25858 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 21:17:00 +00:00
Lance Willett
04ca72fd9c Twenty Fourteen: revise link colors. Props iamtakashi, see #25640.
git-svn-id: https://develop.svn.wordpress.org/trunk@25857 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 16:39:53 +00:00
Lance Willett
2240365438 Twenty Fourteen: fix non-image attachment page layout, props iamtakashi. Fixes #25624.
git-svn-id: https://develop.svn.wordpress.org/trunk@25856 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 16:34:56 +00:00
Lance Willett
ae9a30b7cf Twenty Fourteen: fix typo that prevented author name display in Ephemera widget. Props iamtakashi, fixes #25641.
git-svn-id: https://develop.svn.wordpress.org/trunk@25855 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 16:33:10 +00:00
Lance Willett
0b915b616c Twenty Fourteen: improved responsive styles for featured content and minor layout fixes. Props iamtakashi, see #25592.
git-svn-id: https://develop.svn.wordpress.org/trunk@25854 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 16:32:10 +00:00
Lance Willett
cb0ed1fcec Twenty Fourteen: fix a typo introduced in r25808, props kovshenin. See #25549.
git-svn-id: https://develop.svn.wordpress.org/trunk@25853 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-21 16:30:12 +00:00
Andrew Ozz
9381d2f3a6 TinyMCE: fix detection of IE11 in compatibility mode, fixes #25634.
git-svn-id: https://develop.svn.wordpress.org/trunk@25852 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 22:58:25 +00:00
Andrew Nacin
d96b64c116 Commit [25823] should not have renamed AUTOMATIC_UPDATER_DISABLED to AUTOMATIC_UPDATES_DISABLED.
The proper constant is AUTOMATIC_UPDATER_DISABLED. Keep the filter in line with that too.

see #22704.


git-svn-id: https://develop.svn.wordpress.org/trunk@25851 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 21:23:43 +00:00
Andrew Nacin
a33d3a38e6 3.7-RC1
git-svn-id: https://develop.svn.wordpress.org/trunk@25850 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 19:47:47 +00:00
Dominik Schilling (ocean90)
5d7ee6ce93 Vendor-prefixes for [25845]. props jorbin. see #25603.
git-svn-id: https://develop.svn.wordpress.org/trunk@25849 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 19:24:18 +00:00
Andrew Nacin
278b180b2f About page: Prevent the meter from briefly sticking on 'Strong' when the animation resets.
props jorbin.
see #25603.


git-svn-id: https://develop.svn.wordpress.org/trunk@25848 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 18:49:47 +00:00
Andrew Nacin
c85914b57e Since we're dealing with a huge password meter, don't bold half of the result strings unnecessarily. see #25603.
git-svn-id: https://develop.svn.wordpress.org/trunk@25847 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 18:36:01 +00:00
Dominik Schilling (ocean90)
476e4a4778 IE7: Fix width of the password input field on the about page. see #25603.
git-svn-id: https://develop.svn.wordpress.org/trunk@25846 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-18 17:57:08 +00:00