Commit Graph

11178 Commits

Author SHA1 Message Date
Bot (Assets)
cb3b7f23f7 Compress scripts/styles: 3.6-beta3-24290.
git-svn-id: http://core.svn.wordpress.org/trunk@24290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-18 00:58:53 +00:00
Andrew Ozz
9a62abbea5 Post formats: when uploading an image or selecting it from the media modal, don't wrap it in a link, props kovshenin, fixes #24289
git-svn-id: http://core.svn.wordpress.org/trunk@24289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-17 23:06:34 +00:00
Bot (Assets)
99385899b2 Compress scripts/styles: 3.6-beta3-24284.
git-svn-id: http://core.svn.wordpress.org/trunk@24284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-17 18:58:55 +00:00
Dominik Schilling
580e1729c1 Improve the permalink settings UI for RTL.
props yoavf, SergeyBiryukov, DrewAPicture. fixes #16834.

git-svn-id: http://core.svn.wordpress.org/trunk@24283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-17 17:55:39 +00:00
Ryan Boren
5b7e9c8a1c Display the post format UI when there is structured data associated with the post regardless of the screen option.
Props kovshenin
see #24327


git-svn-id: http://core.svn.wordpress.org/trunk@24282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-17 15:12:50 +00:00
Bot (Assets)
216a667013 Compress scripts/styles: 3.6-beta3-24280.
git-svn-id: http://core.svn.wordpress.org/trunk@24280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 16:58:57 +00:00
Dominik Schilling
4a65006b22 Customizer: Fix 'Collapse' button in RTL. props SergeyBiryukov. see [22977]. fixes #23846.
git-svn-id: http://core.svn.wordpress.org/trunk@24277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 15:01:11 +00:00
Ryan Boren
9eff7bb71a Don't show both "update failed" and "update successful" messages when upgrading a theme fails due to connectivity problems.
Props SergeyBiryukov
fixes #23027


git-svn-id: http://core.svn.wordpress.org/trunk@24276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 12:46:36 +00:00
Bot (Assets)
ac37e4b6dc Compress scripts/styles: 3.6-beta3-24274.
git-svn-id: http://core.svn.wordpress.org/trunk@24274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 04:58:58 +00:00
Andrew Ozz
2f0c58960a Separate the nonces update from checking the post lock. Fix scheduling the logged out check. See #23697, see #23295.
git-svn-id: http://core.svn.wordpress.org/trunk@24273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 03:47:09 +00:00
Sergey Biryukov
421f66a7bb Add file header to post-formats.php. props DrewAPicture. fixes #24349.
git-svn-id: http://core.svn.wordpress.org/trunk@24267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-15 23:14:45 +00:00
Bot (Assets)
3ac301c5d3 Compress scripts/styles: 3.6-beta3-24265.
git-svn-id: http://core.svn.wordpress.org/trunk@24265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-15 20:58:57 +00:00
Andrew Ozz
7255abb66c Fix showing and hiding of UI elements when disabling the Post Formats UI, props kovshenin, see #24327
git-svn-id: http://core.svn.wordpress.org/trunk@24264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-15 20:43:09 +00:00
Dominik Schilling
cf47737813 Revisions: Correct check for ensuring comparison always from newer to older revision. props adamsilverstein. fixes #24340.
git-svn-id: http://core.svn.wordpress.org/trunk@24263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-15 19:09:39 +00:00
Bot (Assets)
53fc8277f8 Compress scripts/styles: 3.6-beta3-24260.
git-svn-id: http://core.svn.wordpress.org/trunk@24260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 20:58:56 +00:00
Dominik Schilling
6d0173ba11 RTL support for the new post Format UI. see #24326.
git-svn-id: http://core.svn.wordpress.org/trunk@24258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 19:01:57 +00:00
Bot (Assets)
7b082313ef Compress scripts/styles: 3.6-beta3-24257.
git-svn-id: http://core.svn.wordpress.org/trunk@24257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 18:58:57 +00:00
Dominik Schilling
91880a5459 RTL: Fix some issues on nav menu screen. see #24326.
git-svn-id: http://core.svn.wordpress.org/trunk@24256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 18:26:41 +00:00
Dominik Schilling
fe67f477d1 Revisions UI: Reduce the min width of a tick. props adamsilverstein. see #23901.
git-svn-id: http://core.svn.wordpress.org/trunk@24254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 17:35:26 +00:00
Dominik Schilling
9ab1807c76 Revisions JS: Fix inline docs. props a.hoereth. see #23901.
git-svn-id: http://core.svn.wordpress.org/trunk@24253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 17:30:18 +00:00
Ryan Boren
5a15e5364d Remove obsolete TODO.
Props wonderboymusic
fixes #11635


