Dominik Schilling
51854c53b4
Improve alignment of labels and inputs in Quick Edit.
...
props mattheu, valendesigns.
fixes #31408 .
Built from https://develop.svn.wordpress.org/trunk@31890
git-svn-id: http://core.svn.wordpress.org/trunk@31869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 22:25:26 +00:00
Dominik Schilling
5ef13b688e
Comments List: Don't let "Quick Edit" break on smaller screens.
...
Other class-wp-*-list-table.php files already contain a non-breaking space for the Quick Edit row action.
props kraftbj.
fixes #31482 .
Built from https://develop.svn.wordpress.org/trunk@31889
git-svn-id: http://core.svn.wordpress.org/trunk@31868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 22:15:27 +00:00
Andrew Ozz
1b2d93fbca
TinyMCE: make sure the editor is not completely empty before checking if the user clicked above or below a wpView.
...
Fixes #31765 .
Built from https://develop.svn.wordpress.org/trunk@31888
git-svn-id: http://core.svn.wordpress.org/trunk@31867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 18:55:29 +00:00
Dominik Schilling
4fbba16960
Avoid a PHP notice in wp_enqueue_script()
if $handle is an array.
...
Calling `wp_enqueue_script()` with an array as the first argument is a "hidden feature" and should be avoided. Use dependencies instead.
props sorich87 for initial patch.
fixes #31636 .
see #14488 .
Built from https://develop.svn.wordpress.org/trunk@31887
git-svn-id: http://core.svn.wordpress.org/trunk@31866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 17:55:27 +00:00
Dominik Schilling
29907e5f8b
Text Widget: Use !empty()
for checking if the filter setting is set.
...
props westonruter.
fixes #31690 .
Built from https://develop.svn.wordpress.org/trunk@31886
git-svn-id: http://core.svn.wordpress.org/trunk@31865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 17:34:28 +00:00
Dominik Schilling
7925e4c912
Customizer: Avoid SecurityError
s when the Customizer is embedded in an origin other than wp-admin.
...
props mattwiebe.
fixes #31687 .
Built from https://develop.svn.wordpress.org/trunk@31885
git-svn-id: http://core.svn.wordpress.org/trunk@31864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 17:26:26 +00:00
Drew Jaynes
1ad0eaf416
Clean up DocBlock information and syntax for get_filesystem_method()
.
...
Props ericlewis, HarishChaudhari, valendesigns.
Fixes #31267 .
Built from https://develop.svn.wordpress.org/trunk@31884
git-svn-id: http://core.svn.wordpress.org/trunk@31863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 16:32:28 +00:00
Drew Jaynes
bfdc2f3ac6
Ensure the $wp_hasher
global has an entry in the check_password_reset_key()
DocBlock.
...
Props lamosty.
Fixes #31756 .
Built from https://develop.svn.wordpress.org/trunk@31883
git-svn-id: http://core.svn.wordpress.org/trunk@31862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 16:24:27 +00:00
Dion Hulse
7b5ae90225
When altering the admin URL to reflect the canonical location, keep the existing hash (if present) in the URL.
...
Fixes #31758 . See #23367
Built from https://develop.svn.wordpress.org/trunk@31882
git-svn-id: http://core.svn.wordpress.org/trunk@31861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 04:32:26 +00:00
Gary Pendergast
1c6b1b3414
Emoji: Add a comment to print_emoji_detection_script()
explaining how the include
statement works as part of the grunt build
process.
...
See #31701 .
Built from https://develop.svn.wordpress.org/trunk@31881
git-svn-id: http://core.svn.wordpress.org/trunk@31860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 04:09:26 +00:00
Andrew Ozz
f5e6f92174
Do not output empty name and id HTML attributes in get_submit_button().
...
Props afercia. Fixes #31749 .
Built from https://develop.svn.wordpress.org/trunk@31880
git-svn-id: http://core.svn.wordpress.org/trunk@31859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 03:23:27 +00:00
Gary Pendergast
2c45fd7ed7
Emoji: Revert [31877], and print the emoji shim and styles during admin_print_scripts
and admin_print_styles
, instead. This is a few milliseconds slower, but easier to reuse in Press This, and any other code that uses admin scripts and styles, without using admin-header.php
.
...
See #31701 .
Built from https://develop.svn.wordpress.org/trunk@31879
git-svn-id: http://core.svn.wordpress.org/trunk@31858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 01:43:28 +00:00
Andrew Ozz
990f1b43a8
TinyMCE: pad empty paragraphs with <br>
in Chrome to stop it from inserting non-breaking spaces in them.
...
Props iseulde. Fixes #31255 .
Built from https://develop.svn.wordpress.org/trunk@31878
git-svn-id: http://core.svn.wordpress.org/trunk@31857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 01:18:26 +00:00
Gary Pendergast
4b3e47a843
Emoji: Print the emoji support shim in wp-admin, too.
...
See #31701 .
Built from https://develop.svn.wordpress.org/trunk@31877
git-svn-id: http://core.svn.wordpress.org/trunk@31856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 01:14:27 +00:00
Andrew Ozz
caee824217
Set EOL style for wp-emoji-loader.js. See #31701 .
...
Built from https://develop.svn.wordpress.org/trunk@31876
git-svn-id: http://core.svn.wordpress.org/trunk@31855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 00:17:28 +00:00
Gary Pendergast
b53b12ff8c
Emoji: Instead of loading the emoji JS files automatically, we now include a small JS shim in the header, to test if the user's browser needs Twemoji. It then loads the emoji JS files only if they're needed.
...
Props pento, azaozz.
Fixes #31701 .
Built from https://develop.svn.wordpress.org/trunk@31875
git-svn-id: http://core.svn.wordpress.org/trunk@31854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-24 23:33:32 +00:00
Andrew Ozz
64f1a8a992
TinyMCE: fix error and PHP warning when adding more than one instance in RTL mode.
...
Part props maimairel. Fixes #31578 .
Built from https://develop.svn.wordpress.org/trunk@31874
git-svn-id: http://core.svn.wordpress.org/trunk@31853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-24 20:33:27 +00:00
Sergey Biryukov
ce6c00f140
Fix a typo in [31872].
...
see #31738 .
Built from https://develop.svn.wordpress.org/trunk@31873
git-svn-id: http://core.svn.wordpress.org/trunk@31852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-24 17:33:27 +00:00
Aaron Jorbin
9c409e31f2
Fill $plugins['upgrade']
with extra info for use in list table
...
Shiny updates depends upon information from the update_plugins site transient in order to set data- attributes which are used by JavaScript. Since /wp-admin/plugins.php?plugin_status=upgrade uses `$plugin['upgrade']` rather than `$plugins['all']`, we need to fill that information in both places.
Fixes #31738 .
Built from https://develop.svn.wordpress.org/trunk@31872
git-svn-id: http://core.svn.wordpress.org/trunk@31851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-24 17:30:26 +00:00
John Blackbourn
7c5fc2debb
Implement an aria-describedby
attribute for login screen errors, and improve the "Forgot password?" anchor text.
...
Props aferica, rianrietveld
Fixes #31143
Built from https://develop.svn.wordpress.org/trunk@31871
git-svn-id: http://core.svn.wordpress.org/trunk@31850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-24 16:29:26 +00:00
Sergey Biryukov
46b5808530
Remove obsolete $wpdb
reference from get_comments()
docs.
...
props lamosty.
fixes #31748 .
Built from https://develop.svn.wordpress.org/trunk@31870
git-svn-id: http://core.svn.wordpress.org/trunk@31849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-24 15:43:30 +00:00
Gary Pendergast
01fd948b90
Emoji: The regex for checking if the current glyph is a flag was checking the incorrect byte range, which was causing the South Korean flag to not be replaced in Firefox.
...
Built from https://develop.svn.wordpress.org/trunk@31869
git-svn-id: http://core.svn.wordpress.org/trunk@31848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-24 09:58:28 +00:00
Andrew Ozz
0329852941
Press This:
...
- Fix the links on inserted images to point to the source site.
- Fix inserting of images above the blockquote when the editor has not been focused.
Fixes #31745 .
Built from https://develop.svn.wordpress.org/trunk@31868
git-svn-id: http://core.svn.wordpress.org/trunk@31847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-24 01:33:29 +00:00
Andrew Ozz
d94050aafa
Introduce attachment_url_to_postid
filter to let plugins manage the uploads location better.
...
Props mattwiebe. Fixes #31717 .
Built from https://develop.svn.wordpress.org/trunk@31867
git-svn-id: http://core.svn.wordpress.org/trunk@31846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-23 17:24:30 +00:00
Drew Jaynes
d4d3892abb
4.2-beta2-31866
...
Built from https://develop.svn.wordpress.org/trunk@31866
git-svn-id: http://core.svn.wordpress.org/trunk@31845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-23 12:28:27 +00:00
Gary Pendergast
3b863ae173
Emoji: Gmail doesn't obey an <img>
's inline CSS height
rule, transforming it to min-height
. To avoid giant smiley faces everywhere, we're changing the height
rule to max-height
, which Gmail plays nicer with.
...
Props janhenckens.
Fixes #31719 .
Built from https://develop.svn.wordpress.org/trunk@31864
git-svn-id: http://core.svn.wordpress.org/trunk@31843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-23 12:08:26 +00:00
Dion Hulse
cc903c3422
Remove ambiguity in the time display format in core, switches to using 24hr notation where am/pm isn't specified.
...
* `H:i - 09:54`
* `g:i a - 9:54 am`
* `F j, Y - January 3, 2015`
These shouldn't be used without a/A (am/AM)
* `h:i - 01:23`
* `G:i - 1:23`
Props iseulde. Fixes #31121
Built from https://develop.svn.wordpress.org/trunk@31862
git-svn-id: http://core.svn.wordpress.org/trunk@31841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-23 02:14:27 +00:00
Gary Pendergast
69de85fd48
Emoji: Set the emoji image protocol with set_url_scheme()
, instead of defaulting to HTTPS.
...
Props extendwings.
Fixes #31735 .
Built from https://develop.svn.wordpress.org/trunk@31861
git-svn-id: http://core.svn.wordpress.org/trunk@31840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-23 02:11:28 +00:00
Gary Pendergast
73b92df912
Emoji: When we're replacing emoji with <img>
s in email, we can only do that if the Content-Type is text/html - otherwise, they'll show up in the email as the HTML string.
...
Fixes #31720
Built from https://develop.svn.wordpress.org/trunk@31860
git-svn-id: http://core.svn.wordpress.org/trunk@31839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-22 23:16:28 +00:00
Drew Jaynes
31d731cfe4
Fix a typo in the description for the _wp_filter_build_unique_id()
DocBlock.
...
Props lamosty.
Fixes #31732 .
Built from https://develop.svn.wordpress.org/trunk@31859
git-svn-id: http://core.svn.wordpress.org/trunk@31838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-22 22:56:27 +00:00
Andrew Ozz
11b4b36de0
TinyMCE: fix the icon for the wp_code
button. Fixes #31733 .
...
Built from https://develop.svn.wordpress.org/trunk@31858
git-svn-id: http://core.svn.wordpress.org/trunk@31837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-22 22:54:28 +00:00
Andrew Ozz
4bb5d76abc
TinyMCE: when pasting an URL, check if the node it is pasted at is empty and remove any empty inline child elements.
...
Fixes #31158 .
Built from https://develop.svn.wordpress.org/trunk@31856
git-svn-id: http://core.svn.wordpress.org/trunk@31835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 20:34:28 +00:00
Drew Jaynes
cedee3dd1c
Supplement hook documentation for the get_terms_fields
filter to more clearly explain the expected consequences of using it to modify the fields to select in a terms query.
...
Props boonebgorges.
Fixes #31174 .
Built from https://develop.svn.wordpress.org/trunk@31855
git-svn-id: http://core.svn.wordpress.org/trunk@31834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 20:11:26 +00:00
Drew Jaynes
88c109e919
Document default arguments for paginate_links()
as a hash notation.
...
Props atimmer.
Fixes #31433 .
Built from https://develop.svn.wordpress.org/trunk@31854
git-svn-id: http://core.svn.wordpress.org/trunk@31833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 20:04:27 +00:00
Drew Jaynes
2e1ebd7b97
Adjust DocBlocks for get_|the_post_thumbnail()
to clarify the difference between the 'thumbnail' and 'post-thumbnail' image sizes.
...
Also fleshes out parameter documentation for the two functions.
Props magicroundabout for the initial patch.
Fixes #31351 .
Built from https://develop.svn.wordpress.org/trunk@31853
git-svn-id: http://core.svn.wordpress.org/trunk@31832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 19:57:26 +00:00
Drew Jaynes
bb3ca077ce
Add more verbose inline documentation inside of wpautop()
to more clearly explain what's going on.
...
Props ericlewis, johneckman, azaozz.
Fixes #31041 .
Built from https://develop.svn.wordpress.org/trunk@31852
git-svn-id: http://core.svn.wordpress.org/trunk@31831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 19:47:27 +00:00
Drew Jaynes
9c1283b28f
Add hook documentation for the get_media_embedded_in_content_allowed
filter, introduced in [31574].
...
Props valendesigns.
Fixes #26675 .
Built from https://develop.svn.wordpress.org/trunk@31851
git-svn-id: http://core.svn.wordpress.org/trunk@31830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 19:29:27 +00:00
Mark Jaquith
e2c7f8d96e
Trigger _doing_it_wrong()
if register_sidebar()
is not passed an id
...
* If you don't pass an `id`, WP sets an auto-increment one for you.
* But this depends on order of sidebar definition.
* Change the order or remove a sidebar? They jumble.
fixes #31675
props tschutter, valendesigns
Built from https://develop.svn.wordpress.org/trunk@31850
git-svn-id: http://core.svn.wordpress.org/trunk@31829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 18:30:27 +00:00
Gary Pendergast
fd2e5d66e7
When converting emoji in email to static images, check that the message is defined, otherwise we could cause PHP warnings.
...
Props nerrad.
Fixes #31708 .
Built from https://develop.svn.wordpress.org/trunk@31847
git-svn-id: http://core.svn.wordpress.org/trunk@31827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 12:32:26 +00:00
Gary Pendergast
f6120877df
If the URL being visited has non-breaking spaces at the end of it, they were probably inserted by an errant URL copy/paste. Instead of showing a 404 for no obvious reason, let's just trim them.
...
Fixes #31499
Built from https://develop.svn.wordpress.org/trunk@31838
git-svn-id: http://core.svn.wordpress.org/trunk@31820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-20 01:02:28 +00:00
Drew Jaynes
42d7a802db
WordPress 4.2-beta2
...
Built from https://develop.svn.wordpress.org/trunk@31835
git-svn-id: http://core.svn.wordpress.org/trunk@31817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-19 19:19:27 +00:00
Aaron Jorbin
22476bf617
Fix notice that exists for plugins with no slug
...
Not all plugins have a slug, especially plugins not from the WordPress.org repository.
Props imath for initial patch.
Fixes #31694
Built from https://develop.svn.wordpress.org/trunk@31834
git-svn-id: http://core.svn.wordpress.org/trunk@31816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-19 17:48:29 +00:00
Jeremy Felt
a18118ed7c
Make dates in multisite site and user list tables translatable.
...
Props pavelevap.
Fixes #22302 .
Built from https://develop.svn.wordpress.org/trunk@31833
git-svn-id: http://core.svn.wordpress.org/trunk@31815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-19 16:22:28 +00:00
Andrew Ozz
78f0ca13c5
TinyMCE: revert stripping of tags from pasted URLs on beforeSetContent
[31817] and [31819]. Clean up URLs on pastePreProcess
.
...
See #31158 .
Built from https://develop.svn.wordpress.org/trunk@31832
git-svn-id: http://core.svn.wordpress.org/trunk@31814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-19 07:08:26 +00:00
Aaron Jorbin
a836a32fb4
Ensure that we target the correct plugin row for update updates
...
The DOM traversal of the plugins list table was less than ideal. By switching to data attributes, we can better target the DOM elements we want to update.
Props ericlewis
Fixes #31621
Built from https://develop.svn.wordpress.org/trunk@31831
git-svn-id: http://core.svn.wordpress.org/trunk@31813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-19 05:26:28 +00:00
Scott Taylor
55fd3fa791
In the "Send Trackbacks" meta box, the description of how pingbacks work was missing a comma after the introductory clause.
...
Props cfinke.
Fixes #31668 .
Built from https://develop.svn.wordpress.org/trunk@31830
git-svn-id: http://core.svn.wordpress.org/trunk@31812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-19 04:06:27 +00:00
Scott Taylor
bce851dcf2
Replace array_shift()
with reset()
where appropriate for performance.
...
Props SergeyBiryukov.
Fixes #31259 .
Built from https://develop.svn.wordpress.org/trunk@31829
git-svn-id: http://core.svn.wordpress.org/trunk@31811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-19 03:56:27 +00:00
Scott Taylor
55ae3f9ea0
Add WP_Posts_List_Table::is_base_request()
to determine if the current "view" is the "All" (default) view.
...
Fixes #24869 .
Built from https://develop.svn.wordpress.org/trunk@31828
git-svn-id: http://core.svn.wordpress.org/trunk@31810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-19 02:26:26 +00:00
Andrew Ozz
40ebc2784f
Press This: check if the URL is to embeddable content on a site that supports oEmbed. Then insert only the URL in the editor. It will trigger a wpView with the embedded content.
...
Fixes #31637 .
Built from https://develop.svn.wordpress.org/trunk@31827
git-svn-id: http://core.svn.wordpress.org/trunk@31809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-19 00:52:26 +00:00
Dominik Schilling
883b587f1d
Revert [31729] since <aside>
seems not to be the appropriate HTML5 tag.
...
see #30556 .
Built from https://develop.svn.wordpress.org/trunk@31826
git-svn-id: http://core.svn.wordpress.org/trunk@31808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 22:26:26 +00:00
Dominik Schilling
ed26d94667
Don't try to call wp_clean_plugins_cache();
twice in wp_clean_update_cache()
.
...
props TobiasBg.
fixes #31503 .
Built from https://develop.svn.wordpress.org/trunk@31825
git-svn-id: http://core.svn.wordpress.org/trunk@31807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 22:07:28 +00:00
Helen Hou-Sandí
0d870b2d4e
Toolbar: Protect against Firefox font rendering interference by themes.
...
props cbaldelomar.
fixes #30021 .
Built from https://develop.svn.wordpress.org/trunk@31824
git-svn-id: http://core.svn.wordpress.org/trunk@31806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 22:04:27 +00:00
Dominik Schilling
11a205d489
Edit Terms: Show error messages actually as error messages.
...
props rahulbhangale, SergeyBiryukov.
fixes #31241 .
Built from https://develop.svn.wordpress.org/trunk@31823
git-svn-id: http://core.svn.wordpress.org/trunk@31805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 21:59:27 +00:00
Andrew Ozz
8d9fc7e51b
TinyMCE emoji: fix highlighting of selected replacement images in Chrome.
...
Props iseulde. Fixes #31628 .
Built from https://develop.svn.wordpress.org/trunk@31822
git-svn-id: http://core.svn.wordpress.org/trunk@31804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 21:54:26 +00:00
Dominik Schilling
7de1a2e143
Comments: Move HTML tags for screen reader text into translatable strings.
...
Placeholders aren't helpful and it's much easier to make a mistake if you're dealing with placeholders.
Introduced in [31388].
props pento.
fixes #26553 .
Built from https://develop.svn.wordpress.org/trunk@31821
git-svn-id: http://core.svn.wordpress.org/trunk@31803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 21:52:27 +00:00
Helen Hou-Sandí
591c4b7d3b
List tables: Go back to inserting quick edit rows after, as some plugins rely on that assumption. Results are the same.
...
fixes #26060 .
Built from https://develop.svn.wordpress.org/trunk@31820
git-svn-id: http://core.svn.wordpress.org/trunk@31802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 21:50:27 +00:00
Andrew Ozz
aa9e920e57
TinyMCE: small cleanup for stripping of tags from pasted URLs. See #31158 .
...
Built from https://develop.svn.wordpress.org/trunk@31819
git-svn-id: http://core.svn.wordpress.org/trunk@31801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 20:53:27 +00:00
Andrew Ozz
4303ea5379
Press This: prepend the site domain to root-relative URLs. Reject other relative URLs.
...
Part props stephdau, kraftbj. Fixes #31645 .
Built from https://develop.svn.wordpress.org/trunk@31818
git-svn-id: http://core.svn.wordpress.org/trunk@31800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 20:43:27 +00:00
Andrew Ozz
b30d15cd4a
TinyMCE: strip tags from pasted URLs before testing if they are embeddable.
...
Props siobhan, iseulde. Fixes #31158 .
Built from https://develop.svn.wordpress.org/trunk@31817
git-svn-id: http://core.svn.wordpress.org/trunk@31799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 20:26:26 +00:00
Dominik Schilling
c4a624aa22
Customizer: Remove a throw error
call which prevents further actions, like jqxhr.always()
.
...
props westonruter.
fixes #31501 .
Built from https://develop.svn.wordpress.org/trunk@31816
git-svn-id: http://core.svn.wordpress.org/trunk@31798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 19:29:27 +00:00
Dominik Schilling
9b79c36713
WP_Filesystem: Change WP_Filesystem_FTPext::exists()
and WP_Filesystem_ftpsockets::exists()
to return true for empty directories.
...
Both methods are using *nlist() which returns a list of files in a given directory or the file itself for a given file. If the result was an empty list we assumed that the file doesn't exists. This includes also cases where $file is actually an empty directory. To prevent this we now check if $file is a directory before returning the result of an empty list.
Other filesystem methods are using `file_exists()` which already checks whether a file or directory exists.
fixes #30815 .
Built from https://develop.svn.wordpress.org/trunk@31815
git-svn-id: http://core.svn.wordpress.org/trunk@31797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 19:22:27 +00:00
Lance Willett
80faa524fe
Bundled themes: add documentation for new onResizeARIA
function.
...
See #31527 . Props davidakennedy, lancewillett.
Built from https://develop.svn.wordpress.org/trunk@31814
git-svn-id: http://core.svn.wordpress.org/trunk@31796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 18:31:26 +00:00
Boone Gorges
0b85f2f7b4
Ensure that the $exclusions
parameter of 'list_terms_exclusions' filter is always a string.
...
Props fhwebcs.
Fixes #31681 .
Built from https://develop.svn.wordpress.org/trunk@31813
git-svn-id: http://core.svn.wordpress.org/trunk@31795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 18:23:26 +00:00
Boone Gorges
e10041cd01
Move and tests to their own files.
...
Built from https://develop.svn.wordpress.org/trunk@31812
git-svn-id: http://core.svn.wordpress.org/trunk@31794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 13:28:28 +00:00
Aaron Jorbin
2d64637ff8
Request FTP and SSH credentials when needed during shiny updates
...
This is a restoration of [31749] which was reverted in [31755].
It includes a number of enhancements from the original version. Namely:
* Not doing a credential check in src/wp-includes/script-loader.php
* Add new function `wp_print_request_filesystem_credentials_modal`
* update the version number in the list table when a plugin is updated
UI still needs further work, but this basic version should enable more testing
Props ericlewis, jorbin
See #31528
Built from https://develop.svn.wordpress.org/trunk@31811
git-svn-id: http://core.svn.wordpress.org/trunk@31793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 03:18:27 +00:00
Andrew Ozz
f26a2e8113
Press This: ignore site descriptions that end with an ellipsis. These are most likely auto-generated.
...
Props kraftbj. Fixes #31639 .
Built from https://develop.svn.wordpress.org/trunk@31810
git-svn-id: http://core.svn.wordpress.org/trunk@31792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 02:51:27 +00:00
Andrew Ozz
d63cd35bde
Press This: fix editor buttons visibility on mobile.
...
Props Michael Arestad. Fixes #31622 .
Built from https://develop.svn.wordpress.org/trunk@31809
git-svn-id: http://core.svn.wordpress.org/trunk@31791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 02:25:29 +00:00
Andrew Ozz
b00ae388c6
Press This: add aria-describedby
to the new tag field.
...
Props afercia. Fixes #31546 .
Built from https://develop.svn.wordpress.org/trunk@31808
git-svn-id: http://core.svn.wordpress.org/trunk@31790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 02:18:27 +00:00
Andrew Ozz
441e1e6ab9
Press This: fix the header styling and add a logo.
...
Props Michael-Arestad. Fixes #31472 .
Built from https://develop.svn.wordpress.org/trunk@31807
git-svn-id: http://core.svn.wordpress.org/trunk@31789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 02:09:27 +00:00
Andrew Ozz
7d9eee8920
Press This: fix styling on the Tools screen.
...
Props Michael-Arestad, see #31462 .
Built from https://develop.svn.wordpress.org/trunk@31806
git-svn-id: http://core.svn.wordpress.org/trunk@31788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 01:58:27 +00:00
Andrew Ozz
acbce27aa9
Press This: fix styling of the "Scan" button. Fixes #31444 .
...
Built from https://develop.svn.wordpress.org/trunk@31805
git-svn-id: http://core.svn.wordpress.org/trunk@31787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 01:40:27 +00:00
Drew Jaynes
d4e9197764
Add a missing DocBlock for the core utility function _get_cron_lock()
.
...
Props mordauk, valendesigns.
Fixes #31646 .
Built from https://develop.svn.wordpress.org/trunk@31804
git-svn-id: http://core.svn.wordpress.org/trunk@31786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-17 23:38:27 +00:00
Drew Jaynes
110d60c6cf
Add a changelog entry to the DocBlock for comment_form()
for the class_submit
argument added in 4.1.
...
See [29809]. See #20446 .
Built from https://develop.svn.wordpress.org/trunk@31803
git-svn-id: http://core.svn.wordpress.org/trunk@31785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-17 18:38:29 +00:00
Dominik Schilling
9a73d487ee
Update grunt-rtlcss
to 1.6.0.
...
Changes:
* https://github.com/MohammadYounes/grunt-rtlcss/compare/1.5.1...1.6.0
* https://github.com/MohammadYounes/rtlcss/compare/1.5.1...1.6.1
see #31332 .
Built from https://develop.svn.wordpress.org/trunk@31802
git-svn-id: http://core.svn.wordpress.org/trunk@31784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-17 12:18:33 +00:00
Dominik Schilling
51548f5e9d
Set svn:eol-style to native for press-this-editor.css
.
...
Built from https://develop.svn.wordpress.org/trunk@31801
git-svn-id: http://core.svn.wordpress.org/trunk@31783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-17 12:06:27 +00:00
Andrew Ozz
c04a1affd1
Press This: bump bookmarklet's version. See #31657 .
...
Built from https://develop.svn.wordpress.org/trunk@31800
git-svn-id: http://core.svn.wordpress.org/trunk@31782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-17 01:19:27 +00:00
Andrew Ozz
9e1d17ad36
Press This:
...
- Strip slashes while running side_load_images(), add slashes after.
- Simplify and clean up side_load_images().
- Add another arg to media_sideload_image() to return the uploaded image src only, and fix it to always return WP_Error on errors.
Fixes #31660 .
Built from https://develop.svn.wordpress.org/trunk@31799
git-svn-id: http://core.svn.wordpress.org/trunk@31781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-17 00:47:28 +00:00
Andrew Ozz
bf34e504dc
Press This: change the Publish button text to Submit for Review for contributors (like on the Edit Post screen).
...
Props stephdau, DrewAPicture. Fixes #31658 .
Built from https://develop.svn.wordpress.org/trunk@31798
git-svn-id: http://core.svn.wordpress.org/trunk@31780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 21:07:27 +00:00
Andrew Ozz
c1c29782c9
Press This:
...
- Test image sizes from JS after Press This loads, before adding them to "Suggested media".
- Clean up and simplify the HTML and JS a bit.
Fixes #31561 .
Built from https://develop.svn.wordpress.org/trunk@31797
git-svn-id: http://core.svn.wordpress.org/trunk@31779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 20:51:26 +00:00
Andrew Ozz
48ce41f15a
Press This: exclude both bookmarklet.js and bookmarklet.min.js from the main uglify task. Props stephdau. Fixes #31657 .
...
Built from https://develop.svn.wordpress.org/trunk@31796
git-svn-id: http://core.svn.wordpress.org/trunk@31778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 20:37:28 +00:00
Drew Jaynes
04bfec64e4
Move the default arguments hash notation for WP_Comment_Query
to the new constructor, where the argument definitions were moved in [31793].
...
Core style dictates that the default arguments should be documented in the same function or method where they are defined.
See [31793].
Fixes #24826 .
Built from https://develop.svn.wordpress.org/trunk@31795
git-svn-id: http://core.svn.wordpress.org/trunk@31777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 20:18:28 +00:00
Lance Willett
913c4cd69c
Twenty Fourteen: add ARIA attributes to search toggle. See #31527 .
...
Built from https://develop.svn.wordpress.org/trunk@31794
git-svn-id: http://core.svn.wordpress.org/trunk@31776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 18:51:29 +00:00
Boone Gorges
0876c26025
Improve method consistency in WP_Comment_Query
.
...
* Introduce a `__construct()` method, which can accept an array of query vars.
* Move query logic out of `query()` method and into a new `get_comments()` method.
* Ensure that `$this->comments` is set whenever `get_comments()` returns a value.
* Introduce a `parse_query()` method, where query vars are parsed with default values and the 'parse_comment_query' action is fired.
These changes bring `WP_Comment_Query` syntax closer to that of `WP_Query`.
Props westonruter, morganestes, boonebgorges.
Fixes #24826 .
Built from https://develop.svn.wordpress.org/trunk@31793
git-svn-id: http://core.svn.wordpress.org/trunk@31775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 14:24:32 +00:00
Boone Gorges
650ca95b95
In wp_insert_term()
, allow a term with an existing name if a unique $slug
has been provided.
...
`wp_insert_term()` protects against the creation of terms with duplicate names
at the same level of a taxonomy hierarchy. However, it's historically been
possible to override this protection by explicitly providing a value of `$slug`
that is unique at the hierarchy tier. This ability was broken in [31734], and
the current changeset restores the original behavior.
A number of unit tests are added and refactored in support of these changes.
See #17689 for discussion of a fix that was superceded by [31734]. This commit
retains the fix for the underlying bug described in that ticket.
See #31328 .
Built from https://develop.svn.wordpress.org/trunk@31792
git-svn-id: http://core.svn.wordpress.org/trunk@31774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 11:16:28 +00:00
Gary Pendergast
a97462e755
Emoji: Rename the email and feed filter functions to be _
prefixed, and @ignore
-d in the PHPDocs.
...
See #31242
Built from https://develop.svn.wordpress.org/trunk@31791
git-svn-id: http://core.svn.wordpress.org/trunk@31773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 10:46:26 +00:00
Sergey Biryukov
756e445a53
Fix typo in a comment in [31752].
...
see #31242 .
Built from https://develop.svn.wordpress.org/trunk@31790
git-svn-id: http://core.svn.wordpress.org/trunk@31770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 01:56:27 +00:00
Drew Jaynes
f50307c5d8
Clean up some inline documentation for emoji functionality, including a missing @since
for mail_emoji()
, and a changelog entry for wp_insert_post()
.
...
See #31242 .
Built from https://develop.svn.wordpress.org/trunk@31789
git-svn-id: http://core.svn.wordpress.org/trunk@31769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 01:43:28 +00:00
Gary Pendergast
faac51cad0
Emoji: Move a comment to match the restructure in [31779], and add an extra comment explaining how emoji rendering support is detected.
...
See #31242
Built from https://develop.svn.wordpress.org/trunk@31788
git-svn-id: http://core.svn.wordpress.org/trunk@31768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 00:06:28 +00:00
Andrew Ozz
c18ef513a0
Emoji: fix few typos. See #31242 .
...
Built from https://develop.svn.wordpress.org/trunk@31787
git-svn-id: http://core.svn.wordpress.org/trunk@31767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-15 23:29:26 +00:00
Andrew Ozz
a7fd4a3774
Emoji:
...
- Add the styling for the replacement images to the admin CSS.
- Revert to using `.emoji` as replacement image class.
- When pasting in the editor, convert emoji images to our format so we can replace them with chars on saving.
- Some more clean up of both the plugin and wp-emoji.js.
See #31242 .
Built from https://develop.svn.wordpress.org/trunk@31786
git-svn-id: http://core.svn.wordpress.org/trunk@31766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-15 23:16:29 +00:00
Lance Willett
c0c8c61d26
Twenty Thirteen: add ARIA attributes to menu toggle. See #31527 .
...
Built from https://develop.svn.wordpress.org/trunk@31785
git-svn-id: http://core.svn.wordpress.org/trunk@31765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-15 20:01:26 +00:00
Lance Willett
f81f253434
Twenty Fourteen: add ARIA attributes to menu toggle. See #31527 .
...
Built from https://develop.svn.wordpress.org/trunk@31784
git-svn-id: http://core.svn.wordpress.org/trunk@31764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-15 20:00:27 +00:00
Gary Pendergast
8c7ffba3b2
WPDB: HHVM doesn't support passing a DB link to mysqli_get_client_version()
. While we usually pass a DB link to every ext/mysql
and mysqli
function call, we don't really need to do that here, as there's no way for the client library to change mid page load.
...
Another fun fact is that `mysql_get_client_version()` doesn't exist, but `mysql_get_client_info()` (along with `mysqli_get_client_info()') do. So, we're switching to them, in order to add a pleasing symmetry to the client version check.
Fixes #31644
Built from https://develop.svn.wordpress.org/trunk@31783
git-svn-id: http://core.svn.wordpress.org/trunk@31763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-15 12:20:26 +00:00
Gary Pendergast
33c785e021
Tests: Since [31733], we now encode emoji in posts, instead of removing them (when they're being stored in versions of MySQL that don't support utf8mb4
).
...
Built from https://develop.svn.wordpress.org/trunk@31782
git-svn-id: http://core.svn.wordpress.org/trunk@31762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-15 11:51:26 +00:00
Gary Pendergast
ac61ac62cd
Smilies: The new smilies added in [31733] and [31745] are larger than the old smilies. While this is taken care of by the CSS on normal pages, it means they're disproportionally large when seen in RSS and email.
...
By adding a little bit of inline style to them, we get pleasingly sized smilies everywhere. :-)
See #31242
Built from https://develop.svn.wordpress.org/trunk@31781
git-svn-id: http://core.svn.wordpress.org/trunk@31761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-15 11:41:27 +00:00
Andrew Ozz
1fc8c98fd7
Emoji: always export the methods in wp-emoji.js, even when dependencies are missing and we cannot initialize.
...
See #31242 .
Built from https://develop.svn.wordpress.org/trunk@31780
git-svn-id: http://core.svn.wordpress.org/trunk@31760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-15 00:17:27 +00:00
Andrew Ozz
8a402aa701
Emoji:
...
- Move the TinyMCE plugin CSS to wp-content.css.
- Change the replacement images class to `wp-emoji` inside the editor.
- Clean up both the plugin and wp-emoji.js, abstract and restructure a bit.
See #31242 .
Built from https://develop.svn.wordpress.org/trunk@31779
git-svn-id: http://core.svn.wordpress.org/trunk@31759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-14 23:49:30 +00:00
Andrew Ozz
ed7f297579
PressThis: increase the number of meta tags we check in the bookmarklet to 200. Sometimes there are empty meta tag nodes (no attributes) in some browsers.
...
See #31373 .
Built from https://develop.svn.wordpress.org/trunk@31778
git-svn-id: http://core.svn.wordpress.org/trunk@31758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-14 20:12:34 +00:00
Sergey Biryukov
2c98f83b70
Remove duplicate label on Add New User screen.
...
props abhishekfdd.
fixes #31131 .
Built from https://develop.svn.wordpress.org/trunk@31777
git-svn-id: http://core.svn.wordpress.org/trunk@31757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-14 01:04:27 +00:00
Sergey Biryukov
bc54c02021
Remove hidden user_id
input from Edit Comment screen.
...
Since [31172], it caused the comment's `user_id` field to be unexpectedly changed to the user who edits the comment.
fixes #30307 .
Built from https://develop.svn.wordpress.org/trunk@31776
git-svn-id: http://core.svn.wordpress.org/trunk@31756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-14 00:53:27 +00:00