Andrew Nacin
9e24832a0e
Add initial unit tests for multisite's bootstrap.
...
props jeremyfelt.
fixes #27884 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28910 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 22:50:44 +00:00
Drew Jaynes (DrewAPicture)
75ff222c93
Convert documentation of default arguments in wp_list_authors()
to the hash-notation style.
...
Props Viper007Bond.
Fixes #28684 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28909 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 22:33:46 +00:00
Scott Taylor
0b1a0b39fd
Use includes_url()
in wlwmanifest_link()
.
...
Props nacin.
See #14157 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28908 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 22:26:59 +00:00
Scott Taylor
0a3e448168
WP_Scripts->in_default_dir()
should use the WPINC
constant
...
Props wojtek.szkutnik
See #14157 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28907 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 22:22:16 +00:00
Scott Taylor
d204e4dea0
Admin screens should use the WPINC
constant
...
Props wojtek.szkutnik
See #14157 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28906 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 22:20:26 +00:00
Scott Taylor
acd2a45cc2
wlwmanifest_link()
should use the WPINC
constant
...
Props wojtek.szkutnik
See #14157 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28905 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 22:16:52 +00:00
Scott Taylor
48c145ee78
WP_Filesystem_Base->abspath()
should use the WPINC
constant
...
Props wojtek.szkutnik
See #14157 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28904 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 22:15:10 +00:00
Scott Taylor
dcd7ff837d
Use the WPINC
constant when loading class-phpass.php
...
Props wojtek.szkutnik
See #14157 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28903 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 22:11:44 +00:00
Sergey Biryukov
00678ab0df
Notify developers when register_post_type() or register_taxonomy() fails because of post type or taxonomy key length.
...
props mattheweppelsheimer.
fixes #28683 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28902 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 21:53:35 +00:00
Drew Jaynes (DrewAPicture)
978f3df40f
Add documentation for the default playlist shortcode attributes in wp_playlist_shortcode()
.
...
Props taylorde.
Fixes #28678 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28901 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 21:28:54 +00:00
Andrew Nacin
02094174f9
Add index key support for wp_list_pluck(), à la array_column().
...
props trepmal.
fixes #28666 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28900 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 21:25:21 +00:00
Drew Jaynes (DrewAPicture)
1388b15b67
Re-document default arguments in wp_link_pages()
using the hash-notation style.
...
Props taylorde.
Fixes #28680 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28899 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 18:55:45 +00:00
Sergey Biryukov
1e7b12978c
Set date format before going into the loop to avoid a PHP notice if 'lastupdated' column is filtered out.
...
props jeremyfelt.
fixes #27614 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28898 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 18:10:52 +00:00
Sergey Biryukov
107001213b
Fix feature pointer positioning issues for both LTR and RTL.
...
fixes #28062 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28897 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 16:05:53 +00:00
John Blackbourn
db4da6e488
Remove the WordPress logo from the focusable elements on the install/update screens. Fixes #28674 . Props stompweb
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28896 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 14:09:39 +00:00
John Blackbourn
15e019d99e
Conditionally set the the secure
flag on the test cookie, post password cookie, settings cookies, and comment author cookies depending on whether the front end and/or admin area are served over https
. Fixes #28427
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28895 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 13:24:55 +00:00
John Blackbourn
3c77cf1140
Introduce is_https_url()
for testing whether the scheme for a given URL is https
. See #28487 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28894 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 11:31:25 +00:00
John Blackbourn
3426416dac
Normalise the schemes used in get_home_path()
so it returns the correct path for sites using SSL in the admin area but not the front end. Fixes #25767 . Props GregLone for the initial patch.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28893 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 10:28:52 +00:00
John Blackbourn
075be3e54b
Introduce a filter to control the minimum characters required for an AJAX term search. Fixes #13580 . Props iamfriendly, brianlayman
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28892 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 10:04:05 +00:00
Drew Jaynes (DrewAPicture)
416f6d01b2
General phpDoc fixes in wp-includes/plugin.php.
...
See #28516 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28891 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 09:18:41 +00:00
Sergey Biryukov
08969ece9e
Show a "No themes found" message if the search for an installed theme doesn't produce any results.
...
props gauravmittal1995 for initial patch.
fixes #28587 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28890 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 09:15:08 +00:00
Sergey Biryukov
665e2c3ce0
List the expected @param type first.
...
see #28516 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28889 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 08:46:33 +00:00
Sergey Biryukov
fd6ece2e93
More tweaks to @param docs in wp-includes/plugin.php.
...
see #28516 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28888 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-29 08:41:38 +00:00
Drew Jaynes (DrewAPicture)
6e7e9f07ab
First-run documention of WP_Query
argument defaults.
...
Props siobhan for some language tweaks. Props DrewAPicture.
See #25367 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28887 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 23:02:05 +00:00
Scott Taylor
faedd0d5fe
Update @param
docs in plugin.php
...
Props dkotter.
Fixes #28516 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28886 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 04:49:39 +00:00
Scott Taylor
2d56abdd2e
Add new action 'delete_user_form' in wp-admin/users.php
and wp-admin/network/users.php
.
...
Props SergeyBiryukov, usermrpapa.
Fixes #27230 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28885 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 04:42:24 +00:00
Scott Taylor
79b2bb391c
After [28883], remove_filter()
should set $GLOBALS['wp_filter'][ $tag ]
to array()
when empty.
...
Props wonderboymusic, sphoid.
Fixes #28142 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28884 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 04:37:47 +00:00
Scott Taylor
d88a14ee67
remove_all_filters()
should set to array()
, not call unset()
.
...
Props nacin, c3mdigital.
Fixes #19306 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28883 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 04:26:49 +00:00
Scott Taylor
56e66c79b4
wp_extract_urls()
should not match dates.
...
Updates unit tests.
Props hinnerk, sergej.mueller.
Fixes #28222 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28882 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 04:15:30 +00:00
Scott Taylor
dca6040b0b
In multisite, on the updated_option
action, if the option name is one of: 'blogname', 'siteurl', 'post_count' - refresh the blog details cache for the current blog id.
...
Adds unit test.
Props kovshenin.
Fixes #26410 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28881 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 04:06:12 +00:00
Scott Taylor
54d4f34ad2
If the get_the_excerpt()
is called out of bounds of a global $post
, return ''.
...
Fixes #22413 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28880 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 04:00:27 +00:00
Scott Taylor
c2b7f8022c
Add ->get_quality()
method to WP_Image_Editor
class.
...
Adds unit tests.
Props markoheijnen.
Fixes #28154 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28879 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 03:49:55 +00:00
Sergey Biryukov
34ed4c44f5
Fix typo in a comment.
...
props JustinSainton.
see #20496 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28878 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 03:29:10 +00:00
Scott Taylor
7debe46f3e
Fix the spacing between the wp-pointer arrow and bubble in LTR and RTL.
...
Fixes #28062 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28877 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 02:25:40 +00:00
Helen Hou-Sandi
9becde117d
Make the posts list table mode a sticky user setting. props garyc40, azaozz, ericmann. fixes #16774 , #20335 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28876 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 02:16:59 +00:00
Scott Taylor
cf67d53408
Remove obsolete wp_cache_delete('get_pages', 'posts')
from clean_post_cache()
.
...
Fixes #27459 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28875 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 02:15:45 +00:00
Scott Taylor
e8f2862421
Perform a canonical redirect for posts that are published but are visited at a ?p=123&preview=true
URL.
...
Props amit, joostdevalk.
Fixes #20496 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28874 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 02:12:19 +00:00
Scott Taylor
373842cdb6
Exclude jshint:plugins
from both grunt precommit
and grunt travis:js
.
...
Props netweb.
Fixes #28464 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28873 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 02:08:05 +00:00
Scott Taylor
572e27c682
Remove remaining Heartbeat API experimental notices
...
Props DH-Shredder.
Fixes #28626 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28872 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-28 02:05:54 +00:00
Scott Taylor
2371f75688
In deprecated media iframe code, attachment_fields_to_save
filter should not be called twice after initial image upload in post.
...
Props SergeyBiryukov.
Fixes #20720 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28871 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-27 21:31:28 +00:00
Scott Taylor
119add95d9
Remove title attributes in wp_authenticate_username_password()
.
...
Props joedolson.
Fixes #26547 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28870 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-27 20:04:52 +00:00
Helen Hou-Sandi
c27492cf26
Don't switch contextual help tabs when tabbing around. props neil_pie. see #28209 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28869 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-27 19:09:17 +00:00
Sergey Biryukov
d2d985ffeb
Avoid duplication of callbacks in theme browser sidebar each time the Next or Previous button is clicked.
...
This makes the collapse/expand button work as expected.
fixes #28581 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28868 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-27 16:05:07 +00:00
Sergey Biryukov
0ff197f471
Correct filter documentation in wp_nav_menu().
...
props dlh.
fixes #28657 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28867 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-27 03:36:05 +00:00
Andrew Ozz
9dfcd4030c
TinyMCE: force 'font-weight: bold` for <strong> and <b> inside the editor or Chrome and Safari may replace them with spans on pasting. Fixes #28656 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28866 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-27 02:59:13 +00:00
Sergey Biryukov
b864d0955e
Avoid a PHP notice and warning on language selection screen.
...
props meekyhwang.
fixes #28648 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28865 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-27 00:24:36 +00:00
Sergey Biryukov
f68d096c31
Make sure the first number in LIMIT clause in WP_Query::get_posts() is always an integer.
...
fixes #23383 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28864 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-27 00:03:05 +00:00
Scott Taylor
ce8a35edd1
Make sure the audio player's time tooltip is visible in the media modal for Audio Details.
...
Fixes #28453 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28863 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-26 20:28:12 +00:00
Dominik Schilling (ocean90)
2e22fc3778
Revert property change in [28861].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@28862 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-26 20:20:24 +00:00
Dominik Schilling (ocean90)
7edd9edde4
Customizer: Introduce a "panel" API to organize multiple sections into a one section.
...
Create a panel via `$GLOBALS['wp_customize']->add_panel( $panel_id, $args )` and use `$panel_id` for the `panel` argument in `$GLOBALS['wp_customize']->add_section( $section_id, $args )`. That's it.
As an example all widget area sections are now summarized into one panel. Feedback appreciated.
props celloexpressions.
see #27406 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28861 602fd350-edb4-49c9-b593-d223f7449a82
2014-06-26 20:16:21 +00:00