Gary Pendergast
b3e3766233
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31864 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-23 12:07:47 +00:00
Dion Hulse
f0849242d3
Upgrader: When creating a temporary working directory, strip off .tmp
as well as .zip
incase we end up using that directory as the items main directory.
...
Fixes #30945
git-svn-id: https://develop.svn.wordpress.org/trunk@31863 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-23 04:39:56 +00:00
Dion Hulse
9eb9342a54
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
git-svn-id: https://develop.svn.wordpress.org/trunk@31862 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-23 02:13:50 +00:00
Gary Pendergast
4d8a13fe33
Emoji: Set the emoji image protocol with set_url_scheme()
, instead of defaulting to HTTPS.
...
Props extendwings.
Fixes #31735 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31861 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-23 02:10:35 +00:00
Gary Pendergast
48cb73bba1
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
git-svn-id: https://develop.svn.wordpress.org/trunk@31860 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-22 23:15:34 +00:00
Drew Jaynes
c1b0b8e97e
Fix a typo in the description for the _wp_filter_build_unique_id()
DocBlock.
...
Props lamosty.
Fixes #31732 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31859 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-22 22:55:21 +00:00
Andrew Ozz
f6aa243908
TinyMCE: fix the icon for the wp_code
button. Fixes #31733 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31858 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-22 22:53:32 +00:00
Helen Hou-Sandi
9822d05f72
Media: Show filename instead of extension in the list table.
...
This helps differentiate between files with the same or similar image or icon. Extension shows as a part of the filename, and so is not separately needed anymore.
fixes #30943 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31857 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-22 11:02:00 +00:00
Andrew Ozz
e0e4780c9d
TinyMCE: when pasting an URL, check if the node it is pasted at is empty and remove any empty inline child elements.
...
Fixes #31158 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31856 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 20:33:55 +00:00
Drew Jaynes
601aee103a
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31855 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 20:10:22 +00:00
Drew Jaynes
d66fffa31b
Document default arguments for paginate_links()
as a hash notation.
...
Props atimmer.
Fixes #31433 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31854 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 20:03:04 +00:00
Drew Jaynes
e450904e35
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31853 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 19:56:16 +00:00
Drew Jaynes
b939e06b06
Add more verbose inline documentation inside of wpautop()
to more clearly explain what's going on.
...
Props ericlewis, johneckman, azaozz.
Fixes #31041 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31852 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 19:46:41 +00:00
Drew Jaynes
34a7cdf926
Add hook documentation for the get_media_embedded_in_content_allowed
filter, introduced in [31574].
...
Props valendesigns.
Fixes #26675 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31851 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 19:28:30 +00:00
Mark Jaquith
490fb1bf52
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
git-svn-id: https://develop.svn.wordpress.org/trunk@31850 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 18:29:13 +00:00
Lance Willett
1e4238d6a8
Bundled themes: update editor styles to better display images and captions in small screens.
...
Props jacklenox, see #31250 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31849 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 16:34:15 +00:00
Boone Gorges
6d7c4f39f0
Use shared fixtures in RSS2 unit tests.
...
See #31705 , #30017 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31848 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 12:34:28 +00:00
Gary Pendergast
e3b2637699
When converting emoji in email to static images, check that the message is defined, otherwise we could cause PHP warnings.
...
Props nerrad.
Fixes #31708 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31847 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 12:31:30 +00:00
Boone Gorges
bb2ddebec9
Enforce non-pretty permalinks in RSS2 tests.
...
Previously, the tests were using '/feed/' in their `go_to()` statements, but
testing nodes for URLs like '?p='. This mismatch created unpredictable results
when the run in certain sequences with other groups of unit tests.
See #31705 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31846 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 12:25:27 +00:00
Boone Gorges
6de5ae56dd
Ensure that fixtures in RSS2 tests have an author.
...
This makes the 'dc:creator' assertions more meaningful.
Props ianmjones.
See #31705 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31845 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 12:25:18 +00:00
Sergey Biryukov
630aac94a3
Remove leading newlines from two translatable strings.
...
fixes #29480 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31844 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 02:41:33 +00:00
Sergey Biryukov
5a080ea40f
Use bold Arial for RTL headings.
...
props valendesigns.
fixes #30807 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31843 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 02:19:02 +00:00
Sergey Biryukov
eed94919b0
Bundled themes: After [31453], replace current()
with reset()
, which is guaranteed to be the first item.
...
see #31259 , #31260 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31842 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 02:03:45 +00:00
Sergey Biryukov
850e6b2278
After [31730], replace one more instance of array_shift()
with reset()
for better performance.
...
see #31259 , #15459 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31841 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 01:56:10 +00:00
Sergey Biryukov
56029d4452
Bundled themes: Add trailing slashes to theme URIs to avoid a redirect.
...
props obenland.
see #31839 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31840 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 01:31:38 +00:00
Sergey Biryukov
42b0b7f585
Bundled themes: Use SSL for theme and author URIs.
...
props mercime.
fixes #31699 . see #27115 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31839 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 01:21:50 +00:00
Gary Pendergast
182dd8606e
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
git-svn-id: https://develop.svn.wordpress.org/trunk@31838 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 01:01:52 +00:00
Sergey Biryukov
71aa4b15f6
Make a comment clearer (without implying inversed logic) and fix a typo.
...
see #31645 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31837 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 00:44:21 +00:00
Andrew Ozz
f2aa089166
Press This: small clean-up when generating the suggested content. Ensure all keys are always set in the array that is passed through the filter.
...
See #31637 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31836 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-20 00:18:00 +00:00
Drew Jaynes
dd8511c35b
WordPress 4.2-beta2
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31835 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-19 19:18:37 +00:00
Aaron Jorbin
757ee0684c
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
git-svn-id: https://develop.svn.wordpress.org/trunk@31834 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-19 17:47:30 +00:00
Jeremy Felt
86e155b34e
Make dates in multisite site and user list tables translatable.
...
Props pavelevap.
Fixes #22302 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31833 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-19 16:21:46 +00:00
Andrew Ozz
e977f42a66
TinyMCE: revert stripping of tags from pasted URLs on beforeSetContent
[31817] and [31819]. Clean up URLs on pastePreProcess
.
...
See #31158 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31832 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-19 07:07:48 +00:00
Aaron Jorbin
cc0e582a67
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
git-svn-id: https://develop.svn.wordpress.org/trunk@31831 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-19 05:26:00 +00:00
Scott Taylor
1392d272c2
In the "Send Trackbacks" meta box, the description of how pingbacks work was missing a comma after the introductory clause.
...
Props cfinke.
Fixes #31668 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31830 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-19 04:05:33 +00:00
Scott Taylor
2f20da29b5
Replace array_shift()
with reset()
where appropriate for performance.
...
Props SergeyBiryukov.
Fixes #31259 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31829 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-19 03:55:39 +00:00
Scott Taylor
c74d9e6d1c
Add WP_Posts_List_Table::is_base_request()
to determine if the current "view" is the "All" (default) view.
...
Fixes #24869 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31828 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-19 02:25:05 +00:00
Andrew Ozz
8d392d4568
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31827 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-19 00:51:43 +00:00
Dominik Schilling (ocean90)
9c21bedcbb
Revert [31729] since <aside>
seems not to be the appropriate HTML5 tag.
...
see #30556 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31826 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-18 22:25:20 +00:00
Dominik Schilling (ocean90)
60f95452a4
Don't try to call wp_clean_plugins_cache();
twice in wp_clean_update_cache()
.
...
props TobiasBg.
fixes #31503 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31825 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-18 22:06:17 +00:00
Helen Hou-Sandi
e771be8f7c
Toolbar: Protect against Firefox font rendering interference by themes.
...
props cbaldelomar.
fixes #30021 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31824 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-18 22:03:12 +00:00
Dominik Schilling (ocean90)
74e404140d
Edit Terms: Show error messages actually as error messages.
...
props rahulbhangale, SergeyBiryukov.
fixes #31241 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31823 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-18 21:58:52 +00:00
Andrew Ozz
c2dc27adfd
TinyMCE emoji: fix highlighting of selected replacement images in Chrome.
...
Props iseulde. Fixes #31628 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31822 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-18 21:53:36 +00:00
Dominik Schilling (ocean90)
a3f6767a45
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31821 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-18 21:51:36 +00:00
Helen Hou-Sandi
6a273462e8
List tables: Go back to inserting quick edit rows after, as some plugins rely on that assumption. Results are the same.
...
fixes #26060 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31820 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-18 21:49:26 +00:00
Andrew Ozz
639f5228c3
TinyMCE: small cleanup for stripping of tags from pasted URLs. See #31158 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31819 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-18 20:52:35 +00:00
Andrew Ozz
1a067a5e4c
Press This: prepend the site domain to root-relative URLs. Reject other relative URLs.
...
Part props stephdau, kraftbj. Fixes #31645 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31818 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-18 20:42:38 +00:00
Andrew Ozz
25a5f07d51
TinyMCE: strip tags from pasted URLs before testing if they are embeddable.
...
Props siobhan, iseulde. Fixes #31158 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31817 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-18 20:25:09 +00:00
Dominik Schilling (ocean90)
f288ec0581
Customizer: Remove a throw error
call which prevents further actions, like jqxhr.always()
.
...
props westonruter.
fixes #31501 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31816 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-18 19:28:14 +00:00
Dominik Schilling (ocean90)
e9da1dc1f2
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31815 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-18 19:21:33 +00:00