Commit Graph

22284 Commits

Author SHA1 Message Date
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
Ryan Boren
375cb66409 Use prepare() for the duplicate comment query in wp_allow_comment().
see #21767


git-svn-id: http://core.svn.wordpress.org/trunk@23973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-12 13:25:16 +00:00
Lance Willett
6907174995 Twenty Thirteen: adjust content_width value for video shortcodes in video post formats and on attachment templates. See #23955, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 23:06:15 +00:00
Lance Willett
e14e7d1dfe Twenty Thirteen: reinstate Audio post format max-width layout handling, lost in r23964. See #23955, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 22:58:59 +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
Mark Jaquith
03e8599e07 Update MediaElement.js to 2.11.1
Also get rid of its non-minified JS/CSS files.

props wonderboymusic, ocean90. fixes #24015.

git-svn-id: http://core.svn.wordpress.org/trunk@23968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 22:13:44 +00:00
Lance Willett
0253c4d8ae Twenty Thirteen: improve comment label selectors and nudge up their width a bit to account for non-English installs. Props obenland for initial patch, fixes #24039.
git-svn-id: http://core.svn.wordpress.org/trunk@23967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 18:06:10 +00:00
Lance Willett
280744f555 Twenty Thirteen: change Genericon element display to inline-block to avoid underlining the icon when its related element wrapped in a link. Props obenland, fixes #24045.
git-svn-id: http://core.svn.wordpress.org/trunk@23966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 18:03:01 +00:00
Lance Willett
2fe90e6312 Twenty Thirteen: adjust JavaScript handling for scrolling and finding viewport heigh/width to better support various IE versions. Also consolidate variables at the top of the file per best practices. Fixes #23841, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 16:11:46 +00:00
Lance Willett
2d85b8eb46 Twenty Thirteen: better handling of media in main content area, accounting for a sidebar and all viewport width possibilities. Props sabreuse and obenland, see #23955.
git-svn-id: http://core.svn.wordpress.org/trunk@23964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 16:03:08 +00:00
Lance Willett
fd39862cad Twenty Thirteen: improve gallery styles for IE7 and IE8, props kovshenin and obenland. Fixes #23996.
git-svn-id: http://core.svn.wordpress.org/trunk@23963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 15:59:52 +00:00
Lance Willett
3b8315737b Twenty Thirteen: minor design tweaks and fixes:
* Link color should be the same on all links that are on white or tan backgrounds, see #23784
 * Better color value for active menu item (red instead of tan)
 * Improved styles for quote citations that are wrapped in links
 * Better layout for single post navigation links when post titles are '''really''' long
 * Fix navbar border style for viewports at 1600 pixels wide and above

Props Joen and obenland.

git-svn-id: http://core.svn.wordpress.org/trunk@23962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 15:57:50 +00:00
Lance Willett
d5dc522dad Twenty Thirteen: add fallback selectors for older browsers that don't understand search input elements. Fixes #23997, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 23:19:55 +00:00
Bot (Assets)
50f0fe7785 Compress scripts/styles: 3.6-beta1-23960.
git-svn-id: http://core.svn.wordpress.org/trunk@23960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 22:58:42 +00:00
Lance Willett
fb3387b1d4 Twenty Thirteen: display gallery captions correctly in IE7 and IE8. Props celloexpressions and kovshenin, fixes #23996.
git-svn-id: http://core.svn.wordpress.org/trunk@23959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 22:44:29 +00:00
Ryan Boren
338c2afd86 Update MediaElement.js to 2.11.0.
Props wonderboymusic
see #24015


git-svn-id: http://core.svn.wordpress.org/trunk@23958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 22:38:30 +00:00
Lance Willett
3bcdb3fa1a Twenty Thirteen: add missing "yellow" color tag.
git-svn-id: http://core.svn.wordpress.org/trunk@23957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 22:32:51 +00:00
Mark Jaquith
262b3bd9b1 Don't allow images to be set as featured image until they have been processed.
props kadamwhite. fixes #23317.

git-svn-id: http://core.svn.wordpress.org/trunk@23956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 22:26:55 +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
Dominik Schilling
d46e2d405b jQuery Color 2.2.1. fixes #22562.
git-svn-id: http://core.svn.wordpress.org/trunk@23954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 17:29:55 +00:00
Bot (Assets)
7836f26b36 Compress scripts/styles: 3.6-beta1-23953.
git-svn-id: http://core.svn.wordpress.org/trunk@23953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 16:58:41 +00:00
Sergey Biryukov
c955859738 Remove \s from regex in pingback_ping() to avoid UTF-8 issues. props tenpura. fixes #24001.
git-svn-id: http://core.svn.wordpress.org/trunk@23952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 16:29:00 +00:00
Sergey Biryukov
fc8960a7fa Reset transition property in toolbar CSS to avoid conflicts with themes. props kwight. fixes #24031.
git-svn-id: http://core.svn.wordpress.org/trunk@23951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 16:18:15 +00:00
Sergey Biryukov
4471620636 Fix copy/paste error in user-new.php. props tivnet. fixes #24022.
git-svn-id: http://core.svn.wordpress.org/trunk@23950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 16:13:59 +00:00
Sergey Biryukov
97e19c7c3a Fix typo in upgrade_100(). props tivnet, bpetty. fixes #24020.
git-svn-id: http://core.svn.wordpress.org/trunk@23949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 16:04:36 +00:00
Sergey Biryukov
d454a9c86b Remove duplicate array key. props tivnet. fixes #24021.
git-svn-id: http://core.svn.wordpress.org/trunk@23948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 15:55:53 +00:00
Mark Jaquith
b2d13224ec No longer need to work around zend_hash_del_key_or_index bug. fixes #24029. see [4717]
git-svn-id: http://core.svn.wordpress.org/trunk@23947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 07:57:58 +00:00
Ryan Boren
63e67b414b Allow turning off the post formats UI via a show_post_format_ui filter.
Props johnbillion
see #23929