git-svn-id: http://core.svn.wordpress.org/trunk@24247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 12:44:44 +00:00
Ryan Boren
66472f11a0 phpdoc improvements for wp_dashboard_quota()
Props DrewAPicture, h4ck3rm1k3


git-svn-id: http://core.svn.wordpress.org/trunk@24246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-14 12:37:30 +00:00
Andrew Nacin
46097dec37 Pass blog_id to the wpmu_drop_tables filter. props mitchoyoshitaka. see #24320.
git-svn-id: http://core.svn.wordpress.org/trunk@24245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-11 21:58:40 +00:00
Mark Jaquith
00f82359e5 A better logic check for whether we are looking at a post formats supporting view.
see #24291.

git-svn-id: http://core.svn.wordpress.org/trunk@24243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 23:22:58 +00:00
Bot (Assets)
eaeff7ef42 Compress scripts/styles: 3.6-beta2-24237.
git-svn-id: http://core.svn.wordpress.org/trunk@24237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 18:58:54 +00:00
Mark Jaquith
917fbaa81c Improvements of Image format dropzone
* Limit drag-drop Image format zone to HTML5 runtime
* Only keep the first file dropped
* Only upload image files
* Fix CSS for the progress bar

props azaozz. see #24291.

git-svn-id: http://core.svn.wordpress.org/trunk@24236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 18:49:05 +00:00
Sergey Biryukov
4b174612ab Prevent menu items with '0' label from being removed on menu saving. props MikeHansenMe, kovshenin. fixes #23051.
git-svn-id: http://core.svn.wordpress.org/trunk@24235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 18:03:09 +00:00
Sergey Biryukov
7aca821e4c Display consistent labels in Image post format UI for users with and without unfiltered_html capability. props tollmanz. fixes #24304. see #24291.
git-svn-id: http://core.svn.wordpress.org/trunk@24232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 14:41:58 +00:00
Sergey Biryukov
013d0d06c6 Remove debug cruft. props kovshenin. see #23930.
git-svn-id: http://core.svn.wordpress.org/trunk@24231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 12:26:46 +00:00
Sergey Biryukov
c5a028821b Use esc_textarea(), not esc_html(), for escaping textarea content. props johnbillion. fixes #24300.
git-svn-id: http://core.svn.wordpress.org/trunk@24230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 02:06:34 +00:00
Sergey Biryukov
74638ccb5a Fix typos in phpdoc. props TheLastCicada. fixes #24302.
git-svn-id: http://core.svn.wordpress.org/trunk@24229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 01:39:30 +00:00
Sergey Biryukov
fb6293b714 Use correct escaping function. props tollmanz. fixes #24300.
git-svn-id: http://core.svn.wordpress.org/trunk@24228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 23:53:24 +00:00
Bot (Assets)
1547451c52 Compress scripts/styles: 3.6-beta2-24227.
git-svn-id: http://core.svn.wordpress.org/trunk@24227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 22:58:58 +00:00
Mark Jaquith
f63001eb2c 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: http://core.svn.wordpress.org/trunk@24226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 22:45:14 +00:00
Bot (Assets)
d78bb71099 Compress scripts/styles: 3.6-beta2-24220.
git-svn-id: http://core.svn.wordpress.org/trunk@24220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 10:58:54 +00:00
Dominik Schilling
62b1b71b02 Revisions UI: Redesigned slider handlers.
Also:
* Fix diff header styling in grey admin theme
* Prevent an overlap of the compare two checkbox on smaller screens

props melchoyce, DrewAPicture, adamsilverstein. fixes #24276.

