Andrew Ozz
21f4012df4
TinyMCE: add stub for the missing editor.controlManager to the compat3x plugin. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26897
git-svn-id: http://core.svn.wordpress.org/trunk@26780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 07:03:11 +00:00
Andrew Ozz
87c75ab93a
DFW: fix buttons and the title width, make the fade out/in when opening and closing a bit faster. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26896
git-svn-id: http://core.svn.wordpress.org/trunk@26779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 04:18:10 +00:00
Drew Jaynes
751833c97c
Inline documentation for hooks in wp-includes/class-wp-customize-section.php.
...
Props leewillis77, kpdesign.
Fixes #26196 .
Built from https://develop.svn.wordpress.org/trunk@26892
git-svn-id: http://core.svn.wordpress.org/trunk@26775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 02:07:11 +00:00
Drew Jaynes
870b415dbd
Inline documentation for hooks in wp-includes/class-wp-theme.php.
...
Props richard2222, kpdesign.
Fixes #26217 .
Built from https://develop.svn.wordpress.org/trunk@26891
git-svn-id: http://core.svn.wordpress.org/trunk@26774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 01:54:10 +00:00
Andrew Ozz
e8e30c03f5
TinyMCE: add stubs for the missing tinymce.util.Cookie, windowManager.onOpen and windowManager.onClose to the compat3x plugin. See #24067 , fixes #26750 .
...
Built from https://develop.svn.wordpress.org/trunk@26890
git-svn-id: http://core.svn.wordpress.org/trunk@26773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 01:07:11 +00:00
Andrew Ozz
2a68f85fa1
Comment moderation shortcuts:
...
- Fix "toggle checkboxes" (shift+x).
- Add noDisable selector and use it to stop disabling the shortcuts when a select-comment checkbox is focused.
See #26755 .
Built from https://develop.svn.wordpress.org/trunk@26889
git-svn-id: http://core.svn.wordpress.org/trunk@26772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 00:11:14 +00:00
Sergey Biryukov
0ddaa76f3e
Use correct example of a Dashicons helper class in add_menu_page() and register_post_type() docs.
...
props Rarst.
fixes #26617 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26884
git-svn-id: http://core.svn.wordpress.org/trunk@26767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-31 10:33:11 +00:00
Andrew Ozz
cf5aa6d6da
TinyMCE:
...
- Fix removing leftovers from broken captions.
- Better filter for line breaks and <br> tags when editing captions.
See #24067 .
Built from https://develop.svn.wordpress.org/trunk@26882
git-svn-id: http://core.svn.wordpress.org/trunk@26765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-31 03:10:11 +00:00
Andrew Ozz
0226a93d0a
Set wpActiveEditor as soon as any editor associated button is clicked, including Add Media, switching Text to Visual, etc. Fixes #26747 .
...
Built from https://develop.svn.wordpress.org/trunk@26881
git-svn-id: http://core.svn.wordpress.org/trunk@26764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-30 19:17:11 +00:00
Andrew Ozz
a16cc19790
TinyMCE:
...
- Fix toolbar icons in IE9.
- Remove background gradients in IE < 10.
- Lint our plugins.
- Add draggable attribute to the caption wrapper and make the captioned images non-draggable in Chrome.
See #24067 .
Built from https://develop.svn.wordpress.org/trunk@26880
git-svn-id: http://core.svn.wordpress.org/trunk@26763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-30 01:54:11 +00:00
Andrew Ozz
ed9ddce685
Bump the TinyMCE version, see #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26877
git-svn-id: http://core.svn.wordpress.org/trunk@26760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-29 04:22:13 +00:00
Andrew Ozz
855889f7aa
TinyMCE 4.0.12, first run.
...
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067 .
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 23:53:15 +00:00
Scott Taylor
f3b433cec3
In WP_Query::get_queried_object()
, move the check for $query['terms']
to a place where $query
is actually set. This should be included if [26864] makes it into 3.8.1.
...
Props SergeyBiryukov.
See #26728 , [26864], #26634 , #26627 .
Built from https://develop.svn.wordpress.org/trunk@26874
git-svn-id: http://core.svn.wordpress.org/trunk@26758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-27 19:30:10 +00:00
Drew Jaynes
cd8cedc40d
First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin.
...
Props JustinSainton, SergeyBiryukov, DrewAPicture.
Fixes #26713 .
Built from https://develop.svn.wordpress.org/trunk@26868
git-svn-id: http://core.svn.wordpress.org/trunk@26754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-24 18:57:12 +00:00
Drew Jaynes
1f5f0fcd33
Remove some @uses references to apply_filters
and do_action
rendered redundant by hook documentation.
...
Built from https://develop.svn.wordpress.org/trunk@26867
git-svn-id: http://core.svn.wordpress.org/trunk@26753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-24 16:43:14 +00:00
Scott Taylor
014007f029
Fix a regression for get_queried_object()
by checking for category_name
when cat
isn't set - mainly is_category()
being true for Uncategorized or when queried object is accessed in pre_get_posts
. Also check for $query['terms']
when trying to assign a term as the queried object when is_tax()
is true. Adds a unit test. See [26007] for how I originally broke this while fixing a bigger issue.
...
Props Chouby, jeremyfelt.
Fixes #26634 , #26627 .
Built from https://develop.svn.wordpress.org/trunk@26864
git-svn-id: http://core.svn.wordpress.org/trunk@26750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-22 18:31:12 +00:00
Drew Jaynes
88952445cf
Inline documentation for hooks in wp-includes/feed-atom-comments.php.
...
Props dustyf, piontkowski, kpdesign.
Fixes #26532 .
Built from https://develop.svn.wordpress.org/trunk@26863
git-svn-id: http://core.svn.wordpress.org/trunk@26749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-21 20:22:12 +00:00
Andrew Nacin
9d478b977f
Trunk is now 3.9 alpha.
...
Built from https://develop.svn.wordpress.org/trunk@26857
git-svn-id: http://core.svn.wordpress.org/trunk@26744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 23:58:48 +00:00
Ryan Boren
07c16fd23c
The Pinking Shears stir from their slumber, awakened by what may seem, to those
...
innocent in the ways of The Shears, a triviality, a nothing-of-consequence. But there are consequences indeed for recklessly trailing your whitespace. Naturally, they a dire!
One, two! One, two! And through and through
The Pinking Shears went snicker-snack!
They plucked your tail and with your space
They went sniksnuking back.
Let me tell you, that can be uncomfortable, so always pre-sniksnuk your trailing whites. May The Shears be with you.
Built from https://develop.svn.wordpress.org/trunk@26851
git-svn-id: http://core.svn.wordpress.org/trunk@26738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 19:49:11 +00:00
Andrew Nacin
bc02a5c4d1
3.8-RC2
...
Built from https://develop.svn.wordpress.org/trunk@26844
git-svn-id: http://core.svn.wordpress.org/trunk@26731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 20:39:11 +00:00
Helen Hou-Sandí
eaec1347f2
Remove many of the now-unused images in core. Some images have been left for now, notably our previous style icons, action indicators, and images that see a higher frequency of use in plugins to allow them more time to adapt to the new design. props ocean90, Ipstenu, coffee2code. fixes #26036 .
...
Built from https://develop.svn.wordpress.org/trunk@26821
git-svn-id: http://core.svn.wordpress.org/trunk@26708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 03:21:12 +00:00
Andrew Ozz
448a401f77
Make older mobile browsers and IE7 usable:
...
- Text labels in the toolbar.
- Image icons in the visual editor.
- Some IE7 structural css fixes.
Fixes #26369 .
Built from https://develop.svn.wordpress.org/trunk@26819
git-svn-id: http://core.svn.wordpress.org/trunk@26706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 02:41:10 +00:00
Andrew Nacin
1154c059ef
RTL font-family overrides. (Tahoma generally, and Arial for Hebrew.)
...
props yoavf.
fixes #24977 .
Built from https://develop.svn.wordpress.org/trunk@26816
git-svn-id: http://core.svn.wordpress.org/trunk@26703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 01:31:11 +00:00
Matt Thomas
4d48df2d58
Change the site menu icon from a globe to home, which is a better metaphor for what it does. Fixes #25971 .
...
Built from https://develop.svn.wordpress.org/trunk@26812
git-svn-id: http://core.svn.wordpress.org/trunk@26699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 00:41:09 +00:00
Matt Thomas
01b1a66317
Make the padding added for top-level toolbar items in r26675 more specific and reinstate the previous 10px padding for links within dropdown menus. Fixes #26484 .
...
Built from https://develop.svn.wordpress.org/trunk@26808
git-svn-id: http://core.svn.wordpress.org/trunk@26695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 20:44:10 +00:00
Andrew Ozz
f7c176ca46
Toolbar:
...
- Fix submenus in responsive mode (were ignoring the .hover class on a parent).
- Improve top level items hiding.
Fixes #26476 .
Built from https://develop.svn.wordpress.org/trunk@26803
git-svn-id: http://core.svn.wordpress.org/trunk@26690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 17:15:11 +00:00
Andrew Nacin
e9f6fc09df
Request a larger avatar for the toolbar, as we use it at narrow responsive sizes.
...
props kovshenin.
fixes #26292 .
Built from https://develop.svn.wordpress.org/trunk@26800
git-svn-id: http://core.svn.wordpress.org/trunk@26687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 07:43:11 +00:00
Andrew Nacin
5b5a31e78e
About page: Don't load zxcvbn, which is a dependency of an unused piece of user-profile.js.
...
Built from https://develop.svn.wordpress.org/trunk@26799
git-svn-id: http://core.svn.wordpress.org/trunk@26686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 07:28:10 +00:00
Andrew Nacin
790f951105
Move pointer-specific CSS from wp-admin.css to wp-pointer.css.
...
props ocean90.
fixes #26477 .
Built from https://develop.svn.wordpress.org/trunk@26797
git-svn-id: http://core.svn.wordpress.org/trunk@26684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 07:17:10 +00:00
Drew Jaynes
081932443f
Avoid a notice by checking that SCRIPT_DEBUG is defined before evaluating it in register_admin_color_schemes()
.
...
See #26316 .
Built from https://develop.svn.wordpress.org/trunk@26786
git-svn-id: http://core.svn.wordpress.org/trunk@26673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 19:23:11 +00:00
Dion Hulse
bb9dd73d53
Cron: Fix a case where a cache inconsistency can cause wp_clear_scheduled_hook() to enter an infinite loop. This unravels the function from using other cron api functions to looping over the cron array directly. See #25773
...
Built from https://develop.svn.wordpress.org/trunk@26782
git-svn-id: http://core.svn.wordpress.org/trunk@26669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 09:13:11 +00:00
Andrew Nacin
04a39763db
Tell the script loader that colors-fresh should be treated as an RTL style, as explained (but omitted) in [26780]. see #26316 .
...
Built from https://develop.svn.wordpress.org/trunk@26781
git-svn-id: http://core.svn.wordpress.org/trunk@26668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 09:08:11 +00:00
Andrew Nacin
aa1ac65bfc
Admin color schemes: Manually handle RTL and minified versions of the CSS files on registration.
...
This bypasses WP_Styles entirely, which is much simpler for the moment, given that color schemes bypass WP_Styles for plenty already. The script loader is told to stop thinking of colors.css as an RTL-ified file. The colors-fresh handle, used directly on the login screen, needed to be (even before this commit).
fixes #26316 .
Built from https://develop.svn.wordpress.org/trunk@26780
git-svn-id: http://core.svn.wordpress.org/trunk@26667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 09:05:10 +00:00
Andrew Nacin
c09252b950
Core updates for the new color schemes.
...
* Update about page, there's now 8.
* Display them four wide, not three, and ensure adequate spacing.
* Use a dedicated nonce.
* Push Light to the front in addition to Default.
* Use user-profile.js on about.php. A few extra things are initialized but they are harmless.
see #26468 , #26387 .
Built from https://develop.svn.wordpress.org/trunk@26776
git-svn-id: http://core.svn.wordpress.org/trunk@26663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:46:21 +00:00
Andrew Nacin
ce94d432a7
Add four more color schemes to round out our collection at eight.
...
The new schemes are Ectoplasm, Coffee, Ocean, Sunrise. For those following along, the first three were at one point named Ghostbusters, Pixel, and Cape Cod.
See [26137] for the original color schemes.
props ryelle, melchoyce, drw158, littlethingsstudio.
fixes #26468 . see #25858 , #22862 .
Built from https://develop.svn.wordpress.org/trunk@26773
git-svn-id: http://core.svn.wordpress.org/trunk@26660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:26:12 +00:00
Matt Thomas
4d1b5e1c32
Comment out these touch-related styles as they break toolbar dropdowns in Chrome for Android. Fixes #25972 .
...
Built from https://develop.svn.wordpress.org/trunk@26770
git-svn-id: http://core.svn.wordpress.org/trunk@26658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 04:59:13 +00:00
Dominik Schilling
b25df0640a
Dashicons: Update to the latest dashicons files.
...
props empireoflight, melchoyce.
fixes #26362 .
Built from https://develop.svn.wordpress.org/trunk@26755
git-svn-id: http://core.svn.wordpress.org/trunk@26643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 23:46:10 +00:00
Andrew Nacin
a0763c2fbb
Updates to Dashicons classes.
...
props melchoyce.
fixes #26227 .
Built from https://develop.svn.wordpress.org/trunk@26752
git-svn-id: http://core.svn.wordpress.org/trunk@26640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 23:12:10 +00:00
Dominik Schilling
d0a9d193b6
RTL: Don't flip thumbnail positions in Insert Media window.
...
Restores pre-3.8 behavior.
props siobhyb for the initial patch.
fixes #26461 .
Built from https://develop.svn.wordpress.org/trunk@26748
git-svn-id: http://core.svn.wordpress.org/trunk@26636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 21:45:10 +00:00
Matt Thomas
03ab0cc95f
Provide a default generic avatar icon in the My Account menu if avatars are disabled, ensuring that the link is visible at responsive sizes. See #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26744
git-svn-id: http://core.svn.wordpress.org/trunk@26633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 21:23:10 +00:00
Matt Thomas
c74da427f4
Add new fit-content rules to accompany intrinsic width on adminbar dropdown wrappers. Fixes #26430 , props Jayjdk.
...
Built from https://develop.svn.wordpress.org/trunk@26735
git-svn-id: http://core.svn.wordpress.org/trunk@26624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:16:10 +00:00
Andrew Nacin
9ecfa135d8
Map old -width theme tags to new -layout tags for the purposes of translation in the admin.
...
see #21442 .
Built from https://develop.svn.wordpress.org/trunk@26725
git-svn-id: http://core.svn.wordpress.org/trunk@26614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 14:37:10 +00:00
Andrew Nacin
9b45d73073
Add icon to the help button in distraction-free writing.
...
props ocean90.
fixes #26450 .
Built from https://develop.svn.wordpress.org/trunk@26722
git-svn-id: http://core.svn.wordpress.org/trunk@26611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 14:11:10 +00:00
Matt Thomas
c31444d1be
Make toolbar dropdown submenu links tappable. See #25972 , props ninnypants.
...
Built from https://develop.svn.wordpress.org/trunk@26716
git-svn-id: http://core.svn.wordpress.org/trunk@26605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 05:28:11 +00:00
Matt Thomas
1f5503f92e
Keep draggable panels from interfering with swipe scrolling on touch devices running Internet Explorer 10/11. Fixes #26297 , props georgestephanis.
...
Built from https://develop.svn.wordpress.org/trunk@26715
git-svn-id: http://core.svn.wordpress.org/trunk@26604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 04:44:10 +00:00
Matt Thomas
4352cd7a12
At responsive sizes, remove the hard-coded fixed positioning for Comments and Add New in the toolbar. Make links slightly wider to better fill small-screen devices. Fixes #26432 .
...
Built from https://develop.svn.wordpress.org/trunk@26710
git-svn-id: http://core.svn.wordpress.org/trunk@26599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 01:02:12 +00:00
Andrew Nacin
e7f80a8fad
Customizer: Revert [26548], removing _.isEqual() for proper object comparison.
...
This broke the customizer in IE 11, with possibly other side effects. Revisit in 3.9.
Also reverts [26632].
see #26061 (reopens), fixes #26438 .
Built from https://develop.svn.wordpress.org/trunk@26702
git-svn-id: http://core.svn.wordpress.org/trunk@26592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:13:10 +00:00
Andrew Nacin
1a34e361ac
Fix z-indexes as it relates to thickbox, the theme modal, and admin menu.
...
props ryelle, shaunandrews.
fixes #26442 .
Built from https://develop.svn.wordpress.org/trunk@26701
git-svn-id: http://core.svn.wordpress.org/trunk@26591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:10:11 +00:00
Andrew Nacin
0617feaa30
Final SVG painter fixes.
...
* wp.svgPainter and now moved to wp-admin.
* Restore !important background-image handling.
* Delay executing the IE9-specific base64 code if we don't need it.
* Make painted icons lose their color after hover at the same speed as dashicons (100ms).
props azaozz.
fixes #26333 .
Built from https://develop.svn.wordpress.org/trunk@26693
git-svn-id: http://core.svn.wordpress.org/trunk@26583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:01:10 +00:00
Andrew Nacin
8b8c8e96e7
Deactivate MP6 on update to 3.8.
...
If left on, it introduces a lot of weird issues not easily diagnosed. MP6 will be updated before release to prevent itself from functioning 3.8+, but this will cut down on support requests by people who update core but not MP6, which was a fairly popular plugin.
fixes #26334 .
Built from https://develop.svn.wordpress.org/trunk@26692
git-svn-id: http://core.svn.wordpress.org/trunk@26582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:30:11 +00:00
Matt Thomas
6202106205
Un-hide dropdown submenus at responsive sizes, make submenus within dropdowns appear as inline lists at mobile device sizes. See #25972 .
...
Built from https://develop.svn.wordpress.org/trunk@26687
git-svn-id: http://core.svn.wordpress.org/trunk@26577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:58:10 +00:00
Matt Thomas
b35e6921bb
When a button appears within a paragraph, vertically align it with the text baseline.
...
Built from https://develop.svn.wordpress.org/trunk@26683
git-svn-id: http://core.svn.wordpress.org/trunk@26573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:53:10 +00:00
Matt Thomas
8a2e7789f0
Allow dropdown lists to appear in responsive states; reset the minimum width of dropdowns at responsive sizes. See #26430 .
...
Built from https://develop.svn.wordpress.org/trunk@26680
git-svn-id: http://core.svn.wordpress.org/trunk@26570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:38:12 +00:00
Matt Thomas
b711d6b347
By default, hide all adminbar links at responsive sizes and selectively un-hide just the essential core items. Fixes #26430 .
...
Built from https://develop.svn.wordpress.org/trunk@26678
git-svn-id: http://core.svn.wordpress.org/trunk@26568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:28:11 +00:00
Matt Thomas
48f6631c4e
Line up ALL the things:
...
* Make folded adminmenu icons line up with the W icon in the toolbar
* Make the W link in the toolbar the same width as the folded adminmenu
* Reduce padding on toolbar links to match reduced padding between W and Globe icons
* Reduce right-side padding on toolbar links to account for 1px of extra padding around icons on the left
See #25858 .
Built from https://develop.svn.wordpress.org/trunk@26675
git-svn-id: http://core.svn.wordpress.org/trunk@26565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:03:10 +00:00
Matt Thomas
2bac800656
Correct the alignment of the W logo within its container. See #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26670
git-svn-id: http://core.svn.wordpress.org/trunk@26560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 17:37:10 +00:00
Andrew Nacin
9b29ad0529
Allow for Dashicons and base64-encoded data:image/svg+xml URIs when specifying menu icons.
...
Both of these icons can be colored to match the color scheme, including hover states.
Both are accepted for register_post_type()'s menu_icon argument, and also add_menu_page()'s $icon_url argument.
To use a Dashicon, pass the name of the helper class, e.g. 'dashicons-piechart'.
To use an SVG, pass a valid data URI string starting with 'data:image/svg+xml;base64,'.
props helen.
fixes #25147 .
Built from https://develop.svn.wordpress.org/trunk@26664
git-svn-id: http://core.svn.wordpress.org/trunk@26554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 06:38:09 +00:00
Andrew Nacin
053898f8bc
Fix svg-painter in Chrome. see #26333 .
...
Built from https://develop.svn.wordpress.org/trunk@26663
git-svn-id: http://core.svn.wordpress.org/trunk@26553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 06:31:12 +00:00
Andrew Nacin
053663f68e
Remove the shadow on the TinyMCE editor.
...
This removes it from distraction-free writing and also gives the editor a bit of a lighter feel.
fixes #26421 .
Built from https://develop.svn.wordpress.org/trunk@26659
git-svn-id: http://core.svn.wordpress.org/trunk@26549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 04:26:11 +00:00
Drew Jaynes
e59ee5e974
Two more hook docs fixes.
...
`image_memory_limit` filter:
* Go with int|string on the limit, and simply notate '256M' as an acceptable string value.
`wp_editor_set_quality` filter:
* Add a missing parameter description for the mime type.
See #25721 .
Built from https://develop.svn.wordpress.org/trunk@26650
git-svn-id: http://core.svn.wordpress.org/trunk@26540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 23:51:19 +00:00
Drew Jaynes
b3bc78df8f
Hook docs fixes following [26645].
...
See #25721 .
Built from https://develop.svn.wordpress.org/trunk@26648
git-svn-id: http://core.svn.wordpress.org/trunk@26538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 23:32:11 +00:00
Andrew Nacin
feedbcde87
Improvements to image quality handling in the image editor classes.
...
props markoheijnen, DH-Shredder.
fixes #25721 .
Built from https://develop.svn.wordpress.org/trunk@26645
git-svn-id: http://core.svn.wordpress.org/trunk@26535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 22:49:10 +00:00
Dion Hulse
7f1047ece1
Remove the experimental RSS.JS feed, and move it to a plugin for feature development. Unprops pento. See #25639
...
Built from https://develop.svn.wordpress.org/trunk@26644
git-svn-id: http://core.svn.wordpress.org/trunk@26534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 22:24:10 +00:00
Helen Hou-Sandí
dbe43017b5
Remove more references to MP6 and standardize on .wp-ui-*
for prefixed generic class names. props nacin, kovshenin, fixes #26263 .
...
Built from https://develop.svn.wordpress.org/trunk@26635
git-svn-id: http://core.svn.wordpress.org/trunk@26525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 21:16:11 +00:00
Sergey Biryukov
41b6bf211f
Fix JSHint error. props atimmer. see #26061 .
...
Built from https://develop.svn.wordpress.org/trunk@26632
git-svn-id: http://core.svn.wordpress.org/trunk@26522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 20:18:11 +00:00
Drew Jaynes
087289b6a4
Hook docs pinking shears.
...
Built from https://develop.svn.wordpress.org/trunk@26631
git-svn-id: http://core.svn.wordpress.org/trunk@26521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 20:03:09 +00:00
Andrew Nacin
c3a2c63ac9
Add a copyright notice to zxcvbn. fixes #25926 .
...
Built from https://develop.svn.wordpress.org/trunk@26629
git-svn-id: http://core.svn.wordpress.org/trunk@26519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:53:10 +00:00
Matt Thomas
5d06a5e66a
Reset responsive button styles in the Customizer, which uses fixed widths and positioning and is otherwise non-responsive. See #21890 .
...
Built from https://develop.svn.wordpress.org/trunk@26628
git-svn-id: http://core.svn.wordpress.org/trunk@26518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:44:09 +00:00
Andrew Nacin
84c8a669d9
Heartbeat: Don't use a variable of the same name as the function it is in.
...
fixes #25073 .
Built from https://develop.svn.wordpress.org/trunk@26626
git-svn-id: http://core.svn.wordpress.org/trunk@26516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:24:09 +00:00
Andrew Nacin
10f58cded3
Restore min-width for toolbar menus. This allows the menus to expand to the width of the element above them.
...
props nvwd.
fixes #26389 .
Built from https://develop.svn.wordpress.org/trunk@26612
git-svn-id: http://core.svn.wordpress.org/trunk@26502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 17:00:10 +00:00
Andrew Nacin
acd61af260
Add Open Sans as a dependency to install.css and add Dashicons as a dependency to some other CSS files. see #26255 .
...
Built from https://develop.svn.wordpress.org/trunk@26605
git-svn-id: http://core.svn.wordpress.org/trunk@26495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 11:19:10 +00:00
Matt Mullenweg
68f39e3a9f
3.8 is ready for widespread, release candidate level of testing.
...
Built from https://develop.svn.wordpress.org/trunk@26604
git-svn-id: http://core.svn.wordpress.org/trunk@26494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 09:27:09 +00:00
Andrew Ozz
a29c279f2a
Svg-painter: fix couple of jshint warnings, see #26333 .
...
Built from https://develop.svn.wordpress.org/trunk@26603
git-svn-id: http://core.svn.wordpress.org/trunk@26493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 04:37:09 +00:00
Andrew Ozz
e6dd5fbf48
Svg-painter:
...
- Clean up the JS, better names, etc.
- Convert the base64 encode/decode code from jQuery plugin to local use.
- Add missing icon colors for the default theme.
- Make it more error-proof.
Fixes #26333 .
Built from https://develop.svn.wordpress.org/trunk@26601
git-svn-id: http://core.svn.wordpress.org/trunk@26491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 04:13:11 +00:00
Andrew Nacin
618406d0e1
Declare dashicons dependency for wp-pointer.css and media-views.css.
...
props dd32.
see #26255 .
Built from https://develop.svn.wordpress.org/trunk@26596
git-svn-id: http://core.svn.wordpress.org/trunk@26486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 00:34:10 +00:00
Matt Thomas
82540b9648
Add .ab-empty-item to the responsive adminbar sizing adjustments. Ensure that hidden text in responsive adminbar stays properly hidden in Firefox. See #26299 .
...
Built from https://develop.svn.wordpress.org/trunk@26595
git-svn-id: http://core.svn.wordpress.org/trunk@26485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:53:10 +00:00
Andrew Nacin
9be4bd5720
Rename the new custom-background arguments passed to add_theme_support().
...
* background-position becomes default-position-x
* background-attachment becomes default-attachment
* background-repeat becomes default-repeat
These are in line with existing default-image and default-color arguments, and also makes the position argument unambiguous and forwards compatible.
fixes #20816 .
Built from https://develop.svn.wordpress.org/trunk@26594
git-svn-id: http://core.svn.wordpress.org/trunk@26484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:36:10 +00:00
Andrew Nacin
b04d321fb9
Allow wp_enqueue_media() to "just work" in a customizer control.
...
props westonruter.
fixes #25618 .
Built from https://develop.svn.wordpress.org/trunk@26589
git-svn-id: http://core.svn.wordpress.org/trunk@26479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:54:11 +00:00
Andrew Nacin
974625d962
wp_list_categories(): Add cat-item-none and cat-item-all classes to the none/all options.
...
props SergeyBiryukov.
fixes #24428 .
Built from https://develop.svn.wordpress.org/trunk@26588
git-svn-id: http://core.svn.wordpress.org/trunk@26478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:51:19 +00:00
Andrew Nacin
64ff23f8f8
Remove certain accents in the Danish language.
...
props tlamedia.
fixes #23907 .
Built from https://develop.svn.wordpress.org/trunk@26585
git-svn-id: http://core.svn.wordpress.org/trunk@26475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:39:09 +00:00
Matt Thomas
d64d9058c1
Changes to the mobile adminbar:
...
- Unhide the Edit link
- Hide the W menu link
- Hide the Updates link
This ensures that Network (when available), Site, Edit, Comments, New, and Account are always visible. Fixes #26071 .
Built from https://develop.svn.wordpress.org/trunk@26575
git-svn-id: http://core.svn.wordpress.org/trunk@26466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:38:10 +00:00
Andrew Nacin
dd465838e6
Rename colors-fresh.css to colors.css. fixes #26137 .
...
Built from https://develop.svn.wordpress.org/trunk@26570
git-svn-id: http://core.svn.wordpress.org/trunk@26461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:16:11 +00:00
Matt Thomas
32f55716df
Give the adminbar Edit Post link an icon, and make it visible on small screen responsive states. See #26071 .
...
Built from https://develop.svn.wordpress.org/trunk@26559
git-svn-id: http://core.svn.wordpress.org/trunk@26450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:25:10 +00:00
Andrew Nacin
98215089b9
Revert [26050], stop trying to balance open HTML tags across nextpage and more tags for now.
...
see #6297 .
Built from https://develop.svn.wordpress.org/trunk@26557
git-svn-id: http://core.svn.wordpress.org/trunk@26448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:08:10 +00:00
Andrew Ozz
b88583c567
Quicktags: fix int/string strict comparison, see #26046 .
...
Built from https://develop.svn.wordpress.org/trunk@26553
git-svn-id: http://core.svn.wordpress.org/trunk@26444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 04:21:09 +00:00
Andrew Ozz
0f20e57329
Heartbeat:
...
- Bring back heartbeat.interval().
- Rename wp_disable_heartbeat_suspend() to wp_heartbeat_set_suspension().
- Rename the option for disabling suspension from options.suspend to options.suspension.
Fixes #25073 .
Built from https://develop.svn.wordpress.org/trunk@26549
git-svn-id: http://core.svn.wordpress.org/trunk@26441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:45:10 +00:00
Dominik Schilling
a6cabe9f6d
Customizer: Don't trigger a change event if two unchanged object values are equal.
...
In JavaScript: `{"title":"Foo"} !== {"title":"Foo"}`
Underscore.js provides an isEqual function to compare two values to see if they have the same contents, which can be use instead.
Because only one function of Underscore.js is needed we just add a copy of `_.isEqual` to customize-base.js.
props westonruter.
fixes #26061 .
Built from https://develop.svn.wordpress.org/trunk@26548
git-svn-id: http://core.svn.wordpress.org/trunk@26440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:08:09 +00:00
Andrew Nacin
492dfca8ab
Add dashicons CSS classes for easy access by plugins and themes.
...
props dd32.
fixes #26227 .
Built from https://develop.svn.wordpress.org/trunk@26547
git-svn-id: http://core.svn.wordpress.org/trunk@26439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 23:18:10 +00:00
Andrew Nacin
804be8b332
Be specific in term_exists error messages in wp_insert_term() as to what already exists (name, or name and slug).
...
props ericmann, SergeyBiryukov.
fixes #15741 .
Built from https://develop.svn.wordpress.org/trunk@26544
git-svn-id: http://core.svn.wordpress.org/trunk@26436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 23:06:11 +00:00
Andrew Nacin
6fa4ce2284
Return false from wp_delete_post() and wp_delete_attachment() if the DELETE is unsuccessful.
...
This prevents attachments from being deleted off disk when a DB is locked and the delete is otherwise unsuccessful.
fixes #25107 .
Built from https://develop.svn.wordpress.org/trunk@26543
git-svn-id: http://core.svn.wordpress.org/trunk@26435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 22:59:10 +00:00
Andrew Nacin
67c504cf23
Customizer: Ensure we have a string that's JSON parseable.
...
props mattwiebe.
fixes #postmessage-check.diff.
Built from https://develop.svn.wordpress.org/trunk@26542
git-svn-id: http://core.svn.wordpress.org/trunk@26434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 22:49:09 +00:00
Drew Jaynes
e2a921a6ed
Inline documentation for hooks in wp-includes/ms-functions.php.
...
Props ShinichiN, ericlewis, rzen.
Fixes #25598 .
Built from https://develop.svn.wordpress.org/trunk@26538
git-svn-id: http://core.svn.wordpress.org/trunk@26430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 20:45:10 +00:00
Matt Thomas
56a97bdc01
Add basic responsive styles for button-small and button-large, override responsive button-large styles when used in the .interim-login iframe. Fixes #26363 .
...
Built from https://develop.svn.wordpress.org/trunk@26533
git-svn-id: http://core.svn.wordpress.org/trunk@26426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:26:09 +00:00
Andrew Ozz
e31c68f9d2
Heartbeat: update wp-auth-check to use the new "connectNow()" method after a successful login, see #25073 .
...
Built from https://develop.svn.wordpress.org/trunk@26530
git-svn-id: http://core.svn.wordpress.org/trunk@26423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 18:47:09 +00:00
Matt Thomas
8d6aa0ab25
Updating .wp-dialog styling to match the new admin design. Fixes #26328 , props SergeyBiryukov, Ocean90.
...
Built from https://develop.svn.wordpress.org/trunk@26528
git-svn-id: http://core.svn.wordpress.org/trunk@26421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 17:59:10 +00:00
Scott Taylor
e86b10131b
Add a wp-video
class to the div
that wraps video shortcode output. It was previously hard to target.
...
Props nofearinc.
Fixes #25896 .
Built from https://develop.svn.wordpress.org/trunk@26526
git-svn-id: http://core.svn.wordpress.org/trunk@26419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 16:32:10 +00:00
Andrew Nacin
ba55e433a4
Revert [26012] for now, which had fixed using paged
with offset
in WP_Query but introduced side effects for those working around it.
...
see #18897 .
Built from https://develop.svn.wordpress.org/trunk@26525
git-svn-id: http://core.svn.wordpress.org/trunk@26418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 16:26:10 +00:00
Scott Taylor
fc7a7b8972
When WP_DEBUG
is set to true
, suppress deprecated errors from firing when calling mysql_connect()
, which is officially deprecated in PHP 5.5. We will remove this shameful code as soon as is humanly possible.
...
Props wonderboymusic. Extra love to tierra and nacin.
Fixes #26322 .
Built from https://develop.svn.wordpress.org/trunk@26512
git-svn-id: http://core.svn.wordpress.org/trunk@26405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 00:09:10 +00:00
Scott Taylor
ff6233b9c5
Fix lingering reference problem in wp_get_object_terms()
by not setting the foreach
'd vars to a reference. Adds unit test.
...
Props stephenharris.
Fixes #26339 .
Built from https://develop.svn.wordpress.org/trunk@26510
git-svn-id: http://core.svn.wordpress.org/trunk@26404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 00:00:10 +00:00
Andrew Ozz
db074f8e65
Widgets: improve the help text on the Widgets screen, props siobhan, props Hanni, fixes #26244 .
...
Built from https://develop.svn.wordpress.org/trunk@26505
git-svn-id: http://core.svn.wordpress.org/trunk@26399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 18:29:09 +00:00
Drew Jaynes
9e05dcc39b
Inline documentation for hooks in wp-includes/ms-blogs.php.
...
Props miyauchi, kpdesign.
Fixes #25596 .
Built from https://develop.svn.wordpress.org/trunk@26502
git-svn-id: http://core.svn.wordpress.org/trunk@26396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 17:32:10 +00:00
Drew Jaynes
27edadb0fd
Inline documentation for hooks in wp-includes/theme.php.
...
Props ShinichiN.
Fixes #25588 .
Built from https://develop.svn.wordpress.org/trunk@26501
git-svn-id: http://core.svn.wordpress.org/trunk@26395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 17:24:11 +00:00
Sergey Biryukov
928d7679b3
Fix strict notices in Tests_POMO_PO.
...
props markoheijnen for initial patch.
fixes #25631 .
Built from https://develop.svn.wordpress.org/trunk@26500
git-svn-id: http://core.svn.wordpress.org/trunk@26394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 12:48:10 +00:00
Dion Hulse
8aadb3f31e
Add the proper padding-top for button's active states in small screens. Fixes #26346
...
Built from https://develop.svn.wordpress.org/trunk@26497
git-svn-id: http://core.svn.wordpress.org/trunk@26391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 05:42:10 +00:00
Drew Jaynes
ee8aa9ee4c
Inline documentation for hooks in wp-admin/user-new.php & wp-admin/user-edit.php.
...
Also fixes one parameter type in wp-includes/user.php.
Fixes #25726 .
Built from https://develop.svn.wordpress.org/trunk@26493
git-svn-id: http://core.svn.wordpress.org/trunk@26387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 01:35:10 +00:00
Sergey Biryukov
16373e224d
Correct @since values. see #25522 .
...
Built from https://develop.svn.wordpress.org/trunk@26492
git-svn-id: http://core.svn.wordpress.org/trunk@26386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 01:25:10 +00:00
Drew Jaynes
e6d92061a1
Inline documentation for hooks in wp-includes/comment.php.
...
comment.php, a.k.a. "lots 'o hooks".
Props swissspidy for the initial patch. Props danieldudzic, kpdesign, and DrewAPicture.
Fixes #25522 .
Built from https://develop.svn.wordpress.org/trunk@26491
git-svn-id: http://core.svn.wordpress.org/trunk@26385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 01:12:11 +00:00
Sergey Biryukov
9fa0ec4e94
Escape smiley URL in translate_smiley().
...
props simonwheatley.
fixes #25529 .
Built from https://develop.svn.wordpress.org/trunk@26487
git-svn-id: http://core.svn.wordpress.org/trunk@26384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-30 22:39:10 +00:00
Sergey Biryukov
b6e094c748
Correct @since values. see #25518 .
...
Built from https://develop.svn.wordpress.org/trunk@26486
git-svn-id: http://core.svn.wordpress.org/trunk@26383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-30 19:05:10 +00:00
Drew Jaynes
2df1989c57
Inline documentation for hooks in wp-includes/formatting.php.
...
Props simonwheatley for the initial patch. Props DrewAPicture, kpdesign.
Fixes #25518 .
Built from https://develop.svn.wordpress.org/trunk@26485
git-svn-id: http://core.svn.wordpress.org/trunk@26382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-30 18:36:10 +00:00
Dominik Schilling
cc11eeac5b
Themes: Merge theme.css into wp-admin.css. fixes #25966 .
...
Built from https://develop.svn.wordpress.org/trunk@26484
git-svn-id: http://core.svn.wordpress.org/trunk@26381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-30 17:32:10 +00:00
Helen Hou-Sandí
7c940061fd
Pass the post type to the post_type_archive_title
filter for better context. Adds lovely docs. props DrewAPicture. fixes #25605 .
...
Built from https://develop.svn.wordpress.org/trunk@26457
git-svn-id: http://core.svn.wordpress.org/trunk@26355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 05:24:09 +00:00
Helen Hou-Sandí
73a4600d23
Increase the contrast of sidebar text in the media modal. props neil_pie. fixes #26288 .
...
Built from https://develop.svn.wordpress.org/trunk@26455
git-svn-id: http://core.svn.wordpress.org/trunk@26353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 04:14:09 +00:00
Helen Hou-Sandí
375bcb5f91
Make sure toolbar reset includes text-shadow: none. props kwight. fixes #25260 .
...
Built from https://develop.svn.wordpress.org/trunk@26451
git-svn-id: http://core.svn.wordpress.org/trunk@26349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 02:58:09 +00:00
Dion Hulse
8c60f742a1
Fix a regression in wp_mkdir_p() where the $mode of the parent folder is not correctly applied to all created paths. Fixes #25822 for trunk
...
Built from https://develop.svn.wordpress.org/trunk@26449
git-svn-id: http://core.svn.wordpress.org/trunk@26347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 02:20:10 +00:00
Andrew Ozz
89d464d9e5
TinyMCE: fix editor.css.
...
- Re-enable the default images for buttons not used in WordPress.
- Remove redundant styles for the old buttons sprite.
Fixes #26294 .
Built from https://develop.svn.wordpress.org/trunk@26446
git-svn-id: http://core.svn.wordpress.org/trunk@26344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 00:53:09 +00:00
Matt Thomas
15d2a57c44
Ensure that arrows in dropdowns are the default text color if you haven't hovered. Fixes #26293 , props ipstenu.
...
Built from https://develop.svn.wordpress.org/trunk@26445
git-svn-id: http://core.svn.wordpress.org/trunk@26343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 23:12:09 +00:00
Matt Thomas
eb09a427f6
Updating the #wp-auth-check login form to match the new admin design:
...
* Remove border-radius on the container and add a box shadow
* Style the top bar background to match the new #eee page background
* Replace the close button PNG with a Dashicon
* Remove a no-longer-needed button style override in buttons.css that caused padding to change when clicking the submit button.
See #25858 .
Built from https://develop.svn.wordpress.org/trunk@26441
git-svn-id: http://core.svn.wordpress.org/trunk@26339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 22:36:08 +00:00
Peter Westwood
e1e79ddf64
KSES: Extend support in wp_kses_normalize_entities to named entities with up to two numbers on the end of the name so as to support a wider list of valid entities.
...
Fixes â#26290
Built from https://develop.svn.wordpress.org/trunk@26440
git-svn-id: http://core.svn.wordpress.org/trunk@26338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 22:32:09 +00:00
Matt Thomas
01fdd027f0
Press This fixes:
...
* Override responsive styles for the Press This window
* Remove the old header logo in Press This
* Add the new Dashicon WP logo
See #25858 .
Built from https://develop.svn.wordpress.org/trunk@26433
git-svn-id: http://core.svn.wordpress.org/trunk@26331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 19:16:10 +00:00
Andrew Ozz
162037903d
Heartbeat: introduce "suspend" functionality and enable it after 20 min. of inactivity, see #25073 .
...
Built from https://develop.svn.wordpress.org/trunk@26428
git-svn-id: http://core.svn.wordpress.org/trunk@26328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:56:10 +00:00
Matt Thomas
2fdde46bd8
Unify the style of button-small everywhere we use it, and make sure the edit slug input lines up with its button and label. Fixes #26261 , props mattheu.
...
Built from https://develop.svn.wordpress.org/trunk@26420
git-svn-id: http://core.svn.wordpress.org/trunk@26320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:10:09 +00:00
Matt Thomas
252d16c501
Admin pointers don't work at responsive sizes because of responsive layout adjustments. Hide the pointers for now until they're made responsive. Fixes #25984 .
...
Built from https://develop.svn.wordpress.org/trunk@26419
git-svn-id: http://core.svn.wordpress.org/trunk@26319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 21:47:11 +00:00
Sergey Biryukov
c85484e9cf
Fix typo in a comment. props kovshenin. fixes #26266 .
...
Built from https://develop.svn.wordpress.org/trunk@26418
git-svn-id: http://core.svn.wordpress.org/trunk@26318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 21:45:09 +00:00
Matt Thomas
6a61711d24
Better alignment of Visual and Text tabs with editor, better alignment of word count container with editor, eliminate gap between tabs and editor on Press This. Fixes #26238 , props mattheu.
...
Built from https://develop.svn.wordpress.org/trunk@26411
git-svn-id: http://core.svn.wordpress.org/trunk@26311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:48:09 +00:00
Matt Thomas
268c0dd8d8
Improvements to hover and focus states on the adminbar:
...
* Add a clear hover state for top-level links in the adminbar.
* Add :focus styles to the adminbar for keyboard accessibility.
* Ensure that the username link in the profile submenu gets a :hover style.
* Add adminbar hover styles to color schemes.
* Set -webkit-font-smoothing to subpixel-antialiased on the adminbar so that Safari doesn't switch to standard antialiasing on mouseover.
Fixes #26152 , props ryelle.
Built from https://develop.svn.wordpress.org/trunk@26407
git-svn-id: http://core.svn.wordpress.org/trunk@26307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:18:11 +00:00
Sergey Biryukov
f0a4d5a991
Rename mp6_color_scheme JS global to wp_color_scheme.
...
props kovshenin.
see #26263 .
Built from https://develop.svn.wordpress.org/trunk@26406
git-svn-id: http://core.svn.wordpress.org/trunk@26306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 13:58:10 +00:00
Sergey Biryukov
196f1b4647
Fix typo in rss.js feed templates. props Latz. fixes #26258 .
...
Built from https://develop.svn.wordpress.org/trunk@26404
git-svn-id: http://core.svn.wordpress.org/trunk@26304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 12:40:09 +00:00
Sergey Biryukov
77882e1c20
Remove obsolete image reference from thickboxL10n. props kovshenin. fixes #26257 .
...
Built from https://develop.svn.wordpress.org/trunk@26403
git-svn-id: http://core.svn.wordpress.org/trunk@26303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 11:46:10 +00:00
Andrew Ozz
b8984636c2
Clean up the sticky menu and responsive tweaks JS:
...
- More descriptive names.
- Share cached jQuery elements.
- Fix re-enabling of touch events on the admin menu.
- Fix disabling/enabling of UI Sortable.
Props tollmanz, props sanchothefat, see #26086 , fixes #26088 .
Built from https://develop.svn.wordpress.org/trunk@26402
git-svn-id: http://core.svn.wordpress.org/trunk@26302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 08:57:10 +00:00
Drew Jaynes
04509a1b23
Inline documentation for hooks in wp-includes/media-template.php.
...
Props odysseygate for the initial patch. Props kpdesign.
Fixes #25847 .
Built from https://develop.svn.wordpress.org/trunk@26400
git-svn-id: http://core.svn.wordpress.org/trunk@26300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 07:52:08 +00:00
Helen Hou-Sandí
b51436a4de
Make sure WP_Editor and Thickbox styles have Dashicons as a dependency, as they can be used on the front. props johnjamesjacoby. fixes #26236 .
...
Built from https://develop.svn.wordpress.org/trunk@26398
git-svn-id: http://core.svn.wordpress.org/trunk@26298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:48:09 +00:00
Matt Thomas
97319603e3
Move thickbox styles from wp-admin.css to thickbox.css. Remove old png close icons. Fixes #26178 .
...
Built from https://develop.svn.wordpress.org/trunk@26395
git-svn-id: http://core.svn.wordpress.org/trunk@26295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:32:09 +00:00
Matt Thomas
c7bd838884
When MP6 was merged into core, the new MCE images weren't added. Replace old MCE gifs with new PNGs and correct the paths to their 2x versions. See #26232 .
...
Built from https://develop.svn.wordpress.org/trunk@26391
git-svn-id: http://core.svn.wordpress.org/trunk@26291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 04:59:09 +00:00
Drew Jaynes
223a2c7138
Inline documentation for the following filter hooks in wp-includes/pluggable.php:
...
* `comment_notification_recipients`
* `comment_notification_notify_author`
Also removes some generic `@uses` tags from various related doc blocks.
Props markjaquith.
Fixes #25699 .
Built from https://develop.svn.wordpress.org/trunk@26388
git-svn-id: http://core.svn.wordpress.org/trunk@26288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 04:10:09 +00:00
Matt Thomas
e86c507db0
Move responsive button styles from wp-admin.css to buttons.css. Fixes #25968 , props melchoyce.
...
Built from https://develop.svn.wordpress.org/trunk@26386
git-svn-id: http://core.svn.wordpress.org/trunk@26286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:36:09 +00:00
Matt Thomas
435c690d8f
Allow #wpwrap to scroll horizontally if needed, and hide overflow only on specific elements that need it. See #26169 .
...
Built from https://develop.svn.wordpress.org/trunk@26382
git-svn-id: http://core.svn.wordpress.org/trunk@26282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:42:10 +00:00
Dion Hulse
d25288a7f7
Revert the change to use add_query_arg() for Open Sans, as it causes a fatal error when script concatenation is used. See #26063
...
Built from https://develop.svn.wordpress.org/trunk@26381
git-svn-id: http://core.svn.wordpress.org/trunk@26281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:41:09 +00:00
Dion Hulse
096fe2d4f0
Dashicons: Update to the latest dashicons files. Fixes #26251
...
These are imported from 9d78124720
[2013-11-25T11:03:44-08:00]
Built from https://develop.svn.wordpress.org/trunk@26378
git-svn-id: http://core.svn.wordpress.org/trunk@26278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:04:09 +00:00
Dion Hulse
0c2b2c1668
Use dashicons.min.css for concantenation requests. See #26250
...
Built from https://develop.svn.wordpress.org/trunk@26377
git-svn-id: http://core.svn.wordpress.org/trunk@26277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 01:55:09 +00:00
Sergey Biryukov
fcaa29f19b
Allow Open Sans to be disabled per language. props dimadin. fixes #26063 .
...
Built from https://develop.svn.wordpress.org/trunk@26376
git-svn-id: http://core.svn.wordpress.org/trunk@26276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 01:54:09 +00:00
Dion Hulse
d60fb050d7
Bump $wp_version to clear CSS caches. See #26250
...
Built from https://develop.svn.wordpress.org/trunk@26375
git-svn-id: http://core.svn.wordpress.org/trunk@26275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 01:49:09 +00:00
Matt Thomas
e54ee86aaa
Make the responsive layout behave better when the user zooms the page:
...
* Change the smartphone media query from 480 to 600px so it captures large screen phones in landscape mode.
* Set #wpadminbar to position: absolute at smartphone sizes so it scrolls with the page, freeing up the viewport.
* Remove the transition states on #adminmenu for better performance on mobile devices
* Make the responsive sidebar scroll with the page instead of using a fixed position
* Remove the -webkit-overflow-scrolling rule that was disabling scroll-to-top when tapping the iOS status bar.
* Remove unnecessary zoom declaration from -ms-viewport.
See #25858 .
Built from https://develop.svn.wordpress.org/trunk@26373
git-svn-id: http://core.svn.wordpress.org/trunk@26273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 01:38:10 +00:00
Mark Jaquith
22c6024f9e
Remove unnecessarily gendered pronouns.
...
fixes #26225
Built from https://develop.svn.wordpress.org/trunk@26368
git-svn-id: http://core.svn.wordpress.org/trunk@26269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-25 02:05:10 +00:00
Mark Jaquith
c2cdbf9648
Fix comment_notification_recipients
filter behavior so that it is still respected even on comments left by the post author
...
The code was bailing on this-is-a-comment-on-your-own-post detection, ignoring additional recipients. Now:
* Logic check is done within `wp_notify_postauthor()`
* Logic check is overridable via `comment_notification_notify_author` filter (default still false)
* The code doesn't bail on comment-on-own-post detection, but just removes the author from the array
* The code instead now bails if the recipients list is empty, so `comment_notification_recipients` works properly
props ethitter.
fixes #25699
Built from https://develop.svn.wordpress.org/trunk@26367
git-svn-id: http://core.svn.wordpress.org/trunk@26268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-25 01:47:10 +00:00
Dominik Schilling
596bbe36a9
Cron Request: Fix incorrect use of add_query_arg() arguments.
...
props datafeedrcom, dimadin.
see [26267].
fixes #26218 .
Built from https://develop.svn.wordpress.org/trunk@26365
git-svn-id: http://core.svn.wordpress.org/trunk@26266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 21:49:09 +00:00
Andrew Ozz
146abf4cde
TinyMCE: use CSS classes instead of instance specific IDs for styling, props mattheu, fixes #26197 .
...
Built from https://develop.svn.wordpress.org/trunk@26364
git-svn-id: http://core.svn.wordpress.org/trunk@26265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 21:47:10 +00:00
Peter Westwood
bca9252522
Deprecate the second argument for wp_notify_postauthor because it is unecessary. Fixes #17862 props scribu and wonderboymusic.
...
Built from https://develop.svn.wordpress.org/trunk@26358
git-svn-id: http://core.svn.wordpress.org/trunk@26259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 16:26:10 +00:00
Andrew Nacin
808653e2a3
Add echo arguments to wp_list_comments() and Walker_Comment, allowing non-echo usage.
...
props mikelittle.
fixes #10948 .
Built from https://develop.svn.wordpress.org/trunk@26353
git-svn-id: http://core.svn.wordpress.org/trunk@26254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 14:59:10 +00:00
Jon Cave
fd14a5df71
Allow customisation of theme mod defaults via custom-background theme support.
...
Give the power to theme authors to select defaults when registering
custom-background support.
Props obenland. Fixes #20816 .
Built from https://develop.svn.wordpress.org/trunk@26352
git-svn-id: http://core.svn.wordpress.org/trunk@26253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 14:05:10 +00:00
Jon Cave
37377f57aa
Allow has_post_format() to be used to check for any format.
...
Calling has_post_format() with an empty list of $format will check if the
provided post has any associated format at all.
Props obenland, DrewAPicture, nacin. Fixes #24906 .
Built from https://develop.svn.wordpress.org/trunk@26350
git-svn-id: http://core.svn.wordpress.org/trunk@26251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 13:45:10 +00:00
Andrew Nacin
f2538ab7bd
Fix alignment of the WordPress icon in the My Sites toolbar menu.
...
props jeremyfelt.
fixes #26154 .
Built from https://develop.svn.wordpress.org/trunk@26348
git-svn-id: http://core.svn.wordpress.org/trunk@26249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 12:09:11 +00:00
Dominik Schilling
457a48d735
Suggest.js: Trigger change event when value is selected.
...
props obenland.
fixes #26110 .
Built from https://develop.svn.wordpress.org/trunk@26333
git-svn-id: http://core.svn.wordpress.org/trunk@26235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 11:54:10 +00:00
Scott Taylor
295851d0bb
In get_posts()
, alter the doc block and default args to make orderby
equal to date
, not post_date
.
...
Props ounziw.
Fixes #26128 .
Built from https://develop.svn.wordpress.org/trunk@26329
git-svn-id: http://core.svn.wordpress.org/trunk@26231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 17:39:10 +00:00
Scott Taylor
dc01b08a5e
Add unit tests for links_add_target()
. Alter the patterns in links_add_target()
and _links_add_target()
slightly based on learnings after running tests.
...
Props mdbitz.
Fixes #26164 .
Built from https://develop.svn.wordpress.org/trunk@26328
git-svn-id: http://core.svn.wordpress.org/trunk@26230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 16:25:10 +00:00
Sergey Biryukov
670cfd9a99
Restore "Skip to toolbar" link color. fixes #26146 .
...
Built from https://develop.svn.wordpress.org/trunk@26319
git-svn-id: http://core.svn.wordpress.org/trunk@26222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 05:41:10 +00:00
Andrew Ozz
7efd903498
Fix the editor switching tabs position on small screens, props ryelle, fixes #26151 .
...
Built from https://develop.svn.wordpress.org/trunk@26315
git-svn-id: http://core.svn.wordpress.org/trunk@26219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 02:23:09 +00:00
Matt Thomas
a3f4245602
Update the media upload interfaces to match new admin design:
...
* Replace separate progress bar designs on media-new.php and modal media uploader with a single consistent design
* Remove side borders from list of uploads on media-new.php
* Restyle the selected photo border and checkbox on modal media uploader
* Add a Media Uploader section to color schemes with progress bar and selected photo styles
Fixes #26147 . Props melchoyce, iammattthomas.
Built from https://develop.svn.wordpress.org/trunk@26309
git-svn-id: http://core.svn.wordpress.org/trunk@26213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:03:10 +00:00
Scott Taylor
05b22769e9
In update_meta_cache()
, ensure that meta is always stored in the same order. Removes an unnecessary $wpdb->prepare
statement. Adds unit test.
...
Props mattheu.
Fixes #25511 .
Built from https://develop.svn.wordpress.org/trunk@26307
git-svn-id: http://core.svn.wordpress.org/trunk@26211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 19:31:10 +00:00
Scott Taylor
784bd41501
Prefix the notoptions
cache key in the multisite site-options
group with $wpdb->siteid
to avoid collisions and race conditions when using a fancy multi-network setup. Adds unit test.
...
Fixes #25883 .
Built from https://develop.svn.wordpress.org/trunk@26304
git-svn-id: http://core.svn.wordpress.org/trunk@26209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 19:07:10 +00:00
Matt Mullenweg
172b3a9f32
Why hello there. Bumping for first beta of the 3.8 cycle.
...
Built from https://develop.svn.wordpress.org/trunk@26302
git-svn-id: http://core.svn.wordpress.org/trunk@26207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 04:29:09 +00:00
Matt Thomas
c0f4798af9
Update error screens with the new visual design:
...
* Bring in new styles for backgrounds/text/link/borders/buttons
* Switch to device-width for the viewport and tweak margins etc so the layout works nicely on all device sizes
Fixes #25956 , props johnbillion.
Built from https://develop.svn.wordpress.org/trunk@26299
git-svn-id: http://core.svn.wordpress.org/trunk@26204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 00:25:10 +00:00
Sergey Biryukov
ef621a3c8b
Fix JSHint errors in media-models.js.
...
props kadamwhite.
fixes #26132 .
Built from https://develop.svn.wordpress.org/trunk@26295
git-svn-id: http://core.svn.wordpress.org/trunk@26200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 23:07:10 +00:00
Andrew Nacin
c8bbc31c39
Add an experimental rssjs feed based on the experimental rss.js spec.
...
This is simply a JSON representation of the RSS 2.0 feed, accessible at /feed/rssjs/ anywhere.
props pento.
see #25639 .
Built from https://develop.svn.wordpress.org/trunk@26294
git-svn-id: http://core.svn.wordpress.org/trunk@26199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 22:58:09 +00:00
Andrew Ozz
7276f56681
MP6: remove left-over plugin reference, see #25858
...
Built from https://develop.svn.wordpress.org/trunk@26290
git-svn-id: http://core.svn.wordpress.org/trunk@26195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 19:24:10 +00:00
Andrew Ozz
0dcf40e749
Heartbeat: use cached $document instead of $(document), props TobiasBg, see #25073
...
Built from https://develop.svn.wordpress.org/trunk@26276
git-svn-id: http://core.svn.wordpress.org/trunk@26181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 23:52:10 +00:00
Drew Jaynes
812e66d61d
Inline documentation for hooks in wp-includes/cron.php.
...
Props tmtoy for the initial patch.
Fixes #25475 .
Built from https://develop.svn.wordpress.org/trunk@26267
git-svn-id: http://core.svn.wordpress.org/trunk@26173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 05:01:11 +00:00
Matt Thomas
4405cbe475
Load the correct subset of Open Sans for cyrillic, greek, and vietnamese in addition to latin and latin-ext; following the example of Twenty Twelve. See #26063 , props SergeyBiryukov.
...
Built from https://develop.svn.wordpress.org/trunk@26254
git-svn-id: http://core.svn.wordpress.org/trunk@26160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 21:40:10 +00:00
Scott Taylor
da05f7435b
For unit tests that call wpmu_create_blog()
, Blog factory, or installation code that attempts to clear transients: suppress database errors on setUp
and restore on tearDown
.
...
There are a few places in core that were preventing this from working by explicity setting `$wpdb->suppress_errors` to `false`. Instead, they should inherit the value that existed before errors were suppressed.
This allows Multisite unit tests to run without explosive database errors, and allows `$wpdb->suppress_errors` to be overridden all the way down the chain.
Fixes #26102 .
Built from https://develop.svn.wordpress.org/trunk@26252
git-svn-id: http://core.svn.wordpress.org/trunk@26158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 20:45:11 +00:00
Matt Thomas
10f37f1180
Improvements to the modal media uploader on mobile in landscape orientation.
...
* Merge the 782 and 500 width queries into a single 640px query
* At this breakpoint, remove the drop shadow and margin from the uploader modal
* For only landscape views, tabs are shown in a single line.
* Add padding to tab links to account for untappable 20px area at top of landscape viewport in iOS
* Add overflow: visible to .embed-link-settings at responsive sizes to prevent unnecessary framed scrolling
See #25977 , props joen.
Built from https://develop.svn.wordpress.org/trunk@26250
git-svn-id: http://core.svn.wordpress.org/trunk@26156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 20:07:10 +00:00
Andrew Nacin
fb69ea9028
Stop using .rtl classes, instead relying on flipping LTR CSS to RTL.
...
props yoavf.
fixes #24977 .
Built from https://develop.svn.wordpress.org/trunk@26243
git-svn-id: http://core.svn.wordpress.org/trunk@26150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 16:18:11 +00:00
Sergey Biryukov
c7a96bbf29
Use get_current_site() instead of the $current_site global in wp-admin/admin-header.php and is_main_network().
...
fixes #25158 .
Built from https://develop.svn.wordpress.org/trunk@26235
git-svn-id: http://core.svn.wordpress.org/trunk@26142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 13:46:10 +00:00
Sergey Biryukov
8a250619ce
Add description for 'dayofyear' and 'dayofweek' arguments in WP_Date_Query.
...
props dziudek.
fixes #25995 .
Built from https://develop.svn.wordpress.org/trunk@26234
git-svn-id: http://core.svn.wordpress.org/trunk@26141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 08:21:10 +00:00
Andrew Nacin
791e807f08
More dash updates.
...
* Shuffle around some pixels.
* Rename some things that weren't caught in [26220].
* Revert default-widgets.php change from [26144].
props lessbloat.
see #25824 .
Built from https://develop.svn.wordpress.org/trunk@26230
git-svn-id: http://core.svn.wordpress.org/trunk@26137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 22:23:09 +00:00
Matt Thomas
7b06d5b0a9
Move media uploader responsive styles from wp-admin.css to media-views.css; clean up duplicated media queries. See #25977 .
...
Built from https://develop.svn.wordpress.org/trunk@26229
git-svn-id: http://core.svn.wordpress.org/trunk@26136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:47:09 +00:00
Andrew Nacin
4a6102adb7
Fix JSHint errors in shortcode.js.
...
props tommcfarlin.
fixes #25945 .
Built from https://develop.svn.wordpress.org/trunk@26228
git-svn-id: http://core.svn.wordpress.org/trunk@26135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:25:10 +00:00
Matt Thomas
a9bab73408
Improvements to the media uploader at responsive sizes:
...
* Change load order so larger breakpoint loads before smaller breakpoint.
* Use absolute positioning rather than floats, to fix some overflow issues.
* Remove the max-height media query so desktop browsers benefit from the responsive styles.
* Reset text inputs to 16px so iOS doesn't force zoom.
* Adjust the position of the close button so it doesn't overlap the Create Gallery link.
See #25977 . Props joen.
Built from https://develop.svn.wordpress.org/trunk@26219
git-svn-id: http://core.svn.wordpress.org/trunk@26127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 19:54:10 +00:00
Andrew Nacin
bd265f4983
Fix JSHint errors in remaining WP TinyMCE plugin files.
...
fixes #26048 .
Built from https://develop.svn.wordpress.org/trunk@26214
git-svn-id: http://core.svn.wordpress.org/trunk@26122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 15:05:09 +00:00
Andrew Nacin
adbf36d393
Fix JSHint errors in wp-plupload.js.
...
props atimmer.
fixes #26044 .
Built from https://develop.svn.wordpress.org/trunk@26213
git-svn-id: http://core.svn.wordpress.org/trunk@26121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 14:27:09 +00:00
Andrew Nacin
f7d30f7002
Fix JSHint errors in quicktags.js. Ignore deprecated API rather than marking it as exported globals.
...
props kovshenin.
fixes #26046 .
Built from https://develop.svn.wordpress.org/trunk@26212
git-svn-id: http://core.svn.wordpress.org/trunk@26120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 14:26:09 +00:00
Andrew Nacin
a66b92af4c
JSHint fixes for word-count.js and wp-mediaelement.js. see #25187 .
...
Built from https://develop.svn.wordpress.org/trunk@26209
git-svn-id: http://core.svn.wordpress.org/trunk@26117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 06:52:09 +00:00
Andrew Nacin
c87330dc5c
Fix JSHint errors in two files. see #25957 , #25864 . (Similar names but separate files.)
...
Built from https://develop.svn.wordpress.org/trunk@26207
git-svn-id: http://core.svn.wordpress.org/trunk@26115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 06:24:10 +00:00
Andrew Nacin
eb1151b590
Fix JSHint errors in plupload handlers.js.
...
props mdbitz.
fixes #26041 .
Built from https://develop.svn.wordpress.org/trunk@26205
git-svn-id: http://core.svn.wordpress.org/trunk@26113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 05:56:09 +00:00
Andrew Nacin
0b0ab09ae8
Fix JSHint errors in utils.js.
...
props adamsilverstein.
fixes #25957 .
Built from https://develop.svn.wordpress.org/trunk@26203
git-svn-id: http://core.svn.wordpress.org/trunk@26111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 05:26:10 +00:00
Andrew Nacin
1a7610a34d
Fix JSHint errors in autosave.js.
...
props seanchayes.
fixes #26035 .
Built from https://develop.svn.wordpress.org/trunk@26202
git-svn-id: http://core.svn.wordpress.org/trunk@26110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 05:20:10 +00:00
Andrew Nacin
69fc43dcb6
Fix JSHint errors in the wpview and wplink editor plugins.
...
props seanchayes.
fixes #26024 , #26027 .
Built from https://develop.svn.wordpress.org/trunk@26201
git-svn-id: http://core.svn.wordpress.org/trunk@26109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 05:18:10 +00:00
Andrew Nacin
6292b4c519
Fix JSHint errors in 5 files.
...
props seanchayes.
fixes #26015 , #26020 , #26019 , #26034 , #26022 .
Built from https://develop.svn.wordpress.org/trunk@26200
git-svn-id: http://core.svn.wordpress.org/trunk@26108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 05:16:09 +00:00
Andrew Nacin
14c473535b
Fix JSHint errors in heartbeat.js.
...
props dziudek.
fixes #25986 .
Built from https://develop.svn.wordpress.org/trunk@26197
git-svn-id: http://core.svn.wordpress.org/trunk@26105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 05:00:10 +00:00
Andrew Nacin
a87fec4616
Fix JSHint errors in six files.
...
props mdbitz.
fixes ##26011, #26012 , #26013 , #26014 , #26038 , #26039 .
Built from https://develop.svn.wordpress.org/trunk@26195
git-svn-id: http://core.svn.wordpress.org/trunk@26103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 04:42:09 +00:00
Andrew Nacin
99245534a5
Fix JSHint errors for customize-loader.
...
props mdbitz.
fixes #26040 .
Built from https://develop.svn.wordpress.org/trunk@26194
git-svn-id: http://core.svn.wordpress.org/trunk@26102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 04:31:10 +00:00
Andrew Nacin
fe440d71d8
Fix JSHint errors in wplink.js.
...
props jorbin.
fixes #25914 .
Built from https://develop.svn.wordpress.org/trunk@26193
git-svn-id: http://core.svn.wordpress.org/trunk@26101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 04:28:10 +00:00
Dion Hulse
cd6096c44b
Updates: Force an update check to occur when the 'Check Again' button is used in the Dashboard. Fixes #25831
...
Built from https://develop.svn.wordpress.org/trunk@26192
git-svn-id: http://core.svn.wordpress.org/trunk@26100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 03:04:10 +00:00
Scott Taylor
c2bc0e6836
Don't place smilies inside of pre or code tags. Don't skip smilie after a smilie with an 8 in it. Fix regular expression used for smiley translations to work when there is only one registered emoticon.
...
Props solarissmoke, soulseekah, mdbitz, yonasy. ht to mdbitz for the Unit Tests and a comprehensive patch.
Fixes #16448 , #20124 , #25303 .
Built from https://develop.svn.wordpress.org/trunk@26191
git-svn-id: http://core.svn.wordpress.org/trunk@26099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 02:46:10 +00:00
Dion Hulse
20e5b27731
Invalidate the 'update_core' Update check transient when $wp_version changes. See #25831
...
Built from https://develop.svn.wordpress.org/trunk@26188
git-svn-id: http://core.svn.wordpress.org/trunk@26096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 02:35:10 +00:00
Matt Thomas
35557b1393
Fixing some inconsistent behavior on toolbar icons:
...
- Use .ab-icon:before, .ab-item:before, and #adminbarsearch:before to select all toolbar icons.
- Rewrite the selector for toolbar icon hover styles so they're not overridden by default colors.
- Add #adminbarsearch:before to color schemes, so its icon color is changed with the others.
- Remove duplicate color rule on #adminbarsearch:before.
See #25858 .
Built from https://develop.svn.wordpress.org/trunk@26184
git-svn-id: http://core.svn.wordpress.org/trunk@26093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 00:09:10 +00:00
Matt Thomas
a71ffcfd24
Move the color rule for adminbar icons to a less-specific selector so that color schemes correctly affect icon color in the toolbar.
...
Built from https://develop.svn.wordpress.org/trunk@26180
git-svn-id: http://core.svn.wordpress.org/trunk@26089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 23:30:10 +00:00
Matt Thomas
10878d8422
Move the responsive padding for html.wp-toolbar to wp-admin.css since it affects the page content, not the toolbar.
...
Built from https://develop.svn.wordpress.org/trunk@26177
git-svn-id: http://core.svn.wordpress.org/trunk@26086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 22:43:10 +00:00
Matt Thomas
ce8be8ec8b
Move #wpadminbar responsive styles from wp-admin.css to admin-bar.css. Remove unneeded font overrides and !importants where possible. Make sure the site menu item uses the globe icon consistently instead of switching to the home icon <782px. Fixes #25971 .
...
Built from https://develop.svn.wordpress.org/trunk@26176
git-svn-id: http://core.svn.wordpress.org/trunk@26085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 22:37:09 +00:00
Matt Thomas
ceefb723ee
Replace icon-pointer-flag.png with the flag Dashicon. Fixes #25982 .
...
Built from https://develop.svn.wordpress.org/trunk@26171
git-svn-id: http://core.svn.wordpress.org/trunk@26080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 20:17:10 +00:00
Andrew Ozz
188fce6c9b
Heartbeat: clean up code style, better naming, better code structure. Props carldanley, props evansolomon.
...
Changes:
- Add connectNow() public method to trigger a connection immediately.
- Remove the "skipping" when no data to send.
- Change the default interval to 60 sec.
- Fix resetting the next connection time when changing the interval.
See #25073 .
Built from https://develop.svn.wordpress.org/trunk@26169
git-svn-id: http://core.svn.wordpress.org/trunk@26078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 18:41:10 +00:00
Andrew Nacin
a5d83b489b
Fix JSHint errors in media-views.js.
...
props kadamwhite.
fixes #25974 .
Built from https://develop.svn.wordpress.org/trunk@26161
git-svn-id: http://core.svn.wordpress.org/trunk@26072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 05:54:10 +00:00
Andrew Nacin
a749e31b75
Fix JSHint errors in admin-bar.js.
...
props kadamwhite.
fixes #25970 .
Built from https://develop.svn.wordpress.org/trunk@26160
git-svn-id: http://core.svn.wordpress.org/trunk@26071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 05:51:10 +00:00
Andrew Nacin
6840a7c4ad
Fix JSHint errors in the old XML-based ajax response JS.
...
props OriginalEXE.
fixes #25954 .
Built from https://develop.svn.wordpress.org/trunk@26159
git-svn-id: http://core.svn.wordpress.org/trunk@26070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 05:43:10 +00:00
Dion Hulse
a71cd00cdb
Background Updates: Spread them over the hour. Props Pento. Fixes #25833 for trunk
...
Built from https://develop.svn.wordpress.org/trunk@26149
git-svn-id: http://core.svn.wordpress.org/trunk@26060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 04:04:10 +00:00
Andrew Nacin
f665c7eeb1
Remove SCRIPT_DEBUG reference from register_admin_color_schemes().
...
Instead, script-loader.php handles converting .min.css to .css when SCRIPT_DEBUG is on, and has since r21592. (This was done for compatibility with plugin color schemes that used .css and .dev.css.)
see #25858 .
Built from https://develop.svn.wordpress.org/trunk@26147
git-svn-id: http://core.svn.wordpress.org/trunk@26058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 00:03:10 +00:00
Helen Hou-Sandí
94dfe504f3
Avoid a notice when SCRIPT_DEBUG is not defined. props MikeHansenMe. see #25824 , #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26146
git-svn-id: http://core.svn.wordpress.org/trunk@26057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 23:59:08 +00:00
Andrew Nacin
809b335f7a
Merge the new dashboard design into core.
...
Merges https://github.com/growthdesigner/wp-dash .
props lessbloat, joen, helen, dbernar1, kraftbj, ryelle, tillkruess, grapplerulrich, markjaquith.
see #25824 .
Built from https://develop.svn.wordpress.org/trunk@26144
git-svn-id: http://core.svn.wordpress.org/trunk@26055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 22:09:10 +00:00
Andrew Nacin
d8564963b8
Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out.
...
see #25858 , #22862 .
Built from https://develop.svn.wordpress.org/trunk@26143
git-svn-id: http://core.svn.wordpress.org/trunk@26054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 21:45:11 +00:00
Andrew Nacin
dce9327f2a
Update the Themes screen, merging THX into core.
...
* Name: THX38
* Description: Update the Themes screen with a new design and experience.
* Tags: visually-focused, bigger-screenshots, fast, mobile-friendly, backbone-driven
* Author: matveb, shaunandrews, melchoyce, designsimply, shelob9
* URI: http://wordpress.org/plugins/thx38/
fixes #25948
Built from https://develop.svn.wordpress.org/trunk@26141
git-svn-id: http://core.svn.wordpress.org/trunk@26052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 20:58:05 +00:00
Helen Hou-Sandí
437caa9972
Turns out it helps if you add those pesky Sass files if you're going to use a preprocessor. see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26139
git-svn-id: http://core.svn.wordpress.org/trunk@26050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:54:14 +00:00
Helen Hou-Sandí
603c1aff6d
Merge the color schemes component from MP6. Introduces Light, Blue, and Midnight.
...
Color scheme selection on your own profile page gives you a preview and autosaves the selection.
Also introduces the usage of a preprocessor for core files, namely Sass. For 3.8, we will not expand its implementation past the color schemes. This does require Ruby as well as Sass 3.3.0+ due to the usage of the sourcemap option.
Note that only the default color scheme is available when running out of src. Use build to test the rest as well as the color picker.
props ryelle, melchoyce, tillkruess, drw158, littlethingsstudio, helen. see #25858 , #22862 .
Built from https://develop.svn.wordpress.org/trunk@26137
git-svn-id: http://core.svn.wordpress.org/trunk@26048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:38:38 +00:00
Matt Thomas
2adf09fea9
Bring in the responsive component of MP6. See #25858 .
...
* Makes the admin fully responsive down to 320px wide.
* Adds a touch-optimized main menu that can be opened and closed from the toolbar.
* Size and positioning adjustments to icons, buttons, and text elements for better touch usability.
A few changes since MP6:
* Removed jQuery mobile. This script was used to add swipe controls to open/close the sidebar menu. This feature was apparently buggy and due to the pending demise of jQuery mobile, it was removed.
* Removed use of Backbone.js. Adding Backbone.js to this script would add a dependency of Backbone.js for all of the admin. Additionally, it was used to add a menu item. Instead of doing that, it was added via the admin menu API. This also fixes a bad delay in the item showing in the menu.
* CSS layout is standardized. Comments have also been cleaned up.
* Jetpack and Akismet code is removed.
* RTL CSS is removed.
* JS passes hinting other than one small issue that will likely be removed when parts of the code are reviewed.
A number of areas for improvement remain; we're tracking these issues in the comments of #25858 .
Props to tollmanz, tillkruess, helen, dd32, and apeatling.
Built from https://develop.svn.wordpress.org/trunk@26134
git-svn-id: http://core.svn.wordpress.org/trunk@26046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 18:00:10 +00:00
Matt Thomas
1d5910aec1
Reinstating this fix for the issue described in #18868 , wherein some versions of Chrome open the About/"W" dropdown menu inadvertantly, like when clicking a select element. Fix was removed in the initial MP6 commit r26072, this brings it back. See #25858 ; props azaozz.
...
Built from https://develop.svn.wordpress.org/trunk@26132
git-svn-id: http://core.svn.wordpress.org/trunk@26044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 15:36:09 +00:00
Matt Thomas
54c6e4c1e0
Clean up the new svg-painter.js so that it passes our jshint; see #25858 . Props jorbin.
...
Built from https://develop.svn.wordpress.org/trunk@26131
git-svn-id: http://core.svn.wordpress.org/trunk@26043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 15:26:10 +00:00
Sergey Biryukov
821c6de4b6
Better description for WP_Locale::_strings_for_pot(). props dimadin. fixes #25937 .
...
Built from https://develop.svn.wordpress.org/trunk@26130
git-svn-id: http://core.svn.wordpress.org/trunk@26042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 14:01:09 +00:00
Andrew Nacin
1b3e9d33ce
Fix new RTL file loading when style concatenation is enabled.
...
see #24977 .
Built from https://develop.svn.wordpress.org/trunk@26128
git-svn-id: http://core.svn.wordpress.org/trunk@26040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 05:10:10 +00:00
Andrew Nacin
5b8bd6e5ae
3.8-alpha-26127 to bust all the caches.
...
Built from https://develop.svn.wordpress.org/trunk@26127
git-svn-id: http://core.svn.wordpress.org/trunk@26039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:44:09 +00:00
Sergey Biryukov
1c8b834b0c
Inline documentation for hooks in wp-includes/capabilities.php.
...
props ptahdunbar, kpdesign.
fixes #25531 .
Built from https://develop.svn.wordpress.org/trunk@26126
git-svn-id: http://core.svn.wordpress.org/trunk@26038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:39:08 +00:00
Sergey Biryukov
3ce6b77afd
Use a simple replacement for 'wp_title' filter in capital_P_dangit(), like we do for 'the_title'.
...
props nacin.
fixes #25796 .
Built from https://develop.svn.wordpress.org/trunk@26122
git-svn-id: http://core.svn.wordpress.org/trunk@26034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 03:56:09 +00:00
Sergey Biryukov
12d10da7e6
Remove redundant cleanup of PHPMailer addresses in wp_mail().
...
props bananastalktome.
fixes #25789 .
Built from https://develop.svn.wordpress.org/trunk@26121
git-svn-id: http://core.svn.wordpress.org/trunk@26033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 03:45:11 +00:00
Sergey Biryukov
74f77b85a6
Use get_current_site() instead of the $current_site global when possible.
...
props jeremyfelt.
fixes #25158 .
Built from https://develop.svn.wordpress.org/trunk@26120
git-svn-id: http://core.svn.wordpress.org/trunk@26032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 03:23:10 +00:00
Sergey Biryukov
eae4e5936f
Use case-insensitive comparison for email addresses. fixes #25779 .
...
Built from https://develop.svn.wordpress.org/trunk@26115
git-svn-id: http://core.svn.wordpress.org/trunk@26027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:41:09 +00:00
Sergey Biryukov
9c3b98e6d3
Avoid PHP notices in wp_notify_postauthor() when using a custom comment type.
...
Use a switch statement for consistency with wp_notify_moderator().
fixes #25880 .
Built from https://develop.svn.wordpress.org/trunk@26114
git-svn-id: http://core.svn.wordpress.org/trunk@26026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:32:10 +00:00
Andrew Nacin
1a82a3c926
Mark zxcvbn global to avoid JSHint errors.
...
props jorbin.
fixes #25911 .
Built from https://develop.svn.wordpress.org/trunk@26111
git-svn-id: http://core.svn.wordpress.org/trunk@26023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 23:43:09 +00:00
Andrew Nacin
1e30be32c4
Use CSSJanus via a Grunt task to generate right-to-left CSS.
...
RTL files are now created on build for core CSS files. These files replace the LTR file completely, rather than being in addition to the existing LTR file.
Benefits:
* For the user: less CSS is served in RTL, less HTTP requests on the frontend, and less work for the browser.
* For the core developer: Let the tools do the work.
Notes for core development:
* The file generation task is `grunt rtl`.
* `grunt watch` now handles generating RTL files in /build when a CSS file in /src is saved.
* /src is now locked to LTR. RTL testing must occur via /build. When attempting to run an RTL text direction with /src, an admin notice will display.
Expect RTL bugs. Please report them.
props yoavf.
see #24977 .
Built from https://develop.svn.wordpress.org/trunk@26107
git-svn-id: http://core.svn.wordpress.org/trunk@26022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 21:19:15 +00:00
Scott Taylor
d7efe7a3b0
Change nofollow
to follow
in wp_robots_noindex()
. "The noindex is fine, the nofollow stops any link equity from that URL, so that's actually a bad idea."
...
Props joostdevalk.
Fixes #22876 .
Built from https://develop.svn.wordpress.org/trunk@26096
git-svn-id: http://core.svn.wordpress.org/trunk@26011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 22:27:10 +00:00
Scott Taylor
2e0af4405e
Make HTML tag searches for <code>
and <pre>
case-insensitive in make_clickable()
.
...
Props bpetty.
Fixes #23756 .
Built from https://develop.svn.wordpress.org/trunk@26094
git-svn-id: http://core.svn.wordpress.org/trunk@26010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 21:54:10 +00:00
Scott Taylor
45deda0726
Fix canonical redirection of cat
as described in #15256 by rolling the cat
query var into tax_query
, instead of category__in
/ category__not_in
. Top-level categories were only redirecting properly if they had no children.
...
All unit tests pass. Tests marked for #15256 are no longer skipped.
Fixes #15256 .
Props dd32.
Built from https://develop.svn.wordpress.org/trunk@26090
git-svn-id: http://core.svn.wordpress.org/trunk@26008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 18:36:10 +00:00
Sergey Biryukov
8d659b278c
Fix docblock formatting. fixes #25893 .
...
Built from https://develop.svn.wordpress.org/trunk@26081
git-svn-id: http://core.svn.wordpress.org/trunk@26001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 13:32:10 +00:00
Helen Hou-Sandí
01a96c4a3a
Add spinner images that were inadvertently left out of [26072]. see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26073
git-svn-id: http://core.svn.wordpress.org/trunk@25993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 00:40:09 +00:00
Helen Hou-Sandí
69d432410a
Say hello to a fresh new look for the WordPress admin.
...
Still to come: more color schemes, a responsive component, and more.
see #25858 .
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 00:27:10 +00:00
Sergey Biryukov
47151b3534
Add @return for WP_Query::parse_search(). props tivnet. fixes #25894 .
...
Built from https://develop.svn.wordpress.org/trunk@26061
git-svn-id: http://core.svn.wordpress.org/trunk@25984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 16:05:10 +00:00
Sergey Biryukov
297e714932
Declare the variable before using it. props tivnet. fixes #25895 for trunk.
...
Built from https://develop.svn.wordpress.org/trunk@26060
git-svn-id: http://core.svn.wordpress.org/trunk@25983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 15:53:09 +00:00
Scott Taylor
53a2c3a181
Produce proper CAST
for DECIMAL
and NUMERIC
in Meta Query. Adds a bunch of unit tests.
...
Props ericlewis.
Fixes #23033 .
Built from https://develop.svn.wordpress.org/trunk@26055
git-svn-id: http://core.svn.wordpress.org/trunk@25980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 23:11:08 +00:00
Scott Taylor
5129b9d0ff
Respect the compare
operator value in meta_query
when value
evaluates to null
. Adds Unit Test.
...
Props bradyvercher, gradyetc.
Fixes #22967 .
Built from https://develop.svn.wordpress.org/trunk@26053
git-svn-id: http://core.svn.wordpress.org/trunk@25978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 22:52:08 +00:00
Scott Taylor
275f39216a
Don't convert URLs inside <pre>
and <code>
tags when parsing string using make_clickable()
.
...
Adds Unit Tests.
Props johnjamesjacoby, helen, nacin, adamsilverstein, sirbrillig.
Fixes #23756 .
Built from https://develop.svn.wordpress.org/trunk@26052
git-svn-id: http://core.svn.wordpress.org/trunk@25977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 22:38:10 +00:00
Sergey Biryukov
6bf2d27c98
Remove old debug comment. props nofearinc. fixes #25865 .
...
Built from https://develop.svn.wordpress.org/trunk@26051
git-svn-id: http://core.svn.wordpress.org/trunk@25976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 22:24:09 +00:00
Scott Taylor
734fe0f6ad
Split the content to balance open tags when <!--nextpage-->
and <!--more.*?-->
are used. Needs filter inline docs. The 4 unit tests that were previously failing for ticket 6297 now pass.
...
See #6297 .
Props devesine.
Built from https://develop.svn.wordpress.org/trunk@26050
git-svn-id: http://core.svn.wordpress.org/trunk@25975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 22:22:11 +00:00
Dion Hulse
90b6ccc88d
Add some missing braces to get_bookmarks() which was causing an early return. Introduced in [25934]. See #25468 . Fixes #25874
...
Built from https://develop.svn.wordpress.org/trunk@26046
git-svn-id: http://core.svn.wordpress.org/trunk@25971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 02:20:10 +00:00
Sergey Biryukov
b9387f0621
Add missing semicolon after wpLink object definition. props mt8.biz. fixes #25862 .
...
Built from https://develop.svn.wordpress.org/trunk@26033
git-svn-id: http://core.svn.wordpress.org/trunk@25962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-07 10:42:09 +00:00
Dion Hulse
560b0c8b0a
Fix a case where wp_guess_url() would leave a prefixed path in the generated URL when symlinks were involved. Fixes #25797
...
Built from https://develop.svn.wordpress.org/trunk@26031
git-svn-id: http://core.svn.wordpress.org/trunk@25961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-07 03:34:10 +00:00
Sergey Biryukov
bf6f02320a
A negative term parent value should be sanitized to 0, not 1. Fix a regression in sanitize_term_field() caused by [26010].
...
props mattheu for initial patch.
fixes #25852 .
Built from https://develop.svn.wordpress.org/trunk@26028
git-svn-id: http://core.svn.wordpress.org/trunk@25958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-06 23:41:09 +00:00
Sergey Biryukov
72d4b140fb
Make Twenty Fourteen the default theme. props markmcwilliams. fixes #25702 .
...
Built from https://develop.svn.wordpress.org/trunk@26024
git-svn-id: http://core.svn.wordpress.org/trunk@25955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-06 20:02:09 +00:00
Sergey Biryukov
918e8bab96
Remove irrelevant @see references. props mt8.biz. fixes #25843 .
...
Built from https://develop.svn.wordpress.org/trunk@26022
git-svn-id: http://core.svn.wordpress.org/trunk@25953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-06 10:17:09 +00:00
Scott Taylor
a519007202
Respect paged
when offset
is used in WP_Query
. Adds unit tests.
...
Props coffee2code.
Fixes #18897 .
Built from https://develop.svn.wordpress.org/trunk@26012
git-svn-id: http://core.svn.wordpress.org/trunk@25943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 01:35:10 +00:00
Scott Taylor
cefafee3d3
Cast proper fields to int
when returning from wp_get_object_terms()
. Add term_taxonomy_id
and object_id
to the list in sanitize_term()
and sanitize_term_field()
.
...
Fixes #17646 . Adds unit tests.
Props simonwheatley, dd32, kovshenin.
Built from https://develop.svn.wordpress.org/trunk@26010
git-svn-id: http://core.svn.wordpress.org/trunk@25941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 01:19:11 +00:00
Scott Taylor
7d7ba0aea3
Don't globalize version variables twice. See #23685 .
...
Built from https://develop.svn.wordpress.org/trunk@26009
git-svn-id: http://core.svn.wordpress.org/trunk@25940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 00:58:09 +00:00
Scott Taylor
92ba8748aa
When WordPress is loaded in a function (e.g. unit tests) the variables initialized at the top level aren't globals, but we expect them to be. Explicitly make the version variables global.
...
Props nbachiyski.
Fixes #23685 .
Built from https://develop.svn.wordpress.org/trunk@26008
git-svn-id: http://core.svn.wordpress.org/trunk@25939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 00:24:10 +00:00
Scott Taylor
ca85591c3c
Category and tag are typically checked before checking for a custom taxonomy. If the global query matches category or tag (even if it also has tax_query set), return category/tag as the queried object, instead of arbitrarily returning the first term in the tax_query
stack (typically those added with 'pre_get_posts').
...
Real world example: http://www.emusic.com/17dots/topics/daily-download/ - "tag" page, regionalized for US-only content using `pre_get_posts` passing in the terms "US" and "ALL" for "region" (custom tax). All of the theme functions would output "ALL" as the term name. Even though it was a tag archive, the queried object was an arbitrary term from `tax_query`.
See [26006]. All unit tests pass.
Fixes #20767 .
Built from https://develop.svn.wordpress.org/trunk@26007
git-svn-id: http://core.svn.wordpress.org/trunk@25938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-04 23:54:10 +00:00
Scott Taylor
a5eb3208d7
WP_UnitTestCase::go_to()
tried its best to clean up global space, but ultimately fell short. Because it was blowing away WP
every time it was called, it was dropping all the query vars that were registered for custom taxonomies and custom post types (ouch).
...
Introduces `_cleanup_query_vars()`. This is a prerequisite for the unit tests on #20767 . All unit tests pass with this change.
See #20767 .
Fixes #25818 .
Built from https://develop.svn.wordpress.org/trunk@26006
git-svn-id: http://core.svn.wordpress.org/trunk@25937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-04 22:47:10 +00:00
Sergey Biryukov
40391f4e37
Fall back to comment author email in get_avatar() if the user who left the comment no longer exists.
...
props mauryaratan, lite3.
fixes #25803 .
Built from https://develop.svn.wordpress.org/trunk@26000
git-svn-id: http://core.svn.wordpress.org/trunk@25933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-02 12:20:11 +00:00
Sergey Biryukov
0888c85811
Correct $user_id parameter description. props mauryaratan, Corphi. fixes #25774 .
...
Built from https://develop.svn.wordpress.org/trunk@25997
git-svn-id: http://core.svn.wordpress.org/trunk@25930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-30 20:18:10 +00:00
Andrew Nacin
11eb5055ac
Explicitly globalize $is_nginx in vars.php.
...
props johnjamesjacoby.
fixes #25776 .
Built from https://develop.svn.wordpress.org/trunk@25996
git-svn-id: http://core.svn.wordpress.org/trunk@25929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-30 19:37:09 +00:00
Andrew Nacin
d0cfa40983
Add jshintrc to qunit.
...
props jorbin.
see #25187 .
Built from https://develop.svn.wordpress.org/trunk@25992
git-svn-id: http://core.svn.wordpress.org/trunk@25925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-30 14:39:10 +00:00
Andrew Nacin
26d4fdf58d
Add a $taxonomy argument to each of the adjacent post functions.
...
Each took an array of category (IDs) when to search. Those can now be term IDs and each function now has $taxonomy = 'category' as an optional argument.
Functions affected: get_previous_post(), get_next_post(), get_adjacent_post(), get_adjacent_post_rel_link(), adjacent_posts_rel_link(), next_post_rel_link(), prev_post_rel_link(), get_boundary_post(), get_previous_post_link(), previous_post_link(), get_next_post_link(), next_post_link(), get_adjacent_post_link(), adjacent_post_link().
props ethitter.
finally fixes #17807 .
Built from https://develop.svn.wordpress.org/trunk@25959
git-svn-id: http://core.svn.wordpress.org/trunk@25918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-27 21:40:09 +00:00
Andrew Nacin
a8ef13972c
When an HTTPS request to api.wordpress.org fails, try an insecure HTTP request and issue a warning.
...
Certain versions of cURL appear to claim OpenSSL support but fail to work. We need to not trap users on older versions while we work this out, and instead fall back to an insecure request.
see #25716 for trunk.
Built from https://develop.svn.wordpress.org/trunk@25956
git-svn-id: http://core.svn.wordpress.org/trunk@25915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-27 21:09:10 +00:00
Andrew Nacin
3b82280cb4
Query stopwords: Only eliminate single A-Z letters as search terms.
...
Stop trying to match any single letters that are not East Asian characters, as this requires PCRE with UTF-8 support; and because it doesn't actually work.
fixes #25709 .
Built from https://develop.svn.wordpress.org/trunk@25954
git-svn-id: http://core.svn.wordpress.org/trunk@25913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-27 20:51:10 +00:00
Drew Jaynes
02d3a290ec
Inline documentation for hooks in wp-includes/functions.wp-styles.php.
...
Props admiralthrawn.
Fixes #25722 .
Built from https://develop.svn.wordpress.org/trunk@25950
git-svn-id: http://core.svn.wordpress.org/trunk@25909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-27 17:59:09 +00:00
Drew Jaynes
d3fbb93eb1
Inline documentation for hooks in wp-includes/functions.wp-scripts.php.
...
Props ninio for the initial patch.
Fixes #25720 .
Built from https://develop.svn.wordpress.org/trunk@25949
git-svn-id: http://core.svn.wordpress.org/trunk@25908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-27 17:51:09 +00:00
Helen Hou-Sandí
7fa704d972
Allow passing false
for the meta_box_cb
arg in register_taxonomy()
to turn off the meta box display entirely. fixes #21543 .
...
Built from https://develop.svn.wordpress.org/trunk@25948
git-svn-id: http://core.svn.wordpress.org/trunk@25907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-27 16:29:09 +00:00
Drew Jaynes
85ccb59294
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 .
Built from https://develop.svn.wordpress.org/trunk@25946
git-svn-id: http://core.svn.wordpress.org/trunk@25905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-27 07:59:10 +00:00
Drew Jaynes
c01501b516
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 .
Built from https://develop.svn.wordpress.org/trunk@25945
git-svn-id: http://core.svn.wordpress.org/trunk@25904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-27 07:49:09 +00:00
Andrew Ozz
fde786ab5d
Bump the TinyMCE version for 3.8, see #25700 .
...
Built from https://develop.svn.wordpress.org/trunk@25944
git-svn-id: http://core.svn.wordpress.org/trunk@25903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 21:45:09 +00:00
Drew Jaynes
a7465eb374
Inline documentation for hooks in wp-includes/admin-bar.php.
...
Props swissspidy.
Fixes #25508 .
Built from https://develop.svn.wordpress.org/trunk@25941
git-svn-id: http://core.svn.wordpress.org/trunk@25900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 21:18:09 +00:00
Drew Jaynes
75e0cad6af
Inline documentation for hooks in wp-includes/class-wp.php.
...
Props dougwollison.
Fixes #25495 .
Built from https://develop.svn.wordpress.org/trunk@25940
git-svn-id: http://core.svn.wordpress.org/trunk@25899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 21:03:09 +00:00
Drew Jaynes
3c22a3fd6d
Inline documentation for hooks in wp-includes/bookmark.php.
...
Props ShinichiN, kpdesign.
Fixes #25468 .
Built from https://develop.svn.wordpress.org/trunk@25934
git-svn-id: http://core.svn.wordpress.org/trunk@25893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 16:53:09 +00:00
Andrew Nacin
bba2a414a2
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.
Built from https://develop.svn.wordpress.org/trunk@25933
git-svn-id: http://core.svn.wordpress.org/trunk@25892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 15:04:11 +00:00
Andrew Nacin
c08aee70bb
In search stopwords filtering, suppress possible PHP warnings when PCRE lacks UTF-8 support.
...
see #25709 .
Built from https://develop.svn.wordpress.org/trunk@25932
git-svn-id: http://core.svn.wordpress.org/trunk@25891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 05:59:09 +00:00
Andrew Nacin
823ad1ae6e
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.
Built from https://develop.svn.wordpress.org/trunk@25929
git-svn-id: http://core.svn.wordpress.org/trunk@25888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 03:20:09 +00:00
Andrew Nacin
d6b436afe8
In update_option(), call the update_option hook before the DB update.
...
Reverses a regression from [25664].
props calin.
fixes #25705 for trunk.
Built from https://develop.svn.wordpress.org/trunk@25925
git-svn-id: http://core.svn.wordpress.org/trunk@25884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 02:57:09 +00:00
Andrew Nacin
73ee71a239
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.
Built from https://develop.svn.wordpress.org/trunk@25923
git-svn-id: http://core.svn.wordpress.org/trunk@25882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 02:54:10 +00:00
Andrew Nacin
dfe0e26154
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.
Built from https://develop.svn.wordpress.org/trunk@25921
git-svn-id: http://core.svn.wordpress.org/trunk@25880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 02:51:09 +00:00
Andrew Nacin
1a2f89d5d0
Avoid a notice for an undefined $checksums variable when updating from pre-3.7 to post-3.7.
...
props GaryJ.
fixes #25689 for trunk.
Built from https://develop.svn.wordpress.org/trunk@25915
git-svn-id: http://core.svn.wordpress.org/trunk@25878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-25 20:15:10 +00:00
Andrew Nacin
70fd806759
Revert r25824:25875 from the core.svn.wordpress.org repository.
...
These commits were accidentally re-synced commits from develop.svn.wordpress.org due to a race condition. Thankfully, the history of this repository matters fairly little. It also happened only for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@25876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-25 02:29:52 +00:00
Andrew Nacin
38775d5a1d
3.7-RC2
...
Built from https://develop.svn.wordpress.org/trunk@25875
git-svn-id: http://core.svn.wordpress.org/trunk@25875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 23:00:19 +00:00
Andrew Nacin
ede8b8db88
Have heartbeat's connection lost notice handle 503 errors send by the upgrader's maintenance mode.
...
fixes #25660 for 3.7.
Built from https://develop.svn.wordpress.org/trunk@25874
git-svn-id: http://core.svn.wordpress.org/trunk@25874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 23:00:09 +00:00
Andrew Nacin
ac2e70227f
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 .
Built from https://develop.svn.wordpress.org/trunk@25873
git-svn-id: http://core.svn.wordpress.org/trunk@25873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 23:00:01 +00:00
Andrew Nacin
5361a8abca
Spell out duplicate hook locations.
...
props DrewAPicture.
fixes #25658 .
Built from https://develop.svn.wordpress.org/trunk@25868
git-svn-id: http://core.svn.wordpress.org/trunk@25868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:59:20 +00:00
Andrew Nacin
93e54b6646
Always apply the posts_search filter. Restores 3.6 behavior.
...
props SergeyBiryukov.
fixes #25664 .
Built from https://develop.svn.wordpress.org/trunk@25867
git-svn-id: http://core.svn.wordpress.org/trunk@25867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:59:12 +00:00
Drew Jaynes
2d58250bea
Improve inline documentation for the wp_get_sites()
return value.
...
Fixes #25645 .
Built from https://develop.svn.wordpress.org/trunk@25862
git-svn-id: http://core.svn.wordpress.org/trunk@25862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:58:32 +00:00
Andrew Nacin
de7977d66c
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 .
Built from https://develop.svn.wordpress.org/trunk@25861
git-svn-id: http://core.svn.wordpress.org/trunk@25861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:58:23 +00:00
Drew Jaynes
4d1482cd0d
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 .
Built from https://develop.svn.wordpress.org/trunk@25860
git-svn-id: http://core.svn.wordpress.org/trunk@25860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:58:12 +00:00
Andrew Ozz
48ce800aab
TinyMCE: fix detection of IE11 in compatibility mode, fixes #25634 .
...
Built from https://develop.svn.wordpress.org/trunk@25852
git-svn-id: http://core.svn.wordpress.org/trunk@25852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:57:01 +00:00
Andrew Nacin
04bbb52c7c
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 .
Built from https://develop.svn.wordpress.org/trunk@25851
git-svn-id: http://core.svn.wordpress.org/trunk@25851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:56:54 +00:00
Andrew Nacin
e369b3b242
3.7-RC1
...
Built from https://develop.svn.wordpress.org/trunk@25850
git-svn-id: http://core.svn.wordpress.org/trunk@25850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:56:46 +00:00
Andrew Nacin
83b20ee7f9
Notify administrators of successful, failed, and pending core updates.
...
Blocks future background updates after critical failures, but allow retries in certain situations. More in the ticket.
fixes #10787 .
Built from https://develop.svn.wordpress.org/trunk@25841
git-svn-id: http://core.svn.wordpress.org/trunk@25841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:55:30 +00:00
Andrew Nacin
b13c7791a9
Awesome about page design for WordPress 3.7.
...
The page includes a giant password meter that serves as both an animated example and a working demo. How cool is that?
props jorbin, melchoyce.
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25839
git-svn-id: http://core.svn.wordpress.org/trunk@25839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:55:12 +00:00
Andrew Nacin
a3561e7e07
In automatic background updates, standardize on 'update'.
...
New, final filter names:
* auto_update_{$type} (plugin, theme, core, language)
* automatic_updates_is_vcs_checkout
* automatic_updates_disabled
New class name is WP_Automatic_Updater. Method names include update() and should_update().
see #22704 .
Built from https://develop.svn.wordpress.org/trunk@25835
git-svn-id: http://core.svn.wordpress.org/trunk@25835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:54:38 +00:00
Andrew Nacin
deadb7b296
Avoid a notice in is_main_network() when called in single site. see #25030 .
...
Built from https://develop.svn.wordpress.org/trunk@25827
git-svn-id: http://core.svn.wordpress.org/trunk@25827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:31 +00:00
Andrew Nacin
8ae8e01b67
Remove the old wp_auto_updates_maybe_update cron event. Schedule the new wp_maybe_auto_update event at 7 a.m. and 7 p.m. in the site's timezone.
...
see #27704 .
Built from https://develop.svn.wordpress.org/trunk@25825
git-svn-id: http://core.svn.wordpress.org/trunk@25825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:14 +00:00
Andrew Nacin
9c6a15ef8f
Maintain the same output for get_avatar() as 3.6. see [25895].
...
Built from https://develop.svn.wordpress.org/trunk@25899
git-svn-id: http://core.svn.wordpress.org/trunk@25811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 19:32:09 +00:00
Andrew Nacin
af4535596b
Always escape URLs at the last possible moment.
...
Built from https://develop.svn.wordpress.org/trunk@25895
git-svn-id: http://core.svn.wordpress.org/trunk@25807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 18:52:11 +00:00
Andrew Nacin
77ca1f202a
Avoid notice with search feeds.
...
fixes #25677 .
Built from https://develop.svn.wordpress.org/trunk@25889
git-svn-id: http://core.svn.wordpress.org/trunk@25801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 20:55:10 +00:00
Ryan Boren
b87d4b77e5
Pinking shears
...
Built from https://develop.svn.wordpress.org/trunk@25880
git-svn-id: http://core.svn.wordpress.org/trunk@25792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 14:38:10 +00:00
Andrew Nacin
c3d62fc1df
Trunk is now 3.8-alpha
...
Built from https://develop.svn.wordpress.org/trunk@25879
git-svn-id: http://core.svn.wordpress.org/trunk@25791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 23:59:10 +00:00
Andrew Nacin
d14ac1d48a
3.7-RC2
...
Built from https://develop.svn.wordpress.org/trunk@25875
git-svn-id: http://core.svn.wordpress.org/trunk@25787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 22:10:10 +00:00
Andrew Nacin
ffd7f53bcf
Have heartbeat's connection lost notice handle 503 errors send by the upgrader's maintenance mode.
...
fixes #25660 for 3.7.
Built from https://develop.svn.wordpress.org/trunk@25874
git-svn-id: http://core.svn.wordpress.org/trunk@25786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 21:27:09 +00:00
Andrew Nacin
a387c3bef9
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 .
Built from https://develop.svn.wordpress.org/trunk@25873
git-svn-id: http://core.svn.wordpress.org/trunk@25785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 21:19:09 +00:00
Andrew Nacin
74488bdcb0
Spell out duplicate hook locations.
...
props DrewAPicture.
fixes #25658 .
Built from https://develop.svn.wordpress.org/trunk@25868
git-svn-id: http://core.svn.wordpress.org/trunk@25780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 17:22:11 +00:00
Andrew Nacin
6d97f53134
Always apply the posts_search filter. Restores 3.6 behavior.
...
props SergeyBiryukov.
fixes #25664 .
Built from https://develop.svn.wordpress.org/trunk@25867
git-svn-id: http://core.svn.wordpress.org/trunk@25779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 17:21:09 +00:00