git-svn-id: http://core.svn.wordpress.org/trunk@23946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 22:43:28 +00:00
Lance Willett
3460979008 Twenty Thirteen: fix for right-aligned images breaking the main column layout in small screen sizes. Props obenland, fixes #23994.
git-svn-id: http://core.svn.wordpress.org/trunk@23945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 21:43:32 +00:00
Lance Willett
3d0c46a0ea Twenty Thirteen: remove overly-specific post meta styles, props ziegenberg and obenland. Fixes #23962.
git-svn-id: http://core.svn.wordpress.org/trunk@23944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 21:39:19 +00:00
Lance Willett
ede1d0ccef Twenty Thirteen: avoid galleries not being displayed on single in IE8, props obenland. See #23996.
git-svn-id: http://core.svn.wordpress.org/trunk@23943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 21:34:03 +00:00
Lance Willett
0a415ad893 Twenty Thirteen: better representative theme screenshot, props Joen. (Also shaves a few KB off previous file.)
git-svn-id: http://core.svn.wordpress.org/trunk@23942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 20:58:26 +00:00
Sergey Biryukov
15e919bd24 Use correct variable. fixes #24014. see #23119.
git-svn-id: http://core.svn.wordpress.org/trunk@23941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 20:50:45 +00:00
Sergey Biryukov
e3e667056d Add alt attribute for selected image. see #19570.
git-svn-id: http://core.svn.wordpress.org/trunk@23940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 17:12:47 +00:00
Sergey Biryukov
af0815a45c Fix inconsistent id attributes. props kovshenin. fixes #24006.
git-svn-id: http://core.svn.wordpress.org/trunk@23939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 17:08:25 +00:00
Sergey Biryukov
09317ba345 Use the function argument instead of the $post global in get_the_post_format_image(). props kovshenin. fixes #24003.
git-svn-id: http://core.svn.wordpress.org/trunk@23938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 16:28:09 +00:00
Sergey Biryukov
0cf4b02a4f Consistently use the function argument instead of the $post global in get_the_post_format_media(). props kovshenin. fixes #24003.
git-svn-id: http://core.svn.wordpress.org/trunk@23937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 13:42:53 +00:00
Ryan Boren
8bda27e12c _wp_preview_terms_filter() should be @since 3.6.0. Standardize on 3.6.0 instead of 3.6.
See #20564


git-svn-id: http://core.svn.wordpress.org/trunk@23936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 13:05:21 +00:00
Sergey Biryukov
b4859e8411 PHPDoc fixes and additions for post formats. props c3mdigital, DrewAPicture. fixes #23974.
git-svn-id: http://core.svn.wordpress.org/trunk@23935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 09:38:25 +00:00
Sergey Biryukov
beffadaefc Fix closing tag in revisions UI. props adamsilverstein. fixes #23999.
git-svn-id: http://core.svn.wordpress.org/trunk@23934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-08 23:38:48 +00:00
Andrew Ozz
f0fdba27ba Revisions: don't set revisions post_author with get_post_meta( $ID, '_edit_last' ). Not needed since we create revisions after saving the post and breaks per-user autosaves, see #16215
git-svn-id: http://core.svn.wordpress.org/trunk@23933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-08 00:08:33 +00:00
Sergey Biryukov
2c63da143b Fix inconsistent spacing in comment_form(). props sim, TravisHoffman. fixes #23878.
git-svn-id: http://core.svn.wordpress.org/trunk@23932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-07 23:57:35 +00:00
Helen Hou-Sandí
bd4cc15d68 Remove unnecessary label, placeholder, and class for a hidden input. see #23938.
git-svn-id: http://core.svn.wordpress.org/trunk@23931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-07 16:49:56 +00:00
Bot (Assets)
a7070f0992 Compress scripts/styles: 3.6-beta1-23930.
git-svn-id: http://core.svn.wordpress.org/trunk@23930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-07 00:58:39 +00:00
Andrew Ozz
9fe85b154e Revisions: move the call to _wp_upgrade_revisions_of_post() to edit-form-advanced.php, in the code block checking whether we should show the revisions postbox. See #16215
git-svn-id: http://core.svn.wordpress.org/trunk@23929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-06 23:43:05 +00:00
Andrew Ozz
33dd4b3d69 Revisions:
- Store the post format as meta on revisions (including autosaves).
- Add post formats data (post meta) when autosaving.
- Only add non-empty post formats data to revisions.
- Correct the post format when previewing a published post.
Props kovshenin, see #19570, see #20564.


git-svn-id: http://core.svn.wordpress.org/trunk@23928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-06 23:18:52 +00:00
Bot (Assets)
98fc1a774a Compress scripts/styles: 3.6-beta1-23927.
git-svn-id: http://core.svn.wordpress.org/trunk@23927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-06 22:58:42 +00:00
Andrew Ozz
50ff2315a6 Post formats: connect labels with fields, move the two css blocks dealing with formats next to each other, see #23938
git-svn-id: http://core.svn.wordpress.org/trunk@23926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-06 21:40:58 +00:00