Peter Westwood
e54227056b
XMLRPC: Expose the admin and login urls as read-only options over xml-rpc to make it easier to write rich clients. Fixes #23446 props daniloercoli.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24382 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-29 11:01:32 +00:00
Sergey Biryukov
0abc45b90f
Fix E_STRICT notices in walkers. props dvarga. see #24356 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24377 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-28 03:29:15 +00:00
Andrew Nacin
51731fc3eb
No need for a pass-by-reference here. props sunnyratilal, fixes #24433 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24376 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-27 15:47:46 +00:00
bumpbot
80e11fd681
Compress scripts/styles: 3.6-beta3-24375.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24375 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-27 15:08:27 +00:00
Andrew Nacin
a8ca8a8d3a
Add wp-util.min.js. See #24424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24374 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-27 15:06:29 +00:00
bumpbot
ed85f96527
Compress scripts/styles: 3.6-beta3-24372.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24372 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-26 08:58:56 +00:00
Dominik Schilling (ocean90)
2802ecc440
Remove deprecated jQuery API .browser in suggest.js. No need for a replacement since it works without too. see #22975 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24371 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-26 08:49:05 +00:00
bumpbot
c75d960236
Compress scripts/styles: 3.6-beta3-24369.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24370 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-26 06:58:58 +00:00
Daryl Koopersmith
91a227af5b
Move XHR helpers from media to utils. See #24424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24369 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-26 06:58:01 +00:00
Daryl Koopersmith
89fef5d882
Branch the generic JS utilities from the Backbone commands. See #24424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24368 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-26 06:43:13 +00:00
Daryl Koopersmith
bc112c68e5
Add Backbone property to the wp-backbone namespace. See #24424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24367 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-26 06:34:33 +00:00
Daryl Koopersmith
7da0dbcbb4
Alias media.template to wp.template. See #23263 , #24424 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24366 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-26 05:55:49 +00:00
bumpbot
dc997217bb
Compress scripts/styles: 3.6-beta3-24365.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24365 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 22:58:57 +00:00
Dominik Schilling (ocean90)
2738606b12
Update to jQuery 1.10.0. Still includes jQuery in original, unminified form, for ease of testing and bug reporting. fixes #24426 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24364 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 22:33:07 +00:00
Dominik Schilling (ocean90)
d8395ec80c
Declare Text_Diff::trimNewlines() as static. Upstream is not back compat. props aaroncampbell. fixes #24372 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24363 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 22:10:53 +00:00
Andrew Nacin
ec0d4f2f75
Remove deprecated pass-by-reference from the Text_Diff external library. Upstream is not back compat. see #24372 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24362 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 21:38:25 +00:00
Daryl Koopersmith
bc47ae4f6d
Update the subview controller for the patterns found in Backbone 1.0.
...
Fixes #24424 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24361 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 21:38:12 +00:00
Daryl Koopersmith
cc6ba63c44
Extract the base views from media.
...
See #24424 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24360 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 21:03:04 +00:00
Daryl Koopersmith
08a484147f
Remove unnecessary local variable.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24359 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 20:58:35 +00:00
Daryl Koopersmith
2dcee73454
Begin a common WordPress Backbone helpers file.
...
Moves the `wp.template` helper to `wp-backbone.js`.
git-svn-id: https://develop.svn.wordpress.org/trunk@24358 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 20:47:55 +00:00
bumpbot
d63f067277
Compress scripts/styles: 3.6-beta3-24357.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24357 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 16:59:00 +00:00
Sergey Biryukov
f6fa418169
Use correct variable. props tollmanz. fixes #24419 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24353 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-25 11:35:43 +00:00
Sergey Biryukov
e4e71d98ba
Add @return for get_the_post_format_image(). Make sure the function always returns a string. props tollmanz. fixes #24414 . see #24348 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24352 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 23:56:00 +00:00
bumpbot
a999bc364f
Compress scripts/styles: 3.6-beta3-24349.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24349 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 20:58:56 +00:00
Andrew Nacin
8a30181896
Remove docs suggesting that wp_update_user() creates a user if no ID is provided. See #16731 , that is incorrect at this time.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24345 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 16:22:22 +00:00
Ryan Boren
fcbfed2328
Introduce customize_save_after action.
...
Props dovyp, JustinSainton
fixes #24401
git-svn-id: https://develop.svn.wordpress.org/trunk@24344 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 10:33:30 +00:00
Andrew Ozz
03f38ae6ca
TinyMCE: don't import color and background-color from the content when creating menus that have preview capabilities.
...
Fixes a visual glitch: when post formats styling is added in editor-styles.css, it is applied to the menus and not reset after changing format. See #24308 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24341 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 22:49:06 +00:00
Andrew Nacin
c4ee22898d
Remove use of global $id from comment_form() and the media list table. see #24330 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24337 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 18:40:16 +00:00
Ryan Boren
5f472898e5
Use the global post rather than the global post ID. They don't always match, and the global post is more canonical.
...
see #24330
git-svn-id: https://develop.svn.wordpress.org/trunk@24336 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 18:16:24 +00:00
Jon Cave
cc6a2a0a0e
Properly escape source parameter in audio/video shortcodes. See #23282 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24334 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 17:45:59 +00:00
bumpbot
fa1dd818d1
Compress scripts/styles: 3.6-beta3-24330.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24330 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 22:58:58 +00:00
Sergey Biryukov
2bb8434469
Switch to a CSS comment in gallery_shortcode() to avoid breaking markup when the shortcode is used inside an HTML comment. props mark-k, aaroncampbell. fixes #23787 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24329 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 22:27:53 +00:00
Andrew Ozz
23514efe8a
Local autosaves: always set 'autosave = true' in the post data when triggering local autosave on form submit. Fixes cases where the form is submitted shortly after loading the Edit screen, local autosave hasn't run yet and there is no previous data to be merged. Fixes #23960 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24328 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 21:43:45 +00:00
Andrew Nacin
56b03bc118
Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24320 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 21:01:57 +00:00
bumpbot
7306e41902
Compress scripts/styles: 3.6-beta3-24318.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24318 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 18:58:57 +00:00
Ryan Boren
df26a7f97e
In WP_User::get_data_by(), don't abs int negative IDs. Instead, return false when an ID less than 1 is passed.
...
Props nacin, mordauk
fixes #23480
git-svn-id: https://develop.svn.wordpress.org/trunk@24316 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 18:14:37 +00:00
Mark Jaquith
344b550bb7
Add the jQuery version to the 'jquery' script alias
...
* Allows people to check it and get the right result
see #22975 . props aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@24314 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 17:12:17 +00:00
bumpbot
4a1aaffc57
Compress scripts/styles: 3.6-beta3-24312.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24312 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 02:58:58 +00:00
Andrew Ozz
5001b617a7
TinyMCE: reset line-height for the formats drop-down menu. Fixes a bug where the H1-H6 menu items are overlapping.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24311 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-22 01:41:36 +00:00
bumpbot
b3a97f3700
Compress scripts/styles: 3.6-beta3-24306.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24306 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 20:58:55 +00:00
Andrew Nacin
db3587303d
Use stripslashes() instead of wp_unslash() in ms-files.php to avoid formatting.php dependency. props devesine, fixes #24374 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24305 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 20:20:22 +00:00
Ryan Boren
687d1a2ce9
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24303 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 12:10:58 +00:00
Ryan Boren
f1068cbe96
Add the Daily Motion shortlink, dai.ly, to the default oembed provider list.
...
Props georgestephanis
fixes #24353
git-svn-id: https://develop.svn.wordpress.org/trunk@24302 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 12:08:07 +00:00
Ryan Boren
2662748593
* Introduce wp_parse_post_content() and use it in setup_postdata(), get_the_content(), and get_the_remaining_content().
...
* Add a post ID argument to the_content(), get_the_content(), the_remaining_content(), and get_the_remaining_content().
* Pass the post ID to the the_content filter.
* Remove the format_pages global.
* Declare format_content and split_content as vars in WP_Post.
* phpdoc for the the_content filter that documents the new ID argument and denotes it as not-so-portable.
Props gcorne, DrewAPicture, duck_, aaroncampbell
see #24330
git-svn-id: https://develop.svn.wordpress.org/trunk@24301 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 11:05:50 +00:00
bumpbot
5b742721ec
Compress scripts/styles: 3.6-beta3-24300.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24300 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-20 04:58:58 +00:00
bumpbot
0892fe10b9
Compress scripts/styles: 3.6-beta3-24298.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24298 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 20:59:00 +00:00
Sergey Biryukov
3771cf0c53
Move the PHP4 constructor below the PHP5 one to avoid E_STRICT message. props uuf6429, iandunn. fixes #20801 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24296 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 12:32:20 +00:00
bumpbot
753eb290be
Compress scripts/styles: 3.6-beta3-24295.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24295 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 02:58:57 +00:00
bumpbot
55371e8359
Compress scripts/styles: 3.6-beta3-24293.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24293 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-19 00:58:54 +00:00
bumpbot
c63bdba46d
Compress scripts/styles: 3.6-beta3-24290.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24290 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-18 00:58:53 +00:00
Andrew Nacin
53a1416c34
When WP_DEBUG, set PHP error_reporting level to E_ALL. This will include E_DEPRECATED in PHP 5.3, and E_STRICT in PHP 5.4.
...
fixes #24357 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24288 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-17 20:44:54 +00:00
bumpbot
51c0ca1932
Compress scripts/styles: 3.6-beta3-24284.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24284 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-17 18:58:55 +00:00
bumpbot
e34b198411
Compress scripts/styles: 3.6-beta3-24280.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24280 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 16:58:57 +00:00
Ryan Boren
a7b5385ccf
Check for empty user agent to avoid notice.
...
Props sergej.mueller
fixes #22979
git-svn-id: https://develop.svn.wordpress.org/trunk@24275 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 12:06:36 +00:00
bumpbot
800ef593aa
Compress scripts/styles: 3.6-beta3-24274.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24274 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 04:58:58 +00:00
Andrew Ozz
e4f73af495
Separate the nonces update from checking the post lock. Fix scheduling the logged out check. See #23697 , see #23295 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24273 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 03:47:09 +00:00
bumpbot
1d4f81f8ba
Compress scripts/styles: 3.6-beta3-24272.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24272 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 02:58:55 +00:00
Andrew Ozz
16f9ab52d5
Logged out warnings: by default run the logged-out check every 3 min. Tag along if something else is using heartbeat. See #23295
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24271 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 01:50:43 +00:00
bumpbot
d217792ffb
Compress scripts/styles: 3.6-beta3-24270.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24270 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-16 00:58:56 +00:00
Andrew Ozz
5326a36210
Local autosaves: remove debug logging, see #23220
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24269 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 23:26:36 +00:00
Andrew Ozz
82998d74a4
Heartbeat: don't connect when a response is not expected by any script (nothing to send), remove debug logging, clean up code formatting, see #23216
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24268 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 23:17:51 +00:00
Andrew Ozz
978f89be64
Logged out warnings: fix same domain comparison in wp_auth_check_html() when FORCE_SSL_LOGIN && ! FORCE_SSL_ADMIN. See #23295
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24266 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 22:09:54 +00:00
bumpbot
a9db6a4195
Compress scripts/styles: 3.6-beta3-24265.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24265 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 20:58:57 +00:00
Sergey Biryukov
b168677133
Correct inline docs for wp_delete_term(). fixes #24343 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24261 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-15 08:10:52 +00:00
bumpbot
cd5208457e
Compress scripts/styles: 3.6-beta3-24260.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24260 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 20:58:56 +00:00
Dominik Schilling (ocean90)
f473389f71
hoverIntent r7. props mjbanks. fixes #23752 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24259 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 19:53:05 +00:00
bumpbot
2515b8dbef
Compress scripts/styles: 3.6-beta3-24257.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24257 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 18:58:57 +00:00
Sergey Biryukov
c65d6244b9
Fix typos in comments. fixes #24337 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24255 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 18:22:54 +00:00
Dominik Schilling (ocean90)
eb587cba7c
jQuery Migrate 1.2.1. see #22975 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24252 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 17:22:58 +00:00
Andrew Nacin
0f4d4c5325
Add a delimiter to _wp_filter_build_unique_id()'s handling of static method callbacks. props scribu, fixes #23265 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24251 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 15:55:21 +00:00
Ryan Boren
8ec3a3a34b
Add default args list to wp_remote_request|get|post|head docblocks
...
Props DrewAPicture
fixes #23838
git-svn-id: https://develop.svn.wordpress.org/trunk@24250 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 14:00:19 +00:00
Ryan Boren
de589f8ebe
Remove redundant post ID validation.
...
Props SergeyBiryukov
fixes #24199
git-svn-id: https://develop.svn.wordpress.org/trunk@24249 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 13:57:59 +00:00
Ryan Boren
dcd98293d1
Add the flickr shortlink, flic.kr, to the oEmbed default providers list.
...
Props Ipstenu
fixes #23052
git-svn-id: https://develop.svn.wordpress.org/trunk@24248 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-14 13:47:37 +00:00
Mark Jaquith
39bdfa67a1
3.6-beta3
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24244 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 23:57:27 +00:00
Mark Jaquith
010908b234
Revert change to get_post_format() introduced in [24226].
...
see #24291
git-svn-id: https://develop.svn.wordpress.org/trunk@24242 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 23:22:51 +00:00
Mark Jaquith
5cd3b7c3ab
Improve regular expressions by using a backreference to match right quote of quote pair when matching attributes.
...
props kovshenin. see #24225 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24241 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 22:54:33 +00:00
Mark Jaquith
a8fe299c1c
Return the requested image size in get_the_post_format_image()
...
props kovshenin. fixes #24188 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24240 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 22:49:24 +00:00
Sergey Biryukov
b0855cc810
Fix handling of '0' as meta_value argument in get_pages(). fixes #20376 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24238 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 19:18:54 +00:00
bumpbot
22e098493b
Compress scripts/styles: 3.6-beta2-24237.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24237 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 18:58:54 +00:00
Sergey Biryukov
d75c52e120
Prevent menu items with '0' label from being removed on menu saving. props MikeHansenMe, kovshenin. fixes #23051 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24235 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 18:03:09 +00:00
Sergey Biryukov
57b250943c
Update _post_formats_fix_empty_title() description. Make it clear that 'wp_insert_post_data' is a filter, not an action. props DrewAPicture. fixes #24303 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24233 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 14:53:34 +00:00
Sergey Biryukov
2b1420456d
Fix typos in phpdoc. props TheLastCicada. fixes #24302 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24229 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-10 01:39:30 +00:00
bumpbot
784177ac9f
Compress scripts/styles: 3.6-beta2-24227.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24227 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 22:58:58 +00:00
Mark Jaquith
31c316214a
Improve the UX and flow of the Image post format.
...
* Drag-and-drop
* Textarea for HTML/URL hidden to start
* Bigger click target for entering Media modal
* Image preview height-contrained to 300 pixels
* Hid the alignment, size, etc options that didn't have an effect anyway
* Got wp-format-{format} into the <body> class
props DrewAPicture, aaroncampbell, markjaquith, azaozz. see #24291 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24226 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 22:45:14 +00:00
Sergey Biryukov
aaec6a462a
Allow to switch get_search_form() to HTML5 with an add_theme_support() call. fixes #23850 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24225 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 22:41:30 +00:00
bumpbot
3f306f67b8
Compress scripts/styles: 3.6-beta2-24222.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24222 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 18:58:57 +00:00
Andrew Ozz
8acec51116
Local autosaves: show the notice above the post formats UI, see #23220
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24221 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 18:23:05 +00:00
bumpbot
510e59c8fb
Compress scripts/styles: 3.6-beta2-24220.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24220 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 10:58:54 +00:00
bumpbot
b0d4114414
Compress scripts/styles: 3.6-beta2-24216.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24216 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 00:58:57 +00:00
Andrew Ozz
05f48e1725
TinyMCE: fix for the disappearing placeholders bug in Chrome, see #24177
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24215 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 00:24:45 +00:00
Sergey Biryukov
7cf933b2c9
* Pass ellipsis as a parameter to wp_html_excerpt() instead of appending it manually.
...
* Consolidate the logic to avoid appending ellipsis if the entire string is shown.
* Show ellipsis after truncated filenames and post titles.
props solarissmoke, bpetty, SergeyBiryukov. fixes #11446 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24214 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-09 00:22:02 +00:00
Sergey Biryukov
cb0bd68404
Don't append ellipsis in RSS widget if the entire content is shown. props kovshenin. fixes #21702 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24213 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 23:23:05 +00:00
Andrew Ozz
f4b1c3c53f
TinyMCE: attempt a workaround for WebKit bug inserting spans with font styles when creating UL or OL. See #17154
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24211 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 23:03:44 +00:00
bumpbot
40ba7996f8
Compress scripts/styles: 3.6-beta2-24210.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24210 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:58:55 +00:00
Andrew Ozz
701a2d23f9
Post locks and autosave:
...
- Move nonces refreshing from autosave to lock checking.
- Do autosave only when there is something to save.
See #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@24209 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:52:55 +00:00
Andrew Ozz
db72372fcc
Logged out warnings:
...
- Don't use <base> tag to set target="_blank". It can break form submission. Instead, set target only on links with JS.
- Fix same domain comparison in wp_auth_check_html() when FORCE_SSL_LOGIN == true.
- Properly show/hide the "Close" button when the dialog is shown multiple times.
See #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@24208 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 22:45:58 +00:00
Sergey Biryukov
bb2a27be5b
Use ellipsis instead of three dots. props tjsingleton, jordie23, wojtek.szkutnik, DrewAPicture, SergeyBiryukov. see #8714 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24207 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 21:27:31 +00:00
Dominik Schilling (ocean90)
e99d155133
jQuery UI 1.10.3. fixes #23370 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24204 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 20:54:30 +00:00
Mark Jaquith
7b15956535
Include getID3 licensing info.
...
props bpetty. fixes #23842 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24203 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 20:37:50 +00:00
Sergey Biryukov
15ffa40d64
Add missing semicolon. props jcastaneda. fixes #24282 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24200 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 18:15:14 +00:00
Ryan Boren
edee280e39
Avoid warning in gallery_shortcode() when called outside of post context.
...
Props kovshenin
fixes #24272
git-svn-id: https://develop.svn.wordpress.org/trunk@24198 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-08 16:57:58 +00:00
Mark Jaquith
3ddb5cb066
Go back to plain text diffs between revisions instead of attempting partial rendering.
...
fixes #24254
git-svn-id: https://develop.svn.wordpress.org/trunk@24192 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 20:34:58 +00:00
Sergey Biryukov
b26b0cc0de
Avoid a PHP notice in get_page_template_slug() if the page does not exist. props tollmanz. fixes #24250 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24191 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 18:44:22 +00:00
Andrew Nacin
feaea4cc26
Use correct variable in atomlib library, inside an error message. props rlerdorf, see #24110 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24190 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 16:37:21 +00:00
Andrew Nacin
7a9f91869e
Fix usage of undeclared variables.
...
* the_weekday_date() needs the global $currentday
* ms_site_check() needs the global $current_site
* media list table does not need to check for $total_orphans
* upgrader has no $feedback variable, appears to be copypasta from other upgrade APIs
* install_themes_feature_list() has no $features variable, return array() instead of a new return type of WP_Error
see #24210 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24189 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 16:35:03 +00:00
Andrew Nacin
d8d04c84b2
Remove the body of the deprecated links_popup_script() as currently it issues a fatal error. see #24210 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24186 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 15:35:34 +00:00
Sergey Biryukov
2b666b1ef8
Avoid PHP notices in Media Library if an attachment parent does not exist. props trepmal, viniciusmassuchetto, alex-ye, adamsilverstein for initial patches. fixes #22312 . fixes #23154 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24182 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-07 11:46:35 +00:00
bumpbot
d8a988e857
Compress scripts/styles: 3.6-beta2-24180.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24180 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-06 22:58:57 +00:00
Andrew Ozz
9a9d5861cf
Logged out warnings:
...
- Don't remove login error messages coming from wp_signon().
- When the login form is shown in iframe, open all links in a new tab/window.
- Add filter for the login form error message.
See #23295
git-svn-id: https://develop.svn.wordpress.org/trunk@24179 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-06 21:35:50 +00:00
Dominik Schilling (ocean90)
803ea2541e
Revisions: Update `_edit_last` when restoring a post.
...
props redpixelstudios. fixes #20982 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24178 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-06 09:49:13 +00:00
Andrew Ozz
47865a91ce
Clean up revision.php docblocks, props DrewAPicture, fixes #24265
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24177 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-05 02:46:59 +00:00
bumpbot
223966a366
Compress scripts/styles: 3.6-beta2-24176.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24176 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-04 22:58:57 +00:00
Dominik Schilling (ocean90)
3e0f930659
Revisions: Mark deprecated arguments in `wp_list_post_revisions()`.
...
* Second argument is now a string, which controls the revision type
* Back compat for $args['type']
* Remove lines for the old form-table format, since it's now just a list
props a.hoereth. fixes #24213 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24175 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-04 12:54:00 +00:00
Mark Jaquith
7b18206f84
Add a 'quote_source_format' filter and make the default an em-dash and a space preceding the source.
...
fixes #24243
git-svn-id: https://develop.svn.wordpress.org/trunk@24170 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 19:08:47 +00:00
Andrew Nacin
200549ee5f
Escape periods in oEmbed regex. props rovo89. fixes #24242 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24168 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 17:37:05 +00:00
Andrew Nacin
f474b3fbaf
Support Spotify web player links. see #24242 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24165 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-03 00:21:20 +00:00
Andrew Nacin
6a0d5afcbc
Add Spotify to the default oEmbed providers list. fixes #24242 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24164 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 23:55:07 +00:00
bumpbot
a7157e4cf0
Compress scripts/styles: 3.6-beta2-24163.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24163 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 22:58:59 +00:00
Ryan Boren
f5c165c23f
Respect the link to setting when inserting a gallery.
...
Props SergeyBiryukov
fixes #23298
git-svn-id: https://develop.svn.wordpress.org/trunk@24161 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 22:07:37 +00:00
Ryan Boren
e3d41d52ac
Add Rdio to the default oembed providers list.
...
Props zekeweeks
fixes #24242
git-svn-id: https://develop.svn.wordpress.org/trunk@24160 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 22:04:23 +00:00
Dominik Schilling (ocean90)
67d2cfeb89
Revisions UI: Add translation contexts and remove unneeded lines.
...
props nao. fixes #23917 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24157 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 10:12:19 +00:00
Dominik Schilling (ocean90)
bd5099a40a
Revisions: Remove the ID from the "restored by" line. props adamsilverstein. see #18733 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24156 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-02 09:35:35 +00:00
Andrew Nacin
4c923807e5
SMH.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24155 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-01 18:39:56 +00:00
Sergey Biryukov
b5bf848ad2
Don't translate a single placeholder. Remove unused variables. props settle, DrewAPicture. fixes #24229 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24150 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-01 03:11:44 +00:00
Sergey Biryukov
995a5d1c46
Fix typos in phpdoc. props jcastaneda. fixes #24230 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24147 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-01 01:46:45 +00:00
Sergey Biryukov
ea9c768d80
Make $post_id argument optional for _post_formats_title(). props kovshenin. fixes #24233 . see #24011 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24146 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-30 23:48:18 +00:00
Mark Jaquith
77fe70234a
3.6-beta2
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24143 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:53:25 +00:00
bumpbot
3d5f6d2929
Compress scripts/styles: 3.6-beta1-24142.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24142 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:48:11 +00:00
bumpbot
eb658a87d7
Compress scripts/styles: 3.6-beta1-24140.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24140 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:36:10 +00:00
Sergey Biryukov
d60a0b3dfe
Fix typo in heartbeat.js. see #23216 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24139 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 20:29:10 +00:00
bumpbot
f4c72e828e
Compress scripts/styles: 3.6-beta1-24138.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24138 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 17:46:49 +00:00
Andrew Nacin
8022c2a4f6
Remove empty file.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24136 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 17:17:27 +00:00
Andrew Nacin
51bc8b5a7b
Better logic for preg_match() calls in ms-functions.php. fixes #24222 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24130 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 14:49:57 +00:00
Andrew Nacin
12e7328690
Variables passed by reference do not need to be set first.
...
props kovshenin.
see #24222 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24129 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 14:48:31 +00:00
Andrew Nacin
b7274b03af
Remove an extra argument passed to get_the_content() in the deprecated the_content_rss().
...
props rlerdorf.
see #24210 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24128 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 13:42:56 +00:00
Andrew Nacin
c91475ebe1
Required arguments can't follow optional arguments.
...
Make required arguments optional in confirm_blog_signup().
Mark arguments as required in _future_post_hook(), the walker method display_element(), get_author_link() (deprecated), and the WP_Widget constructor.
props rlerdorf.
see #24210 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24126 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 13:26:31 +00:00
Andrew Nacin
2523656757
delete_user_setting() and remove_action() were getting called with too many args. props rlerdorf. see #24210 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24125 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 13:25:15 +00:00
Sergey Biryukov
58b95c090e
Fix typo in phpdoc. props belloswan. fixes #24217 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24124 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 12:49:33 +00:00
Sergey Biryukov
7ab8ec298f
Remove extraneous function parameters in wp_video_shortcode(). props rlerdorf. see #24210 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24122 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 00:56:27 +00:00
Sergey Biryukov
7bace86018
Remove extraneous function parameters in the wpdb class. props rlerdorf. see #24210 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24121 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 00:31:56 +00:00
Sergey Biryukov
57b9f9ecab
Fix typo in get_the_post_format_image(). props rlerdorf. see #23964 . see #24210 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24118 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-28 06:36:39 +00:00
Andrew Ozz
903b602bcf
Revert [24113], wp-tinymce.js.gz is missing couple of files.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24117 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-27 22:41:10 +00:00
Andrew Nacin
6e12deb13b
WP_Query: If the post_type QV is an array with only one element, don't treat it as a multiple post type query.
...
If there is only one post type used by all taxonomies for a tax query, set the post type to the string.
fixes #24204 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24115 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-27 01:28:35 +00:00
bumpbot
74a535db1c
Compress scripts/styles: 3.6-beta1-24113. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24113 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 22:57:07 +00:00
Mark Jaquith
786e5483fc
Fix the appearance of a blank media item due to [23893].
...
props kovshenin. fixes #24094 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24110 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 15:10:06 +00:00
bumpbot
b9c80d86ac
Compress scripts/styles: 3.6-beta1-24100.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24100 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:58:41 +00:00
Sergey Biryukov
eaa45fb903
Fix typo in phpdoc. props jcastaneda. fixes #24185 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24096 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 23:10:36 +00:00
bumpbot
7ef190d486
Compress scripts/styles: 3.6-beta1-24095.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24095 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 08:58:43 +00:00
Mark Jaquith
6a6c0fb522
Prevent a PHP Warning for $post_format.
...
props MZAWeb, kovshenin. see #24011 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24094 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 08:02:38 +00:00
Mark Jaquith
116b530bb3
the_post_format_gallery() (and Twenty Thirteen using it).
...
fixes #24126 . props obenland, wonderboymusic.
git-svn-id: https://develop.svn.wordpress.org/trunk@24093 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 07:42:59 +00:00
Mark Jaquith
3bde819dbe
Screen option for Post Format UI.
...
props nacin. see #23930 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24092 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 07:28:33 +00:00
Mark Jaquith
63a5118e7e
Smarter structured post format caching.
...
fixes #24002 . props kovshenin, wonderboymusic.
git-svn-id: https://develop.svn.wordpress.org/trunk@24091 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 07:10:35 +00:00
bumpbot
629c86ddb2
Compress scripts/styles: 3.6-beta1-24090.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24090 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 06:58:41 +00:00
Mark Jaquith
bab5ddd458
Force gallery state for gallery post format.
...
props lessbloat, wonderboymusic. fixes #24062 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24087 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:43:14 +00:00
bumpbot
89872e2a71
Compress scripts/styles: 3.6-beta1-24086.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24086 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:05:54 +00:00
Mark Jaquith
31cf12d5e1
Fix issue with [embed] in post_format_compat.
...
props kovshenin. fixes #24070 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24083 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 03:52:05 +00:00
Mark Jaquith
4f425f4f11
Fix redundant use of array_keys() around get_post_format_slugs().
...
props SergeyBirkukov, wonderboymusic. fixes #24089 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24082 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 03:06:31 +00:00
Mark Jaquith
5c78df14f8
Add a post_format_meta filter.
...
props alexkingorg. fixes #24162 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24080 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:31:42 +00:00
Mark Jaquith
53de215895
Allow the_post_format_image() to choose an image size late in the game.
...
props davidwilliamson, SergeyBiryukov. fixes #23945 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24079 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:28:30 +00:00
Mark Jaquith
25a32a446c
Fix mangled image output in compat function.
...
props wonderboymusic. see #24175 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24078 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:18:49 +00:00
Andrew Ozz
6303d1a71a
Upgrade to Plupload 1.5.7, fixes #24163
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24076 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-24 21:54:17 +00:00
Helen Hou-Sandi
1f621a48f9
Respect $compat values for the link format fallback output. props wonderboymusic. see #23347 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24075 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-23 23:19:29 +00:00
bumpbot
6eb2bc047a
Compress scripts/styles: 3.6-beta1-24067.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24067 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 22:58:34 +00:00
Mark Jaquith
065010983e
Multiple improvements to image post format insertion and display.
...
* get_tag_regex() altered based on Unit Tests.
* Changes to post-formats.js to provide size and link context during image selection.
* Captions are now output in the_post_format_image() when present.
* The meta value for url is respected for the image post format when the HTML in the image meta doesn't include a link
props wonderboymusic. fixes #23965 , #23964 . see #24147 , #24046 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24066 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 22:11:42 +00:00
Mark Jaquith
e3eda04c70
Fix some mangled HTML in image format posts compat.
...
props SergeyBiryukov. fixes #24147 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24062 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 21:01:03 +00:00
bumpbot
9c59e3a187
Compress scripts/styles: 3.6-beta1-24060.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24061 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:58:40 +00:00
Andrew Nacin
a67bb694c5
Return false in get_post_format() if the post does not exist.
...
props adamsilverstein, ericlewis.
fixes #23255 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24057 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:41:16 +00:00
Andrew Nacin
4d584800bf
Add user_search_columns filter to WP_User_Query::prepare_query().
...
props aaroncampbell.
fixes #16366 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24056 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:37:50 +00:00
Andrew Nacin
88c8a08129
Image editors: multi_resize() should require height and width. Crop is now optional and defaults to false. props DH-Shredder. fixes #23884 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24055 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:28:05 +00:00
Andrew Nacin
a77be61eb6
Document that fetch_feed() can accept multiple URLs, thus leveraging SimplePie's multifeed feature. props JustinSainton, fixes #22140 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24054 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:24:41 +00:00
Andrew Nacin
a10e14ba57
Add wp_registration_url() and register_url filter.
...
props scribu, JustinSainton, SergeyBiryukov.
fixes #17950 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24053 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:21:22 +00:00
Andrew Nacin
57a7513b56
Remove ancient 'lookup' quicktag from the text editor. This had called up answers.com.
...
props mboynes, jonbishop, SergeyBiryukov.
fixes #23322 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24052 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:17:25 +00:00
Andrew Nacin
2958875d6c
Improve the performance of backslashit() by avoiding regular expressions. backslashit() is used heavily in date_i18n().
...
props jbutkus.
fixes #22286 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24051 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:01:57 +00:00
Andrew Nacin
cabad11bb4
WP Styles: Correctly print 'after' data when scripts are concatenated. props stephenh1988. fixes #20836 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24047 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:22:09 +00:00
Andrew Nacin
3fc35855e9
Ensure that the resulting post time is localized after the date is changed. props SergeyBiryukov. fixes #24072 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24046 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:04:02 +00:00
Sergey Biryukov
b79ec28fef
Correct phpdoc for get_content_quote(). props kovshenin. see #24009 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24045 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 14:36:43 +00:00
bumpbot
06b0176541
Compress scripts/styles: 3.6-beta1-24044.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24044 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 04:58:37 +00:00
Mark Jaquith
aeaf7787c0
Hide the post title and auto-generate based on the post body, for the status and aside post formats.
...
props kovshenin. see #24011 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24043 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 04:00:25 +00:00
Andrew Ozz
008336ee9c
Post locks:
...
- Show 'Saving revision...' while autosaving after a post has been taken over. Change to 'Your latest changes were saved as a revision.' when autosave completes.
- Make sure a user exists before using $user->display_name.
- Add 'post_lock_text' action for extending the message text.
git-svn-id: https://develop.svn.wordpress.org/trunk@24042 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 03:08:51 +00:00
bumpbot
db96892205
Compress scripts/styles: 3.6-beta1-24041.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24041 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 22:58:38 +00:00
bumpbot
36be772bd5
Compress scripts/styles: 3.6-beta1-24038.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24038 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 20:58:41 +00:00
Mark Jaquith
58ad769e8b
Post Formats: use the content body for the body of the Quote post format.
...
* Searchable, better editing tools
* Less cluttered Post Format UI
props kovshenin, DrewAPicture. see #24009
git-svn-id: https://develop.svn.wordpress.org/trunk@24034 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 18:07:58 +00:00
Sergey Biryukov
b0706fba10
Only show database errors if WP_DEBUG_DISPLAY is enabled. props cheeserolls, storkontheroof, crazycoders. fixes #22203 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24027 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 09:51:02 +00:00
Andrew Ozz
d00b790c8e
Revisions: when upgrading the revision author don't add a copy of the post as latest revision when some of the revisions are already at v1. See #16215
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24025 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 04:43:59 +00:00
bumpbot
c1d8b36e6e
Compress scripts/styles: 3.6-beta1-24023.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24023 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 22:58:38 +00:00
bumpbot
2a7889aafd
Compress scripts/styles: 3.6-beta1-24021.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24022 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:58:42 +00:00
Mark Jaquith
177556309d
Standardize post format postmeta keys around the ones already used by the Crowd Favorite plugin.
...
props wonderboymusic. fixes #24010 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24021 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:57:44 +00:00
bumpbot
1845759157
Compress scripts/styles: 3.6-beta1-24018.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24018 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 18:58:38 +00:00
Mark Jaquith
e29dc811f7
Use attachment.url only if it is available, else fall back to props.url.
...
see #24046 . see [24009].
git-svn-id: https://develop.svn.wordpress.org/trunk@24017 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 17:57:51 +00:00
Mark Jaquith
ff064c5422
Use get_post_format() instead of assuming we already have it.
...
* Fixes an issue where image posts without a title could not be deleted
fixes #23887 . see #24046 . props WraithKenny, SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@24015 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 17:49:44 +00:00
bumpbot
b6a6786b60
Compress scripts/styles: 3.6-beta1-24010.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24010 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 13:51:57 +00:00
Ryan Boren
da23d9b7b8
Revert attachment.url back to props.url. Fixes error that prevents inserting media into the editor.
...
see #24046
git-svn-id: https://develop.svn.wordpress.org/trunk@24009 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 13:50:12 +00:00
bumpbot
46eb88eec5
Compress scripts/styles: 3.6-beta1-24008.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24008 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 06:58:39 +00:00
Mark Jaquith
793f27f07e
New Post Format UI chooser treatment in response to testing.
...
* Bigger icons
* Format description under each
* UI hides after choice
* Saving without choosing implies "Standard"
* Helpful text, with "Change format" link
see #24046 . props lessbloat, wonderboymusic.
git-svn-id: https://develop.svn.wordpress.org/trunk@24006 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 04:08:46 +00:00
Mark Jaquith
e1c6e9f2da
Make get_the_post_format_image() work when intermediate_image_sizes is empty.
...
props lancewillett. fixes #24060 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24003 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 21:31:37 +00:00
Sergey Biryukov
a2b9d958df
* Add start/end markers to the regex patterns in audio and video embed handlers.
...
* Move the handler functions registration to wp_maybe_load_embeds().
* Rename both functions to match the wp_embed_handler_* pattern.
* Move the functions closer to wp_embed_handler_googlevideo().
props kovshenin. fixes #24092 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24000 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 11:06:31 +00:00
Sergey Biryukov
891333e1cb
Fix several copy/paste errors in register_deactivation_hook() description. props Caspie. fixes #24097 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23999 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 09:53:02 +00:00
Sergey Biryukov
18d6bf6198
Add missing semicolon. props kovshenin. see #23831 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23998 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-15 23:03:13 +00:00
bumpbot
d0e94ab6ff
Compress scripts/styles: 3.6-beta1-23997.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23997 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-15 20:58:38 +00:00
bumpbot
c8b9284500
Compress scripts/styles: 3.6-beta1-23995.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23996 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-15 18:58:41 +00:00