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
Andrew Nacin
e09aaf8cf5
Return an empty stdClass from wp_count_posts() when a nonexistent post type is requested.
...
props johnpbloch.
fixes #24803 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24826 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 21:38:00 +00:00
Andrew Nacin
ec1ae2334a
Inline documentation for esc_attr_x() and esc_html_x(). props fjarrett, fixes #24212 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24825 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 21:26:10 +00:00
Andrew Nacin
438002864f
Terms list table: Only show 'View' links for public taxonomies. props SergeyBiryukov. fixes #24692 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24824 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 21:06:19 +00:00
Andrew Nacin
f05e592506
Pass $update to the save_post and wp_insert_post hooks in wp_insert_post(). props ericmann, fixes #21450 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24823 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 21:05:25 +00:00
bumpbot
d1a8fdb58b
Compress scripts/styles: 3.7-alpha-24822.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24822 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 20:58:51 +00:00
Mark Jaquith
2c63d1b494
Remove our revisions easter egg, as it doesn't have a place in our new UI.
...
There will be opportunities for other easter eggs. This one has had its decade.
Fixes #24852 for trunk. Props noahsilverstein.
git-svn-id: https://develop.svn.wordpress.org/trunk@24820 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 20:56:14 +00:00
Andrew Ozz
50b8437d59
Add "experimental" to heartbeat phpdoc, fixes #24855 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24818 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 20:54:48 +00:00
Andrew Nacin
7eda325f58
Allow has_post_format() to accept an array of formats to check. props ericmann. fixes #17320 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24817 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 20:48:09 +00:00
Jon Cave
127c229182
Fix notice and show generic last update message if _edit_last references a nonexistent user.
...
Fixes #15498 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24816 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 20:35:51 +00:00
Mark Jaquith
c7ef7b482b
Revisions: Combine our tooltip and from/to templates into one generic template
...
We had three copies of essentially the same template. Now just one, with minor logic inside.
Also fixes a bug where tooltip.revision was being initially set to a diff instead of a revision.
For trunk. See #24804 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24814 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 20:15:28 +00:00
Jon Cave
05cbd5ec91
Remove unnecessary secret_salt_warning().
...
If salts/keys are not defined in wp-config.php then they will be generated
automatically and stored in the database. [19771] also deals with values
that are duplicated or set to default.
Fixes #14803 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24813 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 19:45:57 +00:00
Jon Cave
0a7dbdc284
Introduce a new endpoint mask for all archives, fixes #16303 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24812 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 19:18:19 +00:00
Michael Adams (mdawaffe)
fc20fc9ebb
Allow HTTPS URL enclosures.
...
Props markjaquith with a patch that predates all WordCamps.
Fixes #2875 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24810 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 19:07:43 +00:00
Jon Cave
7b0a5e5240
Drop leading / by retrieving the inner subpattern when matching attachment endpoints.
...
Fixes #22619
git-svn-id: https://develop.svn.wordpress.org/trunk@24809 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 19:02:08 +00:00
Mark Jaquith
a238a10d73
Fix the positioning of the post lock icon/layout in RTL mode.
...
Fixes #24850 for trunk. Props ocean90, rasheed.
git-svn-id: https://develop.svn.wordpress.org/trunk@24808 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 19:01:37 +00:00
Michael Adams (mdawaffe)
9de8ab8274
Fix inline docs for posts functions that no longer use `$wpdb`.
...
Props jdgrimes, JustinSainton.
git-svn-id: https://develop.svn.wordpress.org/trunk@24807 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 18:52:56 +00:00
Andrew Nacin
80b1716bf9
Trunk is now 3.7-alpha.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24806 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-28 18:48:36 +00:00
Mark Jaquith
405b7726ae
Add some missing PHPDoc `@since` lines.
...
Fixes #24742 . Props DrewAPicture.
git-svn-id: https://develop.svn.wordpress.org/trunk@24804 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-27 23:11:03 +00:00
bumpbot
d42756992c
Compress scripts/styles: 3.6-RC2-24803.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24803 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-27 12:16:23 +00:00
Andrew Nacin
c1e35fb107
About page for 3.6.
...
* Colorful New Theme
* Write with Confidence
* Support for Audio and Video
* Under the Hood
Screenshots to come. Under the Hood to be finalized and thus not yet offered for translation.
props aaroncampbell, coffee2code, duck_, lessbloat, markjaquith, nacin, samuelsidler, siobhan.
see #24832 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24802 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-27 12:10:58 +00:00
bumpbot
6f5eeb5498
Compress scripts/styles: 3.6-RC2-24801.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24801 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-27 08:58:53 +00:00
Mark Jaquith
9d2e982a79
Parse `attrs` before comparing to `attachment.attributes`. Small efficiency gain.
...
Props garyc40. Fixes #24753 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24800 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-27 07:09:05 +00:00
Andrew Nacin
1fd6c87716
Don't show "Preview" for locked, non-public post types. props aaroncampbell. fixed #24139 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24799 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-27 06:57:42 +00:00
Mark Jaquith
30a17c9ab9
Reinstate 'label' property of nav menu items. Fixes a regression from [22234].
...
Fixes #24840 . Props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@24798 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-27 06:50:59 +00:00
Lance Willett
54d6613428
Twenty Thirteen: clear comment form paragraph elements to ensure layout doesn't break with long labels (like with Spanish). Props Frank Klein, closes #24843 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24797 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-26 19:28:46 +00:00
potbot
f1f99b721d
POT, generated from r24795
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24796 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 22:14:05 +00:00
Lance Willett
6eb7f2f9ab
Twenty Thirteen: small tweaks to stylesheet description for clarity.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24795 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 21:41:39 +00:00
Mark Jaquith
a91b02322e
3.6-RC2
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24794 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 07:15:05 +00:00
bumpbot
48889c8a8a
Compress scripts/styles: 3.6-RC1-24793.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24793 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 06:57:40 +00:00
Mark Jaquith
77873dedcc
Oops. Forgot that we support a PHP version from 2007. Either that or I've been doing a lot of JS.
...
Props kovshenin. See [24789].
git-svn-id: https://develop.svn.wordpress.org/trunk@24792 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 06:36:29 +00:00
Andrew Nacin
8a54be6786
jQuery.noConflict(). see [24781]. see #24821 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24791 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 06:33:54 +00:00
Andrew Nacin
5ca8aa7447
Revisions changes.
...
* Eliminates the bloated Revisions meta box in favor of 'Revisions: #' in the publish box.
* Adds ability to compare autosave to current post, when revisions are disabled.
* Makes autosaves stand out visually, including "Restore This Autosave".
Also:
* Adds missing capability check for restoring a revision.
* When no revision matches the post's current modified time, avoid marking an autosave as 'current'.
* Fixes wp_get_post_autosave() to return an autosave even when revisions are disabled.
* Add 'check_enabled' arg to wp_get_post_revisions(); false avoids the wp_revisions_enabled() check.
* Adds a responsive slider that is narrower for fewer versions. props markjaquith.
see #24804 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24790 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-24 06:08:14 +00:00