git-svn-id: http://core.svn.wordpress.org/trunk@24219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 10:07:26 +00:00
Sergey Biryukov
8eeb2fe48d Make the notice on Edit Menus screen more in line with the help text. props DrewAPicture. see #24115.
git-svn-id: http://core.svn.wordpress.org/trunk@24218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 03:06:14 +00:00
Sergey Biryukov
8c8a8d6e0d Don't show "Manage Locations" tab if the theme has no menu locations defined. props DrewAPicture. fixes #24115.
git-svn-id: http://core.svn.wordpress.org/trunk@24217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 02:43:26 +00:00
Sergey Biryukov
415a5c60da * 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: http://core.svn.wordpress.org/trunk@24214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 00:22:02 +00:00
Sergey Biryukov
08bef7a3cb Use wp_trim_words() in Recent Drafts widget. fixes #24292.
git-svn-id: http://core.svn.wordpress.org/trunk@24212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 23:06:41 +00:00
Bot (Assets)
526ecaf50a Compress scripts/styles: 3.6-beta2-24210.
git-svn-id: http://core.svn.wordpress.org/trunk@24210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 22:58:55 +00:00
Andrew Ozz
d0c5c59c94 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: http://core.svn.wordpress.org/trunk@24209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 22:52:55 +00:00
Sergey Biryukov
57c10eadbb Use ellipsis instead of three dots. props tjsingleton, jordie23, wojtek.szkutnik, DrewAPicture, SergeyBiryukov. see #8714.
git-svn-id: http://core.svn.wordpress.org/trunk@24207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 21:27:31 +00:00
Mark Jaquith
5ee1a961a4 Ensure that draft posts cannot be given a non-unique post slug when using Quick Edit.
fixes #22902. props SergeyBiryukov.

git-svn-id: http://core.svn.wordpress.org/trunk@24206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 21:26:17 +00:00
Dominik Schilling
cbec9880a7 Revisions UI: RTL support. (And inline docs.)
props DrewAPicture, adamsilverstein. fixes #23897.

git-svn-id: http://core.svn.wordpress.org/trunk@24205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 21:22:01 +00:00
Sergey Biryukov
6898eba2f2 Avoid PHP notices when deleting or restoring an item that no longer exists. props johnbillion, ocean90. fixes #24246.
git-svn-id: http://core.svn.wordpress.org/trunk@24201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 18:56:54 +00:00
Sergey Biryukov
bfc9c67861 Remove unused variables. props ocean90. fixes #24247.
git-svn-id: http://core.svn.wordpress.org/trunk@24199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 17:52:18 +00:00
Mark Jaquith
57b1dd212b Go back to plain text diffs between revisions instead of attempting partial rendering.
fixes #24254

git-svn-id: http://core.svn.wordpress.org/trunk@24192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-07 20:34:58 +00:00
Andrew Nacin
a518fb0c94 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: http://core.svn.wordpress.org/trunk@24189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-07 16:35:03 +00:00
Andrew Nacin
3b4a087007 remove_filter() only accepts three arguments: filter, callback, and priority. An accepted args parameter is only used for adds.
props rlerdorf.
see #24210.



git-svn-id: http://core.svn.wordpress.org/trunk@24188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-07 15:55:31 +00:00
Andrew Nacin
b34ca3234e Remove manual printing of userSettings as utils.js receives this as inline script data (since 3.5). see #24210.
git-svn-id: http://core.svn.wordpress.org/trunk@24187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-07 15:49:20 +00:00
Sergey Biryukov
e2dde2765c Update the instructions on Edit Menus screen. props DrewAPicture. fixes #24261.
git-svn-id: http://core.svn.wordpress.org/trunk@24185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-07 14:55:14 +00:00
Ryan Boren
164b3e71e6 Update some copy in the Post Formats UI.
see #24227


git-svn-id: http://core.svn.wordpress.org/trunk@24184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-07 13:56:07 +00:00
Sergey Biryukov
44ca305fbd Clarify the instructions on Edit Menus screen. props tw2113. fixes #23936.
git-svn-id: http://core.svn.wordpress.org/trunk@24183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-07 12:55:39 +00:00
Sergey Biryukov
23479edf3f 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: http://core.svn.wordpress.org/trunk@24182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-07 11:46:35 +00:00
Sergey Biryukov
d55dfbf477 Remove obsolete reference in menus help tab. props DrewAPicture. fixes #24262.
git-svn-id: http://core.svn.wordpress.org/trunk@24181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-07 09:21:04 +00:00
Bot (Assets)
9a1fa8f044 Compress scripts/styles: 3.6-beta2-24176.
git-svn-id: http://core.svn.wordpress.org/trunk@24176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-04 22:58:57 +00:00
Dominik Schilling
8ebc1c654e 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: http://core.svn.wordpress.org/trunk@24175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-04 12:54:00 +00:00
Dominik Schilling
2f1777986c Revisions UI: Just another update - Now with improved tick marks and tooltips.
props adamsilverstein. see #23935.

