Andrew Nacin
61405b9934
Heartbeat: Reduce the heartbeat from 120 sec to 100 sec when the window doesn't have the focus, to be shorter than the post lock expiration window.
...
props azaozz.
fixes #24894 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24908 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 03:23:22 +00:00
Mark Jaquith
0a739e4ae0
Set post locked info height to auto so it doesn't overlap action links.
...
Fixes #24553 for trunk. Props azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@24906 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-31 03:10:00 +00:00
potbot
f7f6aa3685
POT, generated from r24904
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24905 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 23:14:01 +00:00
Lance Willett
e0135dd36b
Twenty Thirteen: combine two similar `Nothing Found` strings. Fixes #24891 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24904 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 22:24:53 +00:00
Michael Adams (mdawaffe)
755d98f7dc
Improved XML handling for oEmbed.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24902 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 21:57:27 +00:00
Andrew Nacin
2f9c67878e
About page: Fix jQuery version # and decouple this from the string, as we had done in WP 3.3. see #24832 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24900 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 20:26:32 +00:00
Andrew Nacin
43014887c6
Final final about string fixes. see #24832 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24898 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 19:40:35 +00:00
Andrew Nacin
dbe4197dd3
Add missing documentation from [24894]. see #24646 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24895 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 18:39:57 +00:00
Andrew Nacin
84255b0e03
Introduce wp_safe_remote_request(). Also wp_safe_remote_head(), wp_safe_remote_get(), wp_safe_remote_post().
...
Reverts [24482].
see #24646 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24894 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 15:37:01 +00:00
Andrew Nacin
3be1012e8a
Make remaining about strings translatable. Final tweaks to strings and ordering of "Under the Hood". see #24832 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24892 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 15:31:18 +00:00
Dion Hulse
6ceefc0e26
WP_HTTP: PHPDoc updates for WP_Http::handle_redirects(). Props DrewAPicture. Fixes #16889
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24890 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 06:47:03 +00:00
Mark Jaquith
4d1eb934b4
Improve the 3.6 about page "Under the Hood" copy.
...
Props markjaquith, aaroncampbell. See #24832 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24888 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-30 06:34:24 +00:00
Andrew Nacin
cafccbea91
Add missing gettext. This is not a new string; it already exists a few lines up. props alex-ye, fixes #24880 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24885 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 19:48:41 +00:00
Andrew Nacin
b725127d21
Rename post_lock_text hook to post_locked_dialog, and lock_taken_over_dialog to post_lock_lost_dialog. fixes #24830 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24884 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 19:40:13 +00:00
Aaron D. Campbell
cf89623e16
Make the `show_post_locked_dialog` filter hide both the post locked and post taken over dialogs
...
props azaozz, DH-Shredder. Fixes #24830 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24883 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 19:25:26 +00:00
Andrew Nacin
d3363d11bf
New build of SWFUpload that ignores URL query strings.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24880 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 19:15:00 +00:00
Mark Jaquith
1891cf880f
Delete old autosave if new autosave has same content as the post.
...
Props nacin. Fixes #7392 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24878 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 19:06:08 +00:00
bumpbot
b3c1e7a5d4
Compress scripts/styles: 3.7-alpha-24877.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24877 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 18:58:59 +00:00
Jon Cave
707bd3ae4a
Fix potential SQLi through improper use of API functions.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24875 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 18:16:47 +00:00
Andrew Nacin
16adf7644b
Reset $wpdb->insert_id on a failed INSERT or REPLACE. See [24459] [24494].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24872 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 18:14:05 +00:00
Andrew Nacin
5a0e739cc7
Limit pingback response size. fixes #4137 . for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24871 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 18:00:06 +00:00
Andrew Nacin
fc12420861
Unique load array in load-scripts and load-styles.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24868 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 17:57:04 +00:00
Andrew Nacin
19bc573d35
Fix pass by reference issue. see #24873 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24866 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 17:53:24 +00:00
Mark Jaquith
7c99f40451
Revisions: Fix PHP loading of comparison to first revision, and premature rendering of tooltip.
...
Props aaroncampbell, markjaquith. Fixes #24873 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24864 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 17:26:03 +00:00
Andrew Nacin
241ca959be
Update MediaElement.js SWF file from upstream. Fixes issues with controls. fixes #24183 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24861 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 09:16:02 +00:00
Andrew Nacin
6610b7a29c
Change 'Change two revisions' to 'Compare any two revisions' for clarity. props siobhan. see #24804 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24859 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 06:56:49 +00:00
Andrew Nacin
50a1ab0c8e
Update HTML classes in the audio and video shortcodes. props rfair404. fixes #24820 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24857 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 06:51:46 +00:00
Andrew Nacin
5a7fb9b5b0
Remove unnecessary cap checks from [24854]. You need these capabilities (or equivalent) to access the screens for these feature pointers. see #24832 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24855 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 06:43:30 +00:00
Mark Jaquith
b92460a7c1
Tooltips for 3.6 features: Revisions, Post Locking.
...
Props siobhan. See #24832 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24853 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 06:17:01 +00:00
bumpbot
9aca968cab
Compress scripts/styles: 3.7-alpha-24851.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24851 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 04:58:59 +00:00
Andrew Nacin
86661dc523
Don't override an existing WP_Error object in wp_authenticate_username_password().
...
props willnorris.
fixes #19714 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24850 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 03:43:22 +00:00
Andrew Nacin
4da2cb6d51
Avoid racing TinyMCE, which avoids the creation of unnecessary autosaves. props azaozz. see #7392 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24849 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 03:37:14 +00:00
Andrew Nacin
949c53cae1
Remove "special" multisite spam check in the authentication API.
...
The spamming of a site no longer directly affects a user of said site.
Moves the spam check to the wp_authenticate filter. Networks in need
of enhanced spam-fighting should leverage this same technique.
Allow is_user_spammy() to accept a WP_User object.
props willnorris, brianhogg.
fixes #24771 . see #19714 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24848 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 03:23:51 +00:00
bumpbot
6bd6a8f136
Compress scripts/styles: 3.7-alpha-24847.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24847 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 02:58:58 +00:00
Dion Hulse
8f4c113718
WP_HTTP: When multiple location headers are specified, use the last specified location url as the redirect location. Fixes #16890
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24846 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 02:11:46 +00:00
Dion Hulse
9ebe1e049b
WP_HTTP: Fsockopen: Respect a specified Host header in the Fsockopen WP_HTTP transport. Fixes #24182
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24845 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 01:47:01 +00:00
Andrew Nacin
685fd7fdea
If wp-login.php is accessed over HTTPS, get_home_url() should not return HTTPS. This is the same assumption we use in the admin.
...
props willnorris.
fixes #16822 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24844 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 01:21:27 +00:00
Dion Hulse
8d07217b58
WP_HTTP: Abstract out the Redirection handling code into it's own method and fix a bunch of redirection edgecases at the same time.
...
Fixes #17588
Fixes 16889
Props wonderboymusic and kovshenin for initial patches
git-svn-id: https://develop.svn.wordpress.org/trunk@24843 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 01:19:54 +00:00
Helen Hou-Sandi
a7de44b373
Set the default internal search value for the link dialog to be the text that is highlighted in the editor. props greuben. fixes #16276 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24841 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 01:01:33 +00:00
Mark Jaquith
47eca52e74
Fix wrong use of `esc_html_e()`.
...
Props ocean90. Fixes #24854 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24840 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 01:00:59 +00:00
bumpbot
a98c1ad91e
Compress scripts/styles: 3.7-alpha-24839.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24839 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 00:58:57 +00:00
Mark Jaquith
3723898d5b
Fix a variable typo in `get_post_gallery_images()`.
...
props rodrigosprimo. Fixes #24202 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24837 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-29 00:52:31 +00:00
Mark Jaquith
68c9199819
Rename the new 'left'/'right' flags on the `_wp_post_revision_field_$field` filter to 'from'/'to'.
...
Fixes #24848 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24835 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 23:28:21 +00:00
Helen Hou-Sandi
c40fd09183
More betterer theme screenshot scaling when the admin menu is folded. props andrewspittle. fixes #22794 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24834 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 23:24:17 +00:00
Andrew Nacin
6f3d2e4e93
Add description argument to register_taxonomy().
...
props aaronholbrook.
fixes #24808 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24833 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 23:01:56 +00:00
Lance Willett
55e956dd67
Importing the Further theme, first pass at the new default theme for 2014.
...
A magazine theme with clean, responsive design focused on highlighting featured content prominently on home page.
This is slated for 3.8. Development will occur in trunk for the theme, and in plugins for the nice-to-have features.
Nice-to-have improvements include:
- Add a Contributors page template to highlight authors.
- Easy-to-manage featured content.
- Add support for an Authors widget to highlight authors.
Welcome, Twenty Fourteen né Further. Props iamtakashi, see #24858 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24832 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 22:55:10 +00:00
Helen Hou-Sandi
34141c5af4
Add an `edit_form_top` hook to the post edit form. props yurivictor. fixes #24861 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24831 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 22:29:36 +00:00
Andrew Nacin
828514ac0b
When registering a post type, pass the correct argument for feeds to add_permastruct().
...
props butuzov, johnpbloch.
fixes #23302 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24830 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 22:28:18 +00:00
Andrew Nacin
434066573b
Add $taxonomy to edit_terms and edited_terms actions. props SergeyBiryukov, fixes #22542 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24829 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 22:15:03 +00:00
Aaron D. Campbell
0215d49d5a
Disable ability to restore a revision if another user has the post lock
...
props adamsilverstein. Fixes #24829 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24827 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 21:51:44 +00:00