Andrew Nacin
f8d88e8dd7
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: https://develop.svn.wordpress.org/trunk@24525 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 21:18:08 +00:00
Andrew Nacin
c2350dee89
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: https://develop.svn.wordpress.org/trunk@24524 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 20:45:12 +00:00
bumpbot
d1d4859b11
Compress scripts/styles: 3.6-beta4-24523.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24523 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 18:25:01 +00:00
Andrew Nacin
0d3ca6acdd
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: https://develop.svn.wordpress.org/trunk@24521 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 02:46:23 +00:00
Mark Jaquith
ac0d0d1dee
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: https://develop.svn.wordpress.org/trunk@24520 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-26 21:06:50 +00:00
Andrew Nacin
a0601fabfe
Media: Render unsupported audio files as links instead of mediaelement. props kovshenin, fixes #23798 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24519 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-26 20:42:01 +00:00
Andrew Nacin
a85b87515e
Remove some old debug cruft left by yours truly. fixes #24462 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24518 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-26 19:33:58 +00:00
Ryan Boren
33188fb613
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: https://develop.svn.wordpress.org/trunk@24510 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 19:03:17 +00:00
Sergey Biryukov
6fc38f8160
Correct inline docs for is_wp_error(). props johnbillion. fixes #24637 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24507 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-24 18:23:45 +00:00
Sergey Biryukov
b5bb40cf2a
Use capitalized ID column name in get_adjacent_post(). props hypertextranch. fixes #24575 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24506 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-24 13:11:43 +00:00
Sergey Biryukov
7c906b0c38
Avoid an undefined index notice in WP_Widget_Recent_Posts::update(). props jrf. fixes #24577 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24504 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-23 08:20:08 +00:00
Andrew Nacin
0e18d28947
Broader fix for [24497] for setup-config.php in trunk. props SergeyBiryukov, markoheijnen. fixes #24627 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24503 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-23 06:02:19 +00:00
Sergey Biryukov
7c75f1e337
Use correct backreference in obsolete feed redirection code. props sweetie089. fixes #24623 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24502 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-22 12:09:28 +00:00
Andrew Nacin
a68ed07ee4
3.6-beta4
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24500 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 19:51:53 +00:00
Andrew Nacin
e0573ef18a
Only call wp_kses_bad_protocol() in WP_HTTP if it exists. It does not in setup-config.php.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24497 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 19:05:15 +00:00
Andrew Nacin
46022a51de
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: https://develop.svn.wordpress.org/trunk@24494 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 18:22:26 +00:00
Sergey Biryukov
de2951b057
Correct return value for get_role() and WP_Roles::get_role(). props tivnet. fixes #24607 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24491 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 13:01:55 +00:00
Sergey Biryukov
fbc2a6ca6d
PHPDoc fixes and additions. fixes #24616 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24490 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 12:45:11 +00:00
Andrew Nacin
53e6fb4376
Remove redundant swfupload-all.js file.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24488 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 09:26:18 +00:00
bumpbot
43ef5ad911
Compress scripts/styles: 3.6-beta3-24485. TinyMCE updated.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24485 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 07:19:07 +00:00
Andrew Nacin
fe79cf8fd7
Change the HTTP API's URL validation default, in trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24482 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 06:17:56 +00:00
Andrew Nacin
dfcf4b5eae
Better validation of the URL used in core HTTP requests.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24480 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 06:07:47 +00:00
Andrew Nacin
7380690be8
Update TinyMCE media plugin's moxieplayer.swf to latest.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24476 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 05:57:22 +00:00
Andrew Nacin
f23577500c
Build the media item HTML in a clearer manner in the legacy Plupload handler JS. Also update the retired SWFUpload handler JS.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24472 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 03:44:48 +00:00
Andrew Nacin
fbc7ae43c8
Better sanity checks in oEmbed XML handling. see [23158].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24470 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 03:29:13 +00:00
Andrew Nacin
3c3b517e07
Update swfupload binary.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24468 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 03:16:52 +00:00
Andrew Nacin
43dcd6d9f4
Validate post password hash.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24466 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 03:00:26 +00:00
Andrew Nacin
626e77ec3b
Add strict check to wp_verify_nonce() to avoid issues when it is improperly called.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24461 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 02:11:31 +00:00
Andrew Nacin
3c5073e119
Have wpdb::flush() reset more variables.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24459 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 01:32:54 +00:00
Andrew Nacin
473bef521b
Add strict check to phpass's CheckPassword() method to avoid issues when the method is improperly called.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24457 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-21 01:21:12 +00:00
Mark Jaquith
0aed5a2803
Squash some PHP notices in taxonomy queries.
...
props hakre, wonderboymusic. fixes #16465 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24456 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-20 17:21:13 +00:00
Andrew Nacin
c69462faa8
Add some localized date/time strings to the main wordpress.pot. These strings appear in the admin only but can be leveraged outside of the admin by design. fixes #22916 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24454 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-20 14:27:37 +00:00
bumpbot
e669246779
Compress scripts/styles: 3.6-beta3-24450.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24450 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 22:58:57 +00:00
Andrew Nacin
ea92deb1bb
Fix storage of illegal_names. Add an upgrade routine to fix bad values.
...
props SergeyBiryukov.
see #23418 .
for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24448 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 22:06:42 +00:00
Mark Jaquith
fb97e258f9
Restore code that returns the existing media object if it already exists.
...
props programmin, adamsilverstein. fixes #24062
git-svn-id: https://develop.svn.wordpress.org/trunk@24447 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 21:55:17 +00:00
Andrew Nacin
d0ebb97b4e
Use correct variable order in add_query_arg(). This had mostly just filled error logs; it also broke some obscure URL situations. see #23284 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24444 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 08:33:10 +00:00
Andrew Nacin
50228002e8
Don't render the screen reader shortcut 'Log Out' link in the toolbar when the user is not logged in.
...
props SergeyBiryukov.
fixes #23178 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24442 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 08:15:04 +00:00
Andrew Nacin
e5200a2d19
Fall back to non-translated strings in _doing_it_wrong() if the translation function doesn't exist. This may be the case in sunrise, for example.
...
props SergeyBiryukov.
fixes #23555 .
for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@24439 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 08:11:59 +00:00
Andrew Nacin
18a1feccaa
Fix context for get_post() in the deprecated wp_get_single_post(). fixes #24602 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24436 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-19 07:58:28 +00:00
Andrew Nacin
443609fcab
Pass value and expiration to result hooks in set_transient() and set_site_transient(). props johnbillion, fixes #24583 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24433 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-16 04:06:12 +00:00
bumpbot
6aef31fc5f
Compress scripts/styles: 3.6-beta3-24432.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24432 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-09 00:58:58 +00:00
Andrew Ozz
88e774f7a0
Autosave: properly set autosaveLast when TinyMCE is the default editor. Prevents firing autosave when there are no changes. See #23220
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24431 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-09 00:45:01 +00:00
bumpbot
324f088c27
Compress scripts/styles: 3.6-beta3-24430.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24430 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 18:58:57 +00:00
bumpbot
9c0bf86c47
Compress scripts/styles: 3.6-beta3-24427.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24427 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 16:58:58 +00:00
bumpbot
cd69621b0a
Compress scripts/styles: 3.6-beta3-24420.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24420 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 16:58:53 +00:00
Mark Jaquith
c77d6c27c3
Properly uncheck the "new tab" box when editing a non-new-tab link.
...
Previously, if you had just edited a new-tab link, a subsequent edit of a non-new-tab link would mistakenly keep the checkbox checked.
props sc0ttkclark. fixes #24520 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24419 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 16:49:25 +00:00
Andrew Nacin
6204be9e9c
`add_theme_support( 'html5', array( 'comment-list', 'search-form', 'comment-form' ) );'
...
props obenland.
see #23850 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24417 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 15:31:34 +00:00
bumpbot
4130788d81
Compress scripts/styles: 3.6-beta3-24416.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24416 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 14:58:54 +00:00
Mark Jaquith
31892c0226
Restore post format previewing.
...
props azaozz. fixes #24483
git-svn-id: https://develop.svn.wordpress.org/trunk@24414 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 14:39:08 +00:00
Dominik Schilling (ocean90)
c9be4070d3
Update MediaElement.js to 2.12.0. see #24183 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24410 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 21:50:23 +00:00
bumpbot
2a6b867ba1
Compress scripts/styles: 3.6-beta3-24407.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24407 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 00:59:01 +00:00
Andrew Ozz
22f855d84e
Heartbeat: rename some vars/args to make them more intuitive, don't set user_id on every request, see #23216
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24406 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-05 00:13:40 +00:00
Mark Jaquith
cf3f5acf71
Lose content removal and splitting from the media extraction functions.
...
see #24484
git-svn-id: https://develop.svn.wordpress.org/trunk@24400 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 19:27:58 +00:00
Mark Jaquith
bf9dd62a78
Remove a bunch of Post Format template functions.
...
* get_post_format_meta()
* add_chat_detection_format()
* get_content_chat()
* get_the_post_format_chat()
* the_post_format_chat()
* get_content_quote()
* get_the_post_format_quote()
* the_post_format_quote()
* get_the_post_format_url()
* the_post_format_url()
* get_the_remaining_content()
* the_remaining_content()
see #24452
git-svn-id: https://develop.svn.wordpress.org/trunk@24399 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-02 16:26:10 +00:00
bumpbot
9bdd15126d
Compress scripts/styles: 3.6-beta3-24398.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24398 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-02 02:59:00 +00:00
Andrew Ozz
2390c48b88
Remove saving of post_format in autosave and revisions, fixes #24455
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24397 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-02 01:29:44 +00:00
Dominik Schilling (ocean90)
8f76467c57
Update to jQuery 1.10.1. fixes #24426 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24395 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-01 09:16:11 +00:00
Mark Jaquith
e0a0e46abd
First pass at removing Post Format UI.
...
see #24452 . fixes #24455 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24388 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-30 21:33:46 +00:00
Mark Jaquith
87a35c7838
Revert [23450]. Removes post format compat.
...
see #23347 , #24452 . closes #24454 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24387 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-30 17:55:22 +00:00
Mark Jaquith
234bebef0b
Revert [23467]. Removes structured-post-format theme support.
...
see #23347 , #24452 . closes #24453 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24386 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-30 17:55:14 +00:00
bumpbot
c436a18bbc
Compress scripts/styles: 3.6-beta3-24385.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24385 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-30 00:59:02 +00:00
Andrew Ozz
a6503c1091
Heartbeat: in isLocalFrame() compare window.location.origin to iframe.src to stop most cases where WebKit triggers errors about different iframe origin, see #23216
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24384 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-30 00:08:53 +00:00
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