git-svn-id: http://core.svn.wordpress.org/trunk@24174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-03 23:17:06 +00:00
Dominik Schilling
baab49b174 Revisions UI: Add a help tab. props siobhan, DrewAPicture. see #23899.
git-svn-id: http://core.svn.wordpress.org/trunk@24173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-03 23:00:14 +00:00
Dominik Schilling
be44073d5f Fix typo in [24157]. props johnjamesjacoby. fixes #24253.
git-svn-id: http://core.svn.wordpress.org/trunk@24166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-03 07:05:19 +00:00
Bot (Assets)
e2100436b4 Compress scripts/styles: 3.6-beta2-24163.
git-svn-id: http://core.svn.wordpress.org/trunk@24163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-02 22:58:59 +00:00
Sergey Biryukov
e043f2ad8a Fix localization on Edit Menus screen. props kovshenin. fixes #24228.
git-svn-id: http://core.svn.wordpress.org/trunk@24158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-02 12:38:25 +00:00
Dominik Schilling
ea1cecebee Revisions UI: Add translation contexts and remove unneeded lines.
props nao. fixes #23917.

git-svn-id: http://core.svn.wordpress.org/trunk@24157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-02 10:12:19 +00:00
Dominik Schilling
0de35b1035 Revisions: Remove the ID from the "restored by" line. props adamsilverstein. see #18733.
git-svn-id: http://core.svn.wordpress.org/trunk@24156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-02 09:35:35 +00:00
Sergey Biryukov
3348a6a0ad Avoid an undefined variable notice. fixes #24236.
git-svn-id: http://core.svn.wordpress.org/trunk@24149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-01 02:38:51 +00:00
Sergey Biryukov
d324462cb0 Avoid an undefined variable notice. props sc0ttkclark. see #24236.
git-svn-id: http://core.svn.wordpress.org/trunk@24148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-01 02:27:07 +00:00
Bot (Assets)
94720f7d60 Compress scripts/styles: 3.6-beta1-24142.
git-svn-id: http://core.svn.wordpress.org/trunk@24142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 20:48:11 +00:00
Sergey Biryukov
4c90d6eed6 Avoid a JS error when switching post format if Visual editor is disabled. fixes #24218.
git-svn-id: http://core.svn.wordpress.org/trunk@24141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 20:44:15 +00:00
Bot (Assets)
5e6ce84da3 Compress scripts/styles: 3.6-beta1-24138.
git-svn-id: http://core.svn.wordpress.org/trunk@24138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 17:46:49 +00:00
Andrew Nacin
f90a6569c1 Delete minified file. Its parent was removed in [23681].
git-svn-id: http://core.svn.wordpress.org/trunk@24137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 17:21:12 +00:00
Andrew Nacin
2ea564da8b Terms list table:
* Don't call single_row() with an undeclared and unused $taxonomy argument.
 * Don't define optional parameters before required parameters in the _rows() method. Make them required.
 * Move empty( $terms ) check above other operations. This function was improperly returning an else case until [24123].

props rlerdorf.
see #24210.



git-svn-id: http://core.svn.wordpress.org/trunk@24127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 13:39:28 +00:00
Andrew Nacin
17ddaa8de0 delete_user_setting() and remove_action() were getting called with too many args. props rlerdorf. see #24210.
git-svn-id: http://core.svn.wordpress.org/trunk@24125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 13:25:15 +00:00
Sergey Biryukov
dace3f0b6d Remove redundant echo calls from list tables. Don't mix string concatenation with direct output. see #24210.
git-svn-id: http://core.svn.wordpress.org/trunk@24123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 01:10:50 +00:00
Sergey Biryukov
a419c1810b Remove extraneous function parameters in the network admin. props rlerdorf. see #24210.
git-svn-id: http://core.svn.wordpress.org/trunk@24120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 00:26:49 +00:00
Dominik Schilling
45ccae1092 Revisions UI update:
* Style status loading as a regular update message like on the other screens
 * Move compare two checkbox to diff header to avoid an overlap on long post titles
 * Restore color shades for the scope of changes visualisation 
 * Show tooltips while moving the slider handle
 * Diff header styling
 * Move color declarations to classic/fresh stylesheets
 * Sync admin color stylesheets

