Sergey Biryukov
fc24029d65
Simplify logic in get_sample_permalink_html(), remove duplicated code.
...
see #28350 .
Built from https://develop.svn.wordpress.org/trunk@28947
git-svn-id: http://core.svn.wordpress.org/trunk@28744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-02 00:04:15 +00:00
Sergey Biryukov
16bb742b66
Display a correct preview link for drafts when permalinks are disabled.
...
see #28350 .
Built from https://develop.svn.wordpress.org/trunk@28946
git-svn-id: http://core.svn.wordpress.org/trunk@28743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 23:56:14 +00:00
Sergey Biryukov
63a875ce80
Use correct variable.
...
props azaozz.
see #24472 .
Built from https://develop.svn.wordpress.org/trunk@28945
git-svn-id: http://core.svn.wordpress.org/trunk@28742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 23:30:15 +00:00
Sergey Biryukov
63b1667a01
Add a filter for wp_editor() settings.
...
props DH-Shredder, JPry, DrewAPicture.
fixes #24472 .
Built from https://develop.svn.wordpress.org/trunk@28944
git-svn-id: http://core.svn.wordpress.org/trunk@28741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 23:03:15 +00:00
Sergey Biryukov
788597141a
Make wp_kses_no_null() remove any invalid control characters in a string.
...
props mauteri, miqrogroove.
fixes #28506 .
Built from https://develop.svn.wordpress.org/trunk@28942
git-svn-id: http://core.svn.wordpress.org/trunk@28740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 18:01:17 +00:00
Sergey Biryukov
3705febc40
Twenty Fourteen: Fix display of center-aligned images with captions in TinyMCE.
...
props RDall.
fixes #28048 .
Built from https://develop.svn.wordpress.org/trunk@28941
git-svn-id: http://core.svn.wordpress.org/trunk@28739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 16:41:15 +00:00
Helen Hou-Sandí
38e5e13b1f
Only apply metabox handle styles and JS events to .postbox .hndle
, as opposed to all h3
s in a .postbox
.
...
Developers previously relying on the `h3` behavior may be affected. You may want to investigate `do_meta_boxes()` rather than recreating markup.
props SergeyBiryukov, nabil_kadimi.
fixes #28485 .
Built from https://develop.svn.wordpress.org/trunk@28940
git-svn-id: http://core.svn.wordpress.org/trunk@28738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 16:23:15 +00:00
Sergey Biryukov
177fe21194
Asterisk is an allowed character in a URI and should not be stripped out by wp_sanitize_redirect().
...
fixes #28362 .
Built from https://develop.svn.wordpress.org/trunk@28939
git-svn-id: http://core.svn.wordpress.org/trunk@28737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 15:56:15 +00:00
Sergey Biryukov
575425ffbe
Add @since for get_translations_for_domain().
...
props DrewAPicture.
see #28690 .
Built from https://develop.svn.wordpress.org/trunk@28938
git-svn-id: http://core.svn.wordpress.org/trunk@28736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 15:29:13 +00:00
Sergey Biryukov
440c78d405
Some fixes for get_weekstartend() docs.
...
see #26185 .
Built from https://develop.svn.wordpress.org/trunk@28937
git-svn-id: http://core.svn.wordpress.org/trunk@28735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 14:59:15 +00:00
Drew Jaynes
300c53e6fe
General inline documentation improvements in wp-includes/functions.php.
...
Second run. See #26185 .
Built from https://develop.svn.wordpress.org/trunk@28936
git-svn-id: http://core.svn.wordpress.org/trunk@28734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 01:44:15 +00:00
Sergey Biryukov
7e226aaa70
WP_Date_Query: The inclusive logic should include all times within the date range.
...
props mboynes, oso96_2000, DrewAPicture.
fixes #26653 .
Built from https://develop.svn.wordpress.org/trunk@28935
git-svn-id: http://core.svn.wordpress.org/trunk@28733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 01:18:15 +00:00
Sergey Biryukov
7a47b7585d
Move ms-load.php and ms-default-constants.php inclusion back to ms-settings.php to avoid breaking WP-CLI.
...
Use require_once() to allow for ms-settings.php to be included multiple times while testing.
props jeremyfelt.
see #27884 .
Built from https://develop.svn.wordpress.org/trunk@28934
git-svn-id: http://core.svn.wordpress.org/trunk@28732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 23:50:15 +00:00
Sergey Biryukov
f7703c03d3
Remove free-spacing modifier and extra spaces from wp_extract_urls() pattern.
...
fixes #28222 .
Built from https://develop.svn.wordpress.org/trunk@28933
git-svn-id: http://core.svn.wordpress.org/trunk@28731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 23:09:16 +00:00
Andrew Ozz
99c9ef1a59
TinyMCE:
...
- Update the 'paste' plugin including cb36a78e54
- Better filtering of WebKit inserted  .
- Remove empty paragraphs and all inline styles on pasting but preserve styles added in the editor. This brings back the WP 3.8 behavior and makes pasting in all browsers work the same.
See #28016
Built from https://develop.svn.wordpress.org/trunk@28932
git-svn-id: http://core.svn.wordpress.org/trunk@28730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 21:55:18 +00:00
Dominik Schilling
b76d6afbbd
Customizer: Reverse arrows in RTL. See #27406 .
...
props yoavf.
fixes #28669 .
Built from https://develop.svn.wordpress.org/trunk@28931
git-svn-id: http://core.svn.wordpress.org/trunk@28729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 20:00:15 +00:00
Dominik Schilling
958ab24709
Customizer: Support textarea
and commonly-used input types as control type in WP_Customize_Control
.
...
Add `input_attrs` property to support custom input attributes.
(Demo plugin attached to ticket.)
props celloexpressions.
fixes #28477 .
Built from https://develop.svn.wordpress.org/trunk@28930
git-svn-id: http://core.svn.wordpress.org/trunk@28728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 19:48:13 +00:00
Scott Taylor
a71d57da0a
Remove obsolete comment in wptexturize()
.
...
http://irclogs.wordpress.org/chanlog.php?channel=wordpress-dev&day=2014-06-30&sort=asc#m879104
See [28831].
Built from https://develop.svn.wordpress.org/trunk@28929
git-svn-id: http://core.svn.wordpress.org/trunk@28727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 17:59:14 +00:00
Sergey Biryukov
ca650bd79c
Replace a redundant ! is_preview() check with a more appropriate one.
...
fixes #20496 .
Built from https://develop.svn.wordpress.org/trunk@28928
git-svn-id: http://core.svn.wordpress.org/trunk@28726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 17:19:14 +00:00
Helen Hou-Sandí
e1db9240b7
Support descriptions for individual customizer controls.
...
* Control title (label) markup will also only be output if specified.
* Control section descriptions are no longer italicized for visual hierarchy / differentiation.
props celloexpressions. fixes #27981 .
Built from https://develop.svn.wordpress.org/trunk@28927
git-svn-id: http://core.svn.wordpress.org/trunk@28725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 15:55:17 +00:00
Sergey Biryukov
ec3d119861
Avoid overwriting $error global with an interim variable.
...
props MikeLittle.
fixes #28691 .
Built from https://develop.svn.wordpress.org/trunk@28925
git-svn-id: http://core.svn.wordpress.org/trunk@28724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 14:39:17 +00:00
Sergey Biryukov
2752456493
Document @return value for load_plugin_textdomain(). props jdgrimes.
...
Document $path parameter for load_child_theme_textdomain().
fixes #28690 .
Built from https://develop.svn.wordpress.org/trunk@28924
git-svn-id: http://core.svn.wordpress.org/trunk@28723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 13:52:15 +00:00
Sergey Biryukov
f799048057
Pass $url parameter to wp_embed_defaults() and 'embed_defaults' filter.
...
props wpsmith, sabreuse, jacobdubail.
fixes #20151 .
Built from https://develop.svn.wordpress.org/trunk@28923
git-svn-id: http://core.svn.wordpress.org/trunk@28722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 11:16:15 +00:00
Sergey Biryukov
c8d8610a15
Avoid a PHP notice in wp_new_comment() if user ID is not passed.
...
see #23231 .
Built from https://develop.svn.wordpress.org/trunk@28922
git-svn-id: http://core.svn.wordpress.org/trunk@28721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 11:03:14 +00:00
Sergey Biryukov
706f85d814
Force a separator in get_wp_title_rss() if it was inadvertently filtered out by the theme.
...
fixes #22362 .
Built from https://develop.svn.wordpress.org/trunk@28921
git-svn-id: http://core.svn.wordpress.org/trunk@28720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 10:11:15 +00:00
Sergey Biryukov
8dcf86f94d
Display consistent preview links for drafts.
...
props mordauk.
fixes #28350 .
Built from https://develop.svn.wordpress.org/trunk@28920
git-svn-id: http://core.svn.wordpress.org/trunk@28719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 10:02:16 +00:00
Andrew Ozz
5168f9c7c6
Secure embeds in the editor (first run):
...
- When the user pastes an embeddable http URL, try to get the https embed.
- If an embed provider doesn't support ssl embeds, show a placeholder/error message.
- Revise the way we return error messages.
See #28195 , #28507 .
Built from https://develop.svn.wordpress.org/trunk@28919
git-svn-id: http://core.svn.wordpress.org/trunk@28718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 05:49:16 +00:00
Drew Jaynes
c97a364b79
General inline documentation improvements in wp-includes/functions.php.
...
First run. See #26185 .
Built from https://develop.svn.wordpress.org/trunk@28918
git-svn-id: http://core.svn.wordpress.org/trunk@28717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 03:56:15 +00:00
Drew Jaynes
36be4e5703
Improve inline documentation for date_i18n()
, _http_build_query()
, wp_checkdate()
, and wp_auth_check()
.
...
Props morganestes.
See #26185 .
Built from https://develop.svn.wordpress.org/trunk@28917
git-svn-id: http://core.svn.wordpress.org/trunk@28716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 03:47:16 +00:00
Sergey Biryukov
5f0b156155
Prevent bulk actions from being performed when Filter button is clicked.
...
props jesin.
fixes #28555 .
Built from https://develop.svn.wordpress.org/trunk@28916
git-svn-id: http://core.svn.wordpress.org/trunk@28715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 01:10:15 +00:00
Sergey Biryukov
c8adae8ec7
Normalize 'user_id' and 'user_ID' values in wp_new_comment() before passing the comment data to 'preprocess_comment' filter.
...
props dkotter.
fixes #23231 .
Built from https://develop.svn.wordpress.org/trunk@28915
git-svn-id: http://core.svn.wordpress.org/trunk@28714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-30 00:41:16 +00:00
Scott Taylor
63c4cd485f
Revert [28911] for performance concerns.
...
See #14157 .
Built from https://develop.svn.wordpress.org/trunk@28914
git-svn-id: http://core.svn.wordpress.org/trunk@28713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 23:43:14 +00:00
Scott Taylor
c8936195f6
Allow comments in the trash to marked as spam.
...
Props mordauk.
Fixes #19256 .
Built from https://develop.svn.wordpress.org/trunk@28913
git-svn-id: http://core.svn.wordpress.org/trunk@28712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 23:19:16 +00:00
Scott Taylor
21864a98d0
Add a function, get_comments_number_text()
, that returns instead of echoing. comments_number()
wraps it.
...
Props kapeels, nbachiyski.
Fixes #10177 .
Built from https://develop.svn.wordpress.org/trunk@28912
git-svn-id: http://core.svn.wordpress.org/trunk@28711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 23:13:15 +00:00
Scott Taylor
f7ac459a61
Use includes_url( ..., 'relative' )
in script-loader.php
in lieu of hard-coding /wp-includes/....
everywhere.
...
Fixes #14157 .
Built from https://develop.svn.wordpress.org/trunk@28911
git-svn-id: http://core.svn.wordpress.org/trunk@28710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 22:56:14 +00:00
Andrew Nacin
4695573f51
Add initial unit tests for multisite's bootstrap.
...
props jeremyfelt.
fixes #27884 .
Built from https://develop.svn.wordpress.org/trunk@28910
git-svn-id: http://core.svn.wordpress.org/trunk@28709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 22:51:16 +00:00
Drew Jaynes
a10aff4d92
Convert documentation of default arguments in wp_list_authors()
to the hash-notation style.
...
Props Viper007Bond.
Fixes #28684 .
Built from https://develop.svn.wordpress.org/trunk@28909
git-svn-id: http://core.svn.wordpress.org/trunk@28708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 22:34:14 +00:00
Scott Taylor
9e2eb6aa62
Use includes_url()
in wlwmanifest_link()
.
...
Props nacin.
See #14157 .
Built from https://develop.svn.wordpress.org/trunk@28908
git-svn-id: http://core.svn.wordpress.org/trunk@28707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 22:27:15 +00:00
Scott Taylor
53968da5e2
WP_Scripts->in_default_dir()
should use the WPINC
constant
...
Props wojtek.szkutnik
See #14157 .
Built from https://develop.svn.wordpress.org/trunk@28907
git-svn-id: http://core.svn.wordpress.org/trunk@28706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 22:23:15 +00:00
Scott Taylor
0ef5c92164
Admin screens should use the WPINC
constant
...
Props wojtek.szkutnik
See #14157 .
Built from https://develop.svn.wordpress.org/trunk@28906
git-svn-id: http://core.svn.wordpress.org/trunk@28705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 22:21:15 +00:00
Scott Taylor
8dd3c0e909
wlwmanifest_link()
should use the WPINC
constant
...
Props wojtek.szkutnik
See #14157 .
Built from https://develop.svn.wordpress.org/trunk@28905
git-svn-id: http://core.svn.wordpress.org/trunk@28704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 22:17:14 +00:00
Scott Taylor
3d0a869a21
WP_Filesystem_Base->abspath()
should use the WPINC
constant
...
Props wojtek.szkutnik
See #14157 .
Built from https://develop.svn.wordpress.org/trunk@28904
git-svn-id: http://core.svn.wordpress.org/trunk@28703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 22:16:15 +00:00
Scott Taylor
c8852cc909
Use the WPINC
constant when loading class-phpass.php
...
Props wojtek.szkutnik
See #14157 .
Built from https://develop.svn.wordpress.org/trunk@28903
git-svn-id: http://core.svn.wordpress.org/trunk@28702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 22:12:16 +00:00
Sergey Biryukov
a8d0832a15
Notify developers when register_post_type() or register_taxonomy() fails because of post type or taxonomy key length.
...
props mattheweppelsheimer.
fixes #28683 .
Built from https://develop.svn.wordpress.org/trunk@28902
git-svn-id: http://core.svn.wordpress.org/trunk@28701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 21:54:14 +00:00
Drew Jaynes
6216aa2331
Add documentation for the default playlist shortcode attributes in wp_playlist_shortcode()
.
...
Props taylorde.
Fixes #28678 .
Built from https://develop.svn.wordpress.org/trunk@28901
git-svn-id: http://core.svn.wordpress.org/trunk@28700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 21:29:17 +00:00
Andrew Nacin
708f73ccc9
Add index key support for wp_list_pluck(), à la array_column().
...
props trepmal.
fixes #28666 .
Built from https://develop.svn.wordpress.org/trunk@28900
git-svn-id: http://core.svn.wordpress.org/trunk@28699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 21:26:17 +00:00
Drew Jaynes
5f08eed052
Re-document default arguments in wp_link_pages()
using the hash-notation style.
...
Props taylorde.
Fixes #28680 .
Built from https://develop.svn.wordpress.org/trunk@28899
git-svn-id: http://core.svn.wordpress.org/trunk@28698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 18:56:16 +00:00
Sergey Biryukov
08cea559a5
Set date format before going into the loop to avoid a PHP notice if 'lastupdated' column is filtered out.
...
props jeremyfelt.
fixes #27614 .
Built from https://develop.svn.wordpress.org/trunk@28898
git-svn-id: http://core.svn.wordpress.org/trunk@28697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 18:11:14 +00:00
Sergey Biryukov
ae0e22b61c
Fix feature pointer positioning issues for both LTR and RTL.
...
fixes #28062 .
Built from https://develop.svn.wordpress.org/trunk@28897
git-svn-id: http://core.svn.wordpress.org/trunk@28696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 16:06:14 +00:00
John Blackbourn
548c41455a
Remove the WordPress logo from the focusable elements on the install/update screens. Fixes #28674 . Props stompweb
...
Built from https://develop.svn.wordpress.org/trunk@28896
git-svn-id: http://core.svn.wordpress.org/trunk@28695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 14:10:15 +00:00