Commit Graph

22517 Commits

Author SHA1 Message Date
Andrew Nacin
98832852dc Remove attachment_url_to_postid(). props kovshenin, wonderboymusic. see #24458.
git-svn-id: http://core.svn.wordpress.org/trunk@24548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 20:23:48 +00:00
Andrew Nacin
6500a24719 Call shortcode functions directly. props kovshenin, fixes #24505.
git-svn-id: http://core.svn.wordpress.org/trunk@24547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 20:19:00 +00:00
Andrew Nacin
585eda125a jQuery 1.10.2. props ocean90. fixes #24426.
git-svn-id: http://core.svn.wordpress.org/trunk@24546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 20:11:44 +00:00
Andrew Ozz
2c93798e2b TinyMCE: normalize font size for H1 - H6 submenu, fixes #24586.
git-svn-id: http://core.svn.wordpress.org/trunk@24545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 02:03:19 +00:00
Andrew Ozz
5d1439e247 Heartbeat: fix comment spelling
git-svn-id: http://core.svn.wordpress.org/trunk@24544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 01:59:46 +00:00
Andrew Ozz
504c10dbba Post locks: load the post locked dialog html in post-new.php too, see #23697.
git-svn-id: http://core.svn.wordpress.org/trunk@24543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-03 01:50:39 +00:00
Lance Willett
6be5522081 Twenty Thirteen: minor CSS cleanup for navigation, props gorgoglionemeister. Closes #24651.
git-svn-id: http://core.svn.wordpress.org/trunk@24542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-02 23:02:02 +00:00
Lance Willett
c9f348113b Twenty Thirteen: enqueue Genericons CSS file for use in visual editor styles. Props DrewAPicture, closes #24595.
git-svn-id: http://core.svn.wordpress.org/trunk@24541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-02 22:58:42 +00:00
Lance Willett
c63d6d84f0 Twenty Thirteen: update IE styles to match changes in r24524. See #23850.
git-svn-id: http://core.svn.wordpress.org/trunk@24540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 18:30:57 +00:00
Dominik Schilling
f27e762085 Replace the cite element with a b element to markup the comment author in comment_html5().
In HTML5 the `cite` element isn't valid for just an author's name.
"The cite element represents the title of a work [..] A person's name is not the title of a work" (http://www.w3.org/TR/html5/text-level-semantics.html#the-cite-element)

fixed #24522.

git-svn-id: http://core.svn.wordpress.org/trunk@24539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 18:26:16 +00:00
Bot (Translations)
faf6603749 POT, generated from r24537
git-svn-id: http://core.svn.wordpress.org/trunk@24538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 18:14:29 +00:00
Lance Willett
e958c7ca49 Twenty Thirteen: cleanup for functions.php file, props obenland. See #24653.
git-svn-id: http://core.svn.wordpress.org/trunk@24537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 17:27:41 +00:00
Lance Willett
44d65f04cc Twenty Thirteen: update RTL styles to match changes in r24524, props obenland. See #23850.
git-svn-id: http://core.svn.wordpress.org/trunk@24536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 17:26:15 +00:00
Lance Willett
5be4fb5284 Twenty Thirteen: ensure b element in comment markup isn't bold. Props ocean90, see #24522.
git-svn-id: http://core.svn.wordpress.org/trunk@24535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 17:25:05 +00:00
Bot (Assets)
5d50f038fa Compress scripts/styles: 3.6-beta4-24534.
git-svn-id: http://core.svn.wordpress.org/trunk@24534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 16:11:01 +00:00
Dominik Schilling
8c9b10ae18 RTL: Use direction: ltr for the URL inputs in the media frame. props DrewAPicture. fixed #24326.
git-svn-id: http://core.svn.wordpress.org/trunk@24533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 10:15:07 +00:00
Dominik Schilling
6fb63c7bb6 Install: Fix the value of the for attribute for the label of the username field.
git-svn-id: http://core.svn.wordpress.org/trunk@24532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-30 11:18:35 +00:00
Dominik Schilling
2446c80c49 Add a label to the second password field on User New and User Edit screen. props MikeHansenMe. fixes #20294.
git-svn-id: http://core.svn.wordpress.org/trunk@24531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-30 11:13:34 +00:00
Sergey Biryukov
8655b33360 Make wp_mail() return the actual result of PHPMailer::Send() instead of always returning true. props chmac. fixes #23642.
git-svn-id: http://core.svn.wordpress.org/trunk@24530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-29 23:03:13 +00:00
Dominik Schilling
2bf327f3b2 Revisions UI: Fix table colgroup (Say what?) for post titles when they haven't been changed. see #24425.
git-svn-id: http://core.svn.wordpress.org/trunk@24529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-29 17:45:02 +00:00
Andrew Ozz
b8b66e2cc1 Nonce refresh:
- Update the heartbeat nonce when refreshing nonces on the Edit Post screen.
- After a user logs in from the auth-check dialog, speed up heatrbeat to check/refresh nonces on the Edit Post screen.
- Speeding up heartbeat: bring back the setting how long it should last (how many ticks).
- Add 'heartbeat-nonces-expired' jQuery event when nonces have expired and the user is logged in.
See #23295, see #23216.

git-svn-id: http://core.svn.wordpress.org/trunk@24528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-29 01:31:44 +00:00
Andrew Ozz
7862ae7294 Post locked dialog: remove the "Go to" part from the button as it's not translatable. Fixes #24547.
git-svn-id: http://core.svn.wordpress.org/trunk@24527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-27 21:59:48 +00:00
Andrew Nacin
6d96d25340 Twenty Thirteen: Update comment form selectors with new classes added in r24525.
props obenland.
fixes #23851.



git-svn-id: http://core.svn.wordpress.org/trunk@24526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-27 21:19:02 +00:00
Andrew Nacin
ca1e73ca84 Comment form: Add HTML classes.
* #respond gains .comment-respond
 * #reply-title gains .comment-reply-titlw
 * form gains .comment-form

props obenland.
see #23851.



git-svn-id: http://core.svn.wordpress.org/trunk@24525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-27 21:18:08 +00:00
Andrew Nacin
ff6dd2b952 Improve the HTML classes for the new html5 format in get_search_form().
Update Twenty Thirteen to reflect the changes.

props obenland.
fixes #23850.



git-svn-id: http://core.svn.wordpress.org/trunk@24524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-27 20:45:12 +00:00
Bot (Assets)
68ec768ba3 Compress scripts/styles: 3.6-beta4-24523.
git-svn-id: http://core.svn.wordpress.org/trunk@24523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-27 18:25:01 +00:00
Sergey Biryukov
c3b321d0bd Consistently use get_post_format_string() to get Standard post format name with the correct context. props johnbillion. fixes #23503.
git-svn-id: http://core.svn.wordpress.org/trunk@24522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-27 06:56:45 +00:00
Andrew Nacin
f3e96f0c60 Add strict check in wp_xmlrpc_server::set_custom_fields(). The slash strip ensures these values are the same data type, but it might not be that way forever. props xknown.
git-svn-id: http://core.svn.wordpress.org/trunk@24521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-27 02:46:23 +00:00
Mark Jaquith
77abb9ff01 Cleanup of the revisions screen, both on the PHP API side, and the JS.
* Much simpler PHP API
* Cleaner and more Backbone-y JS API
* Consequently, does batch queries; this now scales up to hundreds of revisions

Currently missing, but much easier considering the cleaned up base:

* Compare two mode
* RTL

props koopersmith, nacin, adamsilverstein, ocean90. see #24425

git-svn-id: http://core.svn.wordpress.org/trunk@24520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-26 21:06:50 +00:00
Andrew Nacin
b14622b2ff Media: Render unsupported audio files as links instead of mediaelement. props kovshenin, fixes #23798.
git-svn-id: http://core.svn.wordpress.org/trunk@24519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-26 20:42:01 +00:00
Andrew Nacin
3ddb3c0abb Remove some old debug cruft left by yours truly. fixes #24462.
git-svn-id: http://core.svn.wordpress.org/trunk@24518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-26 19:33:58 +00:00
Bot (Translations)
bec7619839 POT, generated from r24516
git-svn-id: http://core.svn.wordpress.org/trunk@24517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 22:14:23 +00:00
Lance Willett
dfca21472c Twenty Thirteen: enqueue Genericons CSS from its own file, to allow for easier updates and maintenance, and to allow for better plugin overrides. Props obenland, closes #24595.
git-svn-id: http://core.svn.wordpress.org/trunk@24516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 22:03:42 +00:00
Lance Willett
bf9a690953 Twenty Thirteen: update Genericons font files to latest version, 2.09. See #24595.
git-svn-id: http://core.svn.wordpress.org/trunk@24515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 21:58:13 +00:00
Lance Willett
a0d63de4f8 Twenty Thirteen: JS fix, after r24511 changes -- add missing semicolon to end variable definition. See #24643.
git-svn-id: http://core.svn.wordpress.org/trunk@24514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 21:30:43 +00:00
Lance Willett
a0172203fc Twenty Thirteen: remove box-sizing styles from site wrapper element to avoid horizontal scrollbars in large viewports. Fixes #24599, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@24513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 21:13:52 +00:00
Lance Willett
0edc3b8ad2 Twenty Thirteen: add editor styles for post formats back in. Props celloexpressions, closes #24308.
git-svn-id: http://core.svn.wordpress.org/trunk@24512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 21:10:37 +00:00
Lance Willett
0c7a17d735 Twenty Thirteen: functions.js optimizations, props obenland. Fixes #24643.
git-svn-id: http://core.svn.wordpress.org/trunk@24511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 21:09:00 +00:00
Ryan Boren
419fea1a16 Normalize the UTF-8 and ISO-8859-1 charset strings stored in blog_charset to make them friendlier with PHP functions that accept a charset such as htmlspecialchars().
fixes #23688


git-svn-id: http://core.svn.wordpress.org/trunk@24510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 19:03:17 +00:00
Sergey Biryukov
5744245cc3 Avoid a fatal error when adding a non-existent user to a site. props duck_. fixes #24460.
git-svn-id: http://core.svn.wordpress.org/trunk@24509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 14:24:18 +00:00
Sergey Biryukov
34d0f347ad Revert to storing a hash of the slashed password. fixes #24367. see #17018.
git-svn-id: http://core.svn.wordpress.org/trunk@24508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 11:14:50 +00:00
Sergey Biryukov
d842da10e7 Correct inline docs for is_wp_error(). props johnbillion. fixes #24637.
git-svn-id: http://core.svn.wordpress.org/trunk@24507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-24 18:23:45 +00:00
Sergey Biryukov
642202c02a Use capitalized ID column name in get_adjacent_post(). props hypertextranch. fixes #24575.
git-svn-id: http://core.svn.wordpress.org/trunk@24506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-24 13:11:43 +00:00
Sergey Biryukov
2ebbe00b55 Remove obsolete translator comment. props zeo. fixes #24464.
git-svn-id: http://core.svn.wordpress.org/trunk@24505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-23 08:30:30 +00:00
Sergey Biryukov
98d6c31f84 Avoid an undefined index notice in WP_Widget_Recent_Posts::update(). props jrf. fixes #24577.
git-svn-id: http://core.svn.wordpress.org/trunk@24504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-23 08:20:08 +00:00
Andrew Nacin
3be3080228 Broader fix for [24497] for setup-config.php in trunk. props SergeyBiryukov, markoheijnen. fixes #24627.
git-svn-id: http://core.svn.wordpress.org/trunk@24503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-23 06:02:19 +00:00
Sergey Biryukov
8792da0820 Use correct backreference in obsolete feed redirection code. props sweetie089. fixes #24623.
git-svn-id: http://core.svn.wordpress.org/trunk@24502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-22 12:09:28 +00:00
Andrew Nacin
1e83cf5c53 3.6-beta4
git-svn-id: http://core.svn.wordpress.org/trunk@24500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 19:51:53 +00:00
Andrew Nacin
6ed3a582ef Only call wp_kses_bad_protocol() in WP_HTTP if it exists. It does not in setup-config.php.
git-svn-id: http://core.svn.wordpress.org/trunk@24497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 19:05:15 +00:00
Andrew Nacin
2ac8311b74 Partially revert [24459] and only flush insert_id on the next insert or replace query, as we had been doing before. (Yes, this is not how mysql_insert_id() works.)
git-svn-id: http://core.svn.wordpress.org/trunk@24494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 18:22:26 +00:00