props jrbeilke for initial patch. see #23935.

git-svn-id: http://core.svn.wordpress.org/trunk@24119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-28 10:56:57 +00:00
Dominik Schilling
45096e8f3b Optimize jQuery selector for checkbox synchronization. props SergeyBiryukov. see #24136.
git-svn-id: http://core.svn.wordpress.org/trunk@24116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-27 12:19:45 +00:00
Helen Hou-Sandí
4885096f98 Better responsive CSS for post format switcher. Remove some JS debug cruft. props wonderboymusic. see #24046.
git-svn-id: http://core.svn.wordpress.org/trunk@24114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 23:47:21 +00:00
Sergey Biryukov
cd1ccc3f3d Remove excess margin on the menus accordion in IE7. props bobbravo2. fixes #24095.
git-svn-id: http://core.svn.wordpress.org/trunk@24112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 16:10:43 +00:00
Sergey Biryukov
1cc7040967 Fix display of post format icons and post titles in IE7. props kovshenin. fixes #24120.
git-svn-id: http://core.svn.wordpress.org/trunk@24111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 15:42:15 +00:00
Bot (Assets)
d69f7f5d15 Compress scripts/styles: 3.6-beta1-24100.
git-svn-id: http://core.svn.wordpress.org/trunk@24100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 12:58:41 +00:00
Sergey Biryukov
6cf5361850 Remove unused variable and CSS class. see #24046.
git-svn-id: http://core.svn.wordpress.org/trunk@24099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 12:36:12 +00:00
Mark Jaquith
1b554db95a Post format UI refresh.
* Post format switcher does not go away after clicking
* Refresh of format switcher style
* Highlighting of active post format
* Prompt text goes under the switcher
* Better animations

see #24046. props wonderboymusic, johnjamesjacoby, aaroncampbell, PeteMall.

Also, because I forgot it on [24006]: props saracannon.

git-svn-id: http://core.svn.wordpress.org/trunk@24098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 12:22:55 +00:00
Sergey Biryukov
57cb2a36bb Avoid an undefined variable notice. props lightningspirit. fixes #24190.
git-svn-id: http://core.svn.wordpress.org/trunk@24097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 23:31:20 +00:00
Bot (Assets)
e20add7b49 Compress scripts/styles: 3.6-beta1-24095.
git-svn-id: http://core.svn.wordpress.org/trunk@24095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 08:58:43 +00:00
Mark Jaquith
082e067a2d Screen option for Post Format UI.
props nacin. see #23930.

git-svn-id: http://core.svn.wordpress.org/trunk@24092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 07:28:33 +00:00
Bot (Assets)
fd68455222 Compress scripts/styles: 3.6-beta1-24090.
git-svn-id: http://core.svn.wordpress.org/trunk@24090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 06:58:41 +00:00
Mark Jaquith
30d5fe1b41 Allow any post format to be default, not just ones with explicit support.
props SergeyBiryukov. fixes #24036.

git-svn-id: http://core.svn.wordpress.org/trunk@24089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 06:08:29 +00:00
Mark Jaquith
601c0c2e52 Clean up gallery-mode toggling in post-formats.js and make sure it is set on first load.
see #24062

git-svn-id: http://core.svn.wordpress.org/trunk@24088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 05:58:55 +00:00
Mark Jaquith
1f6d2f796a Force gallery state for gallery post format.
props lessbloat, wonderboymusic. fixes #24062.

git-svn-id: http://core.svn.wordpress.org/trunk@24087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 05:43:14 +00:00
Bot (Assets)
8f3fc94073 Compress scripts/styles: 3.6-beta1-24086.
git-svn-id: http://core.svn.wordpress.org/trunk@24086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 05:05:54 +00:00
Mark Jaquith
031be1e97d Restore the title visibility for Asides (but keep autogeneration fallback).
see #24011.

git-svn-id: http://core.svn.wordpress.org/trunk@24085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 04:46:58 +00:00
Mark Jaquith
4dffefb166 Fix some issues related to status/aside editor height changing.
props wonderboymusic. fixes #23992.

