Ryan Boren
fc239715ca
Use API instead of bare SQL queries in site-users.php.
...
see #21767
git-svn-id: https://develop.svn.wordpress.org/trunk@23974 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-12 13:35:45 +00:00
Ryan Boren
c3e471a535
Use prepare() for the duplicate comment query in wp_allow_comment().
...
see #21767
git-svn-id: https://develop.svn.wordpress.org/trunk@23973 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-12 13:25:16 +00:00
Lance Willett
87a94a7635
Twenty Thirteen: adjust `content_width` value for video shortcodes in video post formats and on attachment templates. See #23955 , props obenland.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23972 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 23:06:15 +00:00
Lance Willett
0e44a2dba0
Twenty Thirteen: reinstate Audio post format max-width layout handling, lost in r23964. See #23955 , props obenland.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23971 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 22:58:59 +00:00
bumpbot
0e4de5bb97
Compress scripts/styles: 3.6-beta1-23970.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23970 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 22:58:39 +00:00
Mark Jaquith
79c4e52ffa
Enforce video dimensions.
...
props wonderboymusic. see #23831 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23969 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 22:34:05 +00:00
Mark Jaquith
b340e0a6c8
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: https://develop.svn.wordpress.org/trunk@23968 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 22:13:44 +00:00
Lance Willett
37842118d2
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: https://develop.svn.wordpress.org/trunk@23967 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 18:06:10 +00:00
Lance Willett
c25cac4dd6
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: https://develop.svn.wordpress.org/trunk@23966 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 18:03:01 +00:00
Lance Willett
acc50b7cb1
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: https://develop.svn.wordpress.org/trunk@23965 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 16:11:46 +00:00
Lance Willett
bf556f4a3b
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: https://develop.svn.wordpress.org/trunk@23964 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 16:03:08 +00:00
Lance Willett
75549e368b
Twenty Thirteen: improve gallery styles for IE7 and IE8, props kovshenin and obenland. Fixes #23996 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23963 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 15:59:52 +00:00
Lance Willett
2bb14f8626
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: https://develop.svn.wordpress.org/trunk@23962 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 15:57:50 +00:00
Lance Willett
13089f39bc
Twenty Thirteen: add fallback selectors for older browsers that don't understand `search` input elements. Fixes #23997 , props obenland.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23961 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 23:19:55 +00:00
bumpbot
514d5d2204
Compress scripts/styles: 3.6-beta1-23960.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23960 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 22:58:42 +00:00
Lance Willett
e7726bc6dc
Twenty Thirteen: display gallery captions correctly in IE7 and IE8. Props celloexpressions and kovshenin, fixes #23996 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23959 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 22:44:29 +00:00
Ryan Boren
c5e0ff6017
Update MediaElement.js to 2.11.0.
...
Props wonderboymusic
see #24015
git-svn-id: https://develop.svn.wordpress.org/trunk@23958 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 22:38:30 +00:00
Lance Willett
6dd9b1ba06
Twenty Thirteen: add missing "yellow" color tag.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23957 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 22:32:51 +00:00
Mark Jaquith
518aaabfab
Don't allow images to be set as featured image until they have been processed.
...
props kadamwhite. fixes #23317 .
git-svn-id: https://develop.svn.wordpress.org/trunk@23956 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 22:26:55 +00:00
Helen Hou-Sandi
571d74d1de
Add `.edit-form-section` class to the comment edit form for correct spacing. fixes #23240 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23955 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 19:20:13 +00:00
Dominik Schilling (ocean90)
ef0c6be239
jQuery Color 2.2.1. fixes #22562 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23954 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 17:29:55 +00:00
bumpbot
dd7b0786fa
Compress scripts/styles: 3.6-beta1-23953.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23953 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 16:58:41 +00:00
Sergey Biryukov
a198eac988
Remove \s from regex in pingback_ping() to avoid UTF-8 issues. props tenpura. fixes #24001 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23952 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 16:29:00 +00:00
Sergey Biryukov
84fb704172
Reset transition property in toolbar CSS to avoid conflicts with themes. props kwight. fixes #24031 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23951 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 16:18:15 +00:00
Sergey Biryukov
d7d0217f0e
Fix copy/paste error in user-new.php. props tivnet. fixes #24022 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23950 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 16:13:59 +00:00
Sergey Biryukov
021c744c82
Fix typo in upgrade_100(). props tivnet, bpetty. fixes #24020 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23949 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 16:04:36 +00:00
Sergey Biryukov
6b040372c1
Remove duplicate array key. props tivnet. fixes #24021 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23948 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 15:55:53 +00:00
Mark Jaquith
f646510aaa
No longer need to work around zend_hash_del_key_or_index bug. fixes #24029 . see [4717]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23947 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-10 07:57:58 +00:00
Ryan Boren
f69b7492e4
Allow turning off the post formats UI via a show_post_format_ui filter.
...
Props johnbillion
see #23929
git-svn-id: https://develop.svn.wordpress.org/trunk@23946 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 22:43:28 +00:00
Lance Willett
be00e2b9cd
Twenty Thirteen: fix for right-aligned images breaking the main column layout in small screen sizes. Props obenland, fixes #23994 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23945 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 21:43:32 +00:00
Lance Willett
fcc607c1b2
Twenty Thirteen: remove overly-specific post meta styles, props ziegenberg and obenland. Fixes #23962 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23944 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 21:39:19 +00:00
Lance Willett
e84dc5390e
Twenty Thirteen: avoid galleries not being displayed on single in IE8, props obenland. See #23996 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23943 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 21:34:03 +00:00
Lance Willett
ea2111d445
Twenty Thirteen: better representative theme screenshot, props Joen. (Also shaves a few KB off previous file.)
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23942 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 20:58:26 +00:00
Sergey Biryukov
4f5e194154
Use correct variable. fixes #24014 . see #23119 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23941 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 20:50:45 +00:00
Sergey Biryukov
99a0fef80c
Add alt attribute for selected image. see #19570 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23940 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 17:12:47 +00:00
Sergey Biryukov
db94cf138b
Fix inconsistent id attributes. props kovshenin. fixes #24006 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23939 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 17:08:25 +00:00
Sergey Biryukov
c579fc339b
Use the function argument instead of the $post global in get_the_post_format_image(). props kovshenin. fixes #24003 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23938 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 16:28:09 +00:00
Sergey Biryukov
c436d61d37
Consistently use the function argument instead of the $post global in get_the_post_format_media(). props kovshenin. fixes #24003 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23937 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 13:42:53 +00:00
Ryan Boren
131e90a91a
_wp_preview_terms_filter() should be @since 3.6.0. Standardize on 3.6.0 instead of 3.6.
...
See #20564
git-svn-id: https://develop.svn.wordpress.org/trunk@23936 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 13:05:21 +00:00
Sergey Biryukov
929cfec65c
PHPDoc fixes and additions for post formats. props c3mdigital, DrewAPicture. fixes #23974 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23935 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-09 09:38:25 +00:00
Sergey Biryukov
d25e6cb006
Fix closing tag in revisions UI. props adamsilverstein. fixes #23999 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23934 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-08 23:38:48 +00:00
Andrew Ozz
cd9306e6ac
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: https://develop.svn.wordpress.org/trunk@23933 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-08 00:08:33 +00:00
Sergey Biryukov
6c981a7835
Fix inconsistent spacing in comment_form(). props sim, TravisHoffman. fixes #23878 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23932 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-07 23:57:35 +00:00
Helen Hou-Sandi
f7857ce942
Remove unnecessary label, placeholder, and class for a hidden input. see #23938 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23931 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-07 16:49:56 +00:00
bumpbot
120caba65a
Compress scripts/styles: 3.6-beta1-23930.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23930 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-07 00:58:39 +00:00
Andrew Ozz
7c4cebe1c5
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: https://develop.svn.wordpress.org/trunk@23929 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-06 23:43:05 +00:00
Andrew Ozz
48dc22b9eb
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: https://develop.svn.wordpress.org/trunk@23928 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-06 23:18:52 +00:00
bumpbot
0e3dd60eae
Compress scripts/styles: 3.6-beta1-23927.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23927 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-06 22:58:42 +00:00
Andrew Ozz
7ebe9d62c6
Post formats: connect labels with fields, move the two css blocks dealing with formats next to each other, see #23938
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23926 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-06 21:40:58 +00:00
Andrew Nacin
2f7c193378
Remove dead code. Removed in [23445], accidentally reinstated in [23554]. This was found during wp_reset_vars() cleanup. see #21767 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23925 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-06 20:47:12 +00:00