Sergey Biryukov
2b8e7270d5
Multisite: Add translator comments to default email messages with non-typical placeholders.
...
props yoavf.
fixes #32263 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32381 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 09:11:18 +00:00
Gary Pendergast
9e12deeb9c
Fix an incorrect version number check in [32378].
...
See #32099 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32379 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 07:40:36 +00:00
Gary Pendergast
ca11cafb07
Upgrades: When converting to utf8mb4
, we were trying to change the wrong index on wp_signups
, causing the conversion to later fail.
...
Props kovshenin, pento.
See #32099 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32378 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 07:33:53 +00:00
Gary Pendergast
2ce97b2984
WPDB: When checking that a string can be sent to MySQL, we shouldn't use mb_convert_encoding()
, as it behaves differently to MySQL's character encoding conversion.
...
Props mdawaffe, pento, nbachiyski, jorbin, johnjamesjacoby, jeremyfelt.
See #32165 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32364 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-06 02:59:50 +00:00
Drew Jaynes
3ca1ff6b72
Fix documentation syntax and formatting for the media_sideload_image()
DocBlock.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32352 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-05 02:19:47 +00:00
Drew Jaynes
7138b7e1bd
Add two changelog entries for functional changes introduced in 4.2.0.
...
Props dimadin.
See #31925 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32350 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-05 02:15:27 +00:00
Drew Jaynes
eea4111667
Add a missing DocBlock for wp_caption_input_textarea()
.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32341 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-04 01:12:12 +00:00
Drew Jaynes
b7bce33748
Add a missing @return
tag to the DocBlock for `uninstall_plugin().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32340 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-04 01:07:47 +00:00
Drew Jaynes
5a45289302
Add a missing @return
tag to the DocBlock for site_admin_notice()
.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32339 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-04 01:05:48 +00:00
Drew Jaynes
511ce10e53
Clarify accepted types for the $args
and $context
parameters in WP_Filesystem()
.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32338 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-04 01:03:08 +00:00
Sergey Biryukov
2848b8a911
Replace echo __()
with _e()
.
...
props marsjaninzmarsa.
fixes #32239 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32333 602fd350-edb4-49c9-b593-d223f7449a82
2015-05-03 16:17:06 +00:00
Scott Taylor
625e7135f3
After [32258], restore the parts of [31620] and [31626] that weren't changes to the UI, but were improvements to existing code.
...
* Use `wp.shortcode()` instead of manually constructing a shortcode in `views/embed/link`
* In `WP_Embed`, store the last URL and last set of attributes requested in class properties
* `wp_ajax_parse_embed()`, allow `[embed]`s to have attributes. Return `attr` in the response.
See #31139 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32330 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-30 21:39:52 +00:00
Sergey Biryukov
345d34cad9
Bulk Edit: Properly associate the Format select with its label.
...
props afercia.
fixes #32210 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32329 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-30 16:03:06 +00:00
Dion Hulse
342989657f
When creating a temporary file treat the /
directory properly, to prevent it ending up in an endless self-calling loop.
...
Props hnle, taka2. Fixes #32135 . See #31811
git-svn-id: https://develop.svn.wordpress.org/trunk@32322 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-29 03:16:06 +00:00
Gary Pendergast
0b868edb8e
When deleting suspicious comments, do so permanently.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32310 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-27 16:10:50 +00:00
Gary Pendergast
ae1f6413c9
[32308] was for 4.3, not 4.2.1.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32309 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-27 16:07:20 +00:00
Gary Pendergast
0224286861
When upgrading to 4.2.1, delete suspicious comments.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32308 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-27 16:03:48 +00:00
Dominik Schilling (ocean90)
2abf4c39ef
Don't focus input fields outside of the request filesystem credentials form.
...
props valendesigns.
fixes #32055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32266 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-22 16:23:57 +00:00
Dominik Schilling (ocean90)
ca11d4c876
Don't return empty themes in wp_prepare_themes_for_js()
.
...
see #32002 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32264 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-22 16:10:40 +00:00
Andrew Ozz
925682e2d1
Revert editing of video embed parameters in the media modal, [31620] and [31626] for now. Plan on revisiting in 4.3.
...
Props iseulde. Fixes #31139 , fixes #32006 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32258 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 22:40:23 +00:00
Helen Hou-Sandi
b7d25c00e2
Rename the pre_wp_prepare_themes_for_js
filter to pre_prepare_themes_for_js
.
...
props DrewAPicture.
fixes #31789 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32246 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-21 14:22:15 +00:00
Gary Pendergast
05710aaa41
Ensure post titles are correctly escaped on the Dashboard.
...
Props helen, ocean90, dd32, pento.
git-svn-id: https://develop.svn.wordpress.org/trunk@32175 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-20 07:38:29 +00:00
Sergey Biryukov
3c28d7b1f6
Press This: Update documentation for press_this_save_redirect
filter after [31992].
...
props kraftbj.
fixes #31996 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32143 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-19 01:34:01 +00:00
Dominik Schilling (ocean90)
7fba67e4b7
Customizer: Escape theme preview URLs.
...
props johnbillion, ocean90.
see #31896 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32134 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 16:32:03 +00:00
Scott Taylor
91143924cd
Move the built media JS files up a directory to their previous location and naming convention. This fidgets with part of [31373] and will maintain BC for those who were loading those files directly (not using the enqueue system).
...
Props iseulde, ocean90.
Fixes #31912 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32125 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 15:30:16 +00:00
Andrew Ozz
f3033a9f5a
Press This: do not show the bookmarklet upgrade notice when accessing directly press-this.php.
...
Props kraftbj. Fixes #31968 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32122 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 05:44:08 +00:00
Dominik Schilling (ocean90)
b0d6757918
Use HTTPS URLs for codex.wordpress.org.
...
see #27115 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32116 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-12 21:28:58 +00:00
Gary Pendergast
b806e118c6
When dbDelta()
is checking whether an index is defined in a CREATE TABLE
statement, don't worry if MySQL has a subpart defined on an index, but the CREATE TABLE
doesn't.
...
Fixes #31869 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32108 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 10:39:49 +00:00
Andrew Ozz
301bb0b9da
Press This: check the bookmarklet version and add the update notice from PHP.
...
Fixes #31942 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32106 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-10 21:07:42 +00:00
Andrew Ozz
6cf43dfc06
Press This: add ARIA attributes to the alerts
container.
...
Props afercia. Fixes #31942 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32102 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 23:44:50 +00:00
Andrew Ozz
47754dfc55
Press This: change the link text to Standard Editor.
...
Props Michael-Arestad. See #31923 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32093 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 23:27:04 +00:00
Andrew Ozz
bd8cb111ed
Press This:
...
- When saving a draft change the text of the Save Draft button to Saving...
- On success, hide the button and show Edit Post link in its place. If the user focuses the title or the editor, hide the link and show the button again.
Fixes #31923 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32092 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 23:13:35 +00:00
Boone Gorges
7d18785497
Don't allow whitespace-only image captions from the Media modal.
...
Captions containing only whitespace trick `image_add_caption()` into thinking
a caption is required, but the empty caption text confuses wpeditimage into
stripping the 'align' class specified by the user.
Fixes #21848 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32079 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 17:10:53 +00:00
Aaron Jorbin
852937d006
Update placeholder for FTP credentials
...
Two changes:
* Remove superfluous __ function call
* Update domain used
Fixes #31922
Props Tmeister
git-svn-id: https://develop.svn.wordpress.org/trunk@32077 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 16:49:22 +00:00
Aaron Jorbin
43623c464c
Enable users to initiate a shiny update from plugin detail modal
...
The plugin detail modal can contain a link to update a plugin. When it does, we should initiate a shiny update.
This relies upon postMessage which isn't available in all browsers, specifically it isn't in IE versions below 8 so this is going to be a progressive enhancement that some small percentage of users will miss out on. These are the same users that can't use the customizer.
Fixes #31739
git-svn-id: https://develop.svn.wordpress.org/trunk@32062 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-07 03:08:38 +00:00
Helen Hou-Sandi
2f368bf396
Insert from URL: Make sure the link text is actually used.
...
Turns out there were more pieces to renaming the field.
props iseulde.
fixes #29476 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32055 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-06 18:24:53 +00:00
Helen Hou-Sandi
f64bf71719
Update more instances of default admin blues and grays.
...
props hugobaeta.
fixes #31234 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32051 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 21:19:54 +00:00
Sergey Biryukov
0e236b6e72
wp_install_maybe_enable_pretty_permalinks()
should have a consistent @return
value.
...
props DrewAPicture.
fixes #6481 . see #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32027 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 14:48:23 +00:00
Drew Jaynes
fd8d9c5883
Correct grammar when referring to "a user" vs "an user" in several places.
...
Props ocean90.
Fixes #31894 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32025 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-05 14:43:57 +00:00
Drew Jaynes
08a897b58c
Clarify the DocBlock summary and parameter description for wp_edit_attachments_query_vars()
.
...
See [31037]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32019 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 21:51:36 +00:00
Drew Jaynes
c7fee4fab0
Add proper descriptions for the @global
and @param
tags in the wp_media_attach_action()
DocBlock.
...
See [31619]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32018 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 21:34:15 +00:00
Drew Jaynes
8d8ea0c529
Clarify the DocBlock description for wp_print_request_filesystem_credentials_modal()
.
...
See [31811]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32016 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 21:12:10 +00:00
Drew Jaynes
2a44016ef8
Clarify 4.2.0 changelog entry, add global description to the DocBlock for WP_Users_List_Table->single_row()
.
...
See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32015 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 21:08:57 +00:00
Drew Jaynes
3e36e59646
Add missing @since
versions from a variety of methods in WP_Press_This
.
...
See [31693]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32014 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 19:45:48 +00:00
Drew Jaynes
4d751d4e98
Add missing DocBlocks for the _limit_array()
, _limit_string()
, _limit_url()
, _limit_img()
, _limit_embed()
, and _process_meta_entry()
utility methods in WP_Press_This
.
...
See [31609]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32013 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 18:22:30 +00:00
Drew Jaynes
58ee5beced
Fix filter doc vernacular for the quick_edit_show_taxonomy
filter.
...
See [31308]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32011 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 16:07:48 +00:00
Drew Jaynes
d0d60543ae
Fix syntax for the $to_display
parameter description in the DocBlock for WP_Posts_List_Table->_page_rows()
.
...
See [31730]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32010 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 16:03:20 +00:00
Drew Jaynes
472b335948
Add a return description to the DocBlock for WP_Posts_List_Table->is_base_request()
.
...
See [31828]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32009 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 16:00:08 +00:00
Drew Jaynes
f937bdc6ce
Fix typos in the function summaries for wp_ajax_press_this_save_post()
and wp_ajax_press_this_add_category()
.
...
See [31534]. See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32007 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 14:37:16 +00:00
Drew Jaynes
5394bd31a0
Add an @see
mention for Plugin_Upgrader
, plus spacing to the wp_ajax_update_plugin()
delcaration.
...
See #31888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32006 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-04 14:18:52 +00:00