git-svn-id: http://core.svn.wordpress.org/trunk@24084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 04:06:06 +00:00
Mark Jaquith
90fc15e6d9 post-new.php?format=X will pre-fill the format, to allow for Post-Format-chosen-first editor jump-starting.
props kovshenin, wonderboymusic. fixes #24116.

git-svn-id: http://core.svn.wordpress.org/trunk@24081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 02:44:23 +00:00
Mark Jaquith
5f08d11b11 Make the content area smaller for Aside/Status posts.
props wonderboymusic. fixes #23992.

git-svn-id: http://core.svn.wordpress.org/trunk@24077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 02:07:05 +00:00
Bot (Assets)
172d904240 Compress scripts/styles: 3.6-beta1-24067.
git-svn-id: http://core.svn.wordpress.org/trunk@24067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 22:58:34 +00:00
Mark Jaquith
0a49442e35 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: http://core.svn.wordpress.org/trunk@24066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 22:11:42 +00:00
Andrew Nacin
e7b2915ecd dbDelta: When parsing out the DEFAULT value, avoid being too greedy. props hbanken, fixes #15948.
git-svn-id: http://core.svn.wordpress.org/trunk@24065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 22:00:50 +00:00
Helen Hou-Sandí
95ed7c929f CSS coding standards for [23995]. props SergeyBiryukov. see #23810.
git-svn-id: http://core.svn.wordpress.org/trunk@24064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 21:57:03 +00:00
Andrew Nacin
874f650a39 Rename the show_post_format_ui filter to enable_post_format_ui. 'show' is a different concept - this filter entirely disables the UI. see #23929.
git-svn-id: http://core.svn.wordpress.org/trunk@24063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 21:07:42 +00:00
Bot (Assets)
644b8c619d Compress scripts/styles: 3.6-beta1-24060.
git-svn-id: http://core.svn.wordpress.org/trunk@24061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 20:58:40 +00:00
Andrew Nacin
cd2b1cffbf Redirect after save on options-permalink.php to ensure permalinks are fully flushed. fixes #9296. see #14345 for more.
git-svn-id: http://core.svn.wordpress.org/trunk@24060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 20:57:34 +00:00
Andrew Nacin
848304e3c0 Wait until keyup to set the slug input on the post page, otherwise the final character is not stored. props SergeyBiryukov, fixes #23613.
git-svn-id: http://core.svn.wordpress.org/trunk@24059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 20:52:43 +00:00
Andrew Nacin
00b7fa589a Remove ancient 'lookup' quicktag from the text editor. This had called up answers.com.
props mboynes, jonbishop, SergeyBiryukov.
fixes #23322.



git-svn-id: http://core.svn.wordpress.org/trunk@24052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 20:17:25 +00:00
Andrew Nacin
2e758c4b22 Customize requires edit_theme_options. If you only have switch_themes (rare, but a case that core supports), you should not have access. fixes #21413.
git-svn-id: http://core.svn.wordpress.org/trunk@24049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 19:37:26 +00:00
Andrew Nacin
b11654ce74 Revert [23871] - Customize should be added to the menu, but not hacked in as first. see #21413.
git-svn-id: http://core.svn.wordpress.org/trunk@24048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 19:33:39 +00:00
Andrew Nacin
d095eac796 Ensure that the resulting post time is localized after the date is changed. props SergeyBiryukov. fixes #24072.
git-svn-id: http://core.svn.wordpress.org/trunk@24046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 19:04:02 +00:00
Bot (Assets)
3685402f17 Compress scripts/styles: 3.6-beta1-24044.
git-svn-id: http://core.svn.wordpress.org/trunk@24044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 04:58:37 +00:00
Mark Jaquith
18aab9531a 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: http://core.svn.wordpress.org/trunk@24043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 04:00:25 +00:00
Andrew Ozz
d2a8f064aa 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: http://core.svn.wordpress.org/trunk@24042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 03:08:51 +00:00
Bot (Assets)
2a4474f4de Compress scripts/styles: 3.6-beta1-24041.
git-svn-id: http://core.svn.wordpress.org/trunk@24041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-19 22:58:38 +00:00
Dominik Schilling
b3aa214ea1 Revisions JS: Fix typo. props westi . fixes #24136.
git-svn-id: http://core.svn.wordpress.org/trunk@24040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-19 22:02:24 +00:00
Dominik Schilling
9313710f79 Post Formats: Change post screen icon on selection. props markjaquith. fixes #24140.
git-svn-id: http://core.svn.wordpress.org/trunk@24039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-19 22:00:10 +00:00
Bot (Assets)
73362d5ffc Compress scripts/styles: 3.6-beta1-24038.
git-svn-id: http://core.svn.wordpress.org/trunk@24038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-19 20:58:41 +00:00
Mark Jaquith
8b78d60800 Hide Media button for Status and Aside post types.
props kovshenin. fixes #24013.

git-svn-id: http://core.svn.wordpress.org/trunk@24037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-19 20:40:47 +00:00
Mark Jaquith
2d382c1a5c 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: http://core.svn.wordpress.org/trunk@24034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 18:07:58 +00:00
Andrew Nacin
ef3d64ccd9 Pass $post to display_post_states filter (in _post_states()).
git-svn-id: http://core.svn.wordpress.org/trunk@24028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 15:02:30 +00:00
Andrew Ozz
6573ffa1e1 Revisions: look at the version of the earliest revision when checking whether to upgrade the revisions authors, see #16215
git-svn-id: http://core.svn.wordpress.org/trunk@24026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 05:02:57 +00:00
Sergey Biryukov
5f2f48135b Rename some variables for consistency. Remove redundant absint() call. see #24010.
git-svn-id: http://core.svn.wordpress.org/trunk@24024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 00:40:36 +00:00
Bot (Assets)
c68aecdba2 Compress scripts/styles: 3.6-beta1-24023.
git-svn-id: http://core.svn.wordpress.org/trunk@24023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 22:58:38 +00:00
Bot (Assets)
c6f065991e Compress scripts/styles: 3.6-beta1-24021.
git-svn-id: http://core.svn.wordpress.org/trunk@24022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 20:58:42 +00:00
Mark Jaquith
412161de03 Standardize post format postmeta keys around the ones already used by the Crowd Favorite plugin.
props wonderboymusic. fixes #24010.

git-svn-id: http://core.svn.wordpress.org/trunk@24021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 20:57:44 +00:00
Dominik Schilling
670c0e173f Revisions UI: Disable previous and next buttons when you're on the first, and last node. Put revision ticks above the slider range. props lessbloat for initial patch. see #23899.
git-svn-id: http://core.svn.wordpress.org/trunk@24020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 20:12:25 +00:00
Dominik Schilling
45a9b723ee Revisions: Clean up JavaScript variable names, see #23901.
git-svn-id: http://core.svn.wordpress.org/trunk@24019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 19:34:21 +00:00
Sergey Biryukov
a1bbc975b4 Make sure the variables are always defined. props tlovett1, danielbachhuber. fixes #24034. fixes #24112.
git-svn-id: http://core.svn.wordpress.org/trunk@24011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 15:36:13 +00:00
Bot (Assets)
3841d591e6 Compress scripts/styles: 3.6-beta1-24008.
git-svn-id: http://core.svn.wordpress.org/trunk@24008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 06:58:39 +00:00
Mark Jaquith
81a2d77654 A little cleanup of post-formats.js
git-svn-id: http://core.svn.wordpress.org/trunk@24007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 05:22:14 +00:00
Mark Jaquith
56d5d62a19 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: http://core.svn.wordpress.org/trunk@24006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 04:08:46 +00:00
Mark Jaquith
755bece0bb Consistently apply class="title" to our options page h3 tags.
props norcross. fixes #24080.

git-svn-id: http://core.svn.wordpress.org/trunk@24002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-16 20:19:29 +00:00
Bot (Assets)
3a0aeb8013 Compress scripts/styles: 3.6-beta1-23997.
git-svn-id: http://core.svn.wordpress.org/trunk@23997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-15 20:58:38 +00:00
Bot (Assets)
0c4cd3cd94 Compress scripts/styles: 3.6-beta1-23995.
git-svn-id: http://core.svn.wordpress.org/trunk@23996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-15 18:58:41 +00:00
Dominik Schilling
2feeb121ff Revisions UI: Increase the text contrast/color for the diffs. see #23810.
git-svn-id: http://core.svn.wordpress.org/trunk@23995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-15 18:57:04 +00:00
Dominik Schilling
731f040664 Revisions UI: Remove the "To:" prefix from the header when viewing a single revision. Also prefix a revision field with a label.
props SergeyBiryukov, adamsilverstein, faishal. fixes #23903.

git-svn-id: http://core.svn.wordpress.org/trunk@23994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-15 18:40:17 +00:00
Sergey Biryukov
4cb9074985 Remove unused variables introduced in [23843]. see #19570.
git-svn-id: http://core.svn.wordpress.org/trunk@23993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-15 18:16:01 +00:00
Bot (Assets)
ff09215e32 Compress scripts/styles: 3.6-beta1-23990.
git-svn-id: http://core.svn.wordpress.org/trunk@23990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 16:58:35 +00:00
Mark Jaquith
de45c749df Constrain large videos from rendering bigger than $content_width on both frontend and backend.
props wonderboymusic. fixes #23955.

git-svn-id: http://core.svn.wordpress.org/trunk@23989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 16:43:26 +00:00
Bot (Assets)
1275da6ecd Compress scripts/styles: 3.6-beta1-23987.
git-svn-id: http://core.svn.wordpress.org/trunk@23987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 02:58:39 +00:00
Mark Jaquith
21bb61466a Only say we accept a raw video/audio embed code for unfiltered_html users.
props wonderboymusic. see #23961

git-svn-id: http://core.svn.wordpress.org/trunk@23985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 01:21:47 +00:00
Mark Jaquith
697bf3d70e Only remove ONE piece of media from the content in setup_postdata().
props wonderboymusic. fixes #24052.

git-svn-id: http://core.svn.wordpress.org/trunk@23984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 01:11:44 +00:00
Bot (Assets)
ce42190a4c Compress scripts/styles: 3.6-beta1-23983.
git-svn-id: http://core.svn.wordpress.org/trunk@23983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-13 00:58:37 +00:00
Andrew Ozz
e315287283 Fix accidental revert of revisions comparison in [23981]
git-svn-id: http://core.svn.wordpress.org/trunk@23982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-13 00:45:47 +00:00
Andrew Ozz
76302d7d3c Post locks: make sure we never overwrite a draft when it's locked, clean up wp_ajax_autosave() and make wp-refresh-post-lock a bit more robust, see #23697
git-svn-id: http://core.svn.wordpress.org/trunk@23981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-13 00:41:15 +00:00
Bot (Assets)
17204391be Compress scripts/styles: 3.6-beta1-23980.
git-svn-id: http://core.svn.wordpress.org/trunk@23980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 22:58:39 +00:00
Mark Jaquith
94c5f0aca1 Use ID3 data for audio and video
fixes #23926. props wonderboymusic, SergeyBiryukov, johnbillion.

git-svn-id: http://core.svn.wordpress.org/trunk@23979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 22:27:24 +00:00
Dominik Schilling
57dca8c80e Set a height for post title input
Firefox ​ignores the line-height because it declares line-height with `normal !important` in one of it's browser stylesheets. This can result in missing dots above umlauts.

props helen, lessbloat.
fixes #23189


git-svn-id: http://core.svn.wordpress.org/trunk@23976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 21:19:22 +00:00
Andrew Ozz
44752d0dad Revisions: compare revisions by date in wp_ajax_revisions_data(), deprecate the $parent arg in wp_list_post_revisions() as now revisions always include a copy of the current post, props adamsilverstein, see #23901
git-svn-id: http://core.svn.wordpress.org/trunk@23975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 19:29:21 +00:00
Ryan Boren
003941b2e7 Use API instead of bare SQL queries in site-users.php.
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 13:35:45 +00:00
Bot (Assets)
aa441349c8 Compress scripts/styles: 3.6-beta1-23970.
git-svn-id: http://core.svn.wordpress.org/trunk@23970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 22:58:39 +00:00
Mark Jaquith
4a3ced1433 Enforce video dimensions.
props wonderboymusic. see #23831.

git-svn-id: http://core.svn.wordpress.org/trunk@23969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 22:34:05 +00:00
Helen Hou-Sandí
bf12a91981 Add .edit-form-section class to the comment edit form for correct spacing. fixes #23240.
git-svn-id: http://core.svn.wordpress.org/trunk@23955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 19:20:13 +00:00