Commit Graph

11756 Commits

Author SHA1 Message Date
Andrew Nacin
2523656757 delete_user_setting() and remove_action() were getting called with too many args. props rlerdorf. see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24125 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 13:25:15 +00:00
Sergey Biryukov
58b95c090e Fix typo in phpdoc. props belloswan. fixes #24217.
git-svn-id: https://develop.svn.wordpress.org/trunk@24124 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 12:49:33 +00:00
Sergey Biryukov
7ab8ec298f Remove extraneous function parameters in wp_video_shortcode(). props rlerdorf. see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24122 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 00:56:27 +00:00
Sergey Biryukov
7bace86018 Remove extraneous function parameters in the wpdb class. props rlerdorf. see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24121 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-29 00:31:56 +00:00
Sergey Biryukov
57b9f9ecab Fix typo in get_the_post_format_image(). props rlerdorf. see #23964. see #24210.
git-svn-id: https://develop.svn.wordpress.org/trunk@24118 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-28 06:36:39 +00:00
Andrew Ozz
903b602bcf Revert [24113], wp-tinymce.js.gz is missing couple of files.
git-svn-id: https://develop.svn.wordpress.org/trunk@24117 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-27 22:41:10 +00:00
Andrew Nacin
6e12deb13b WP_Query: If the post_type QV is an array with only one element, don't treat it as a multiple post type query.
If there is only one post type used by all taxonomies for a tax query, set the post type to the string.

fixes #24204.



git-svn-id: https://develop.svn.wordpress.org/trunk@24115 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-27 01:28:35 +00:00
bumpbot
74a535db1c Compress scripts/styles: 3.6-beta1-24113. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@24113 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 22:57:07 +00:00
Mark Jaquith
786e5483fc Fix the appearance of a blank media item due to [23893].
props kovshenin. fixes #24094.

git-svn-id: https://develop.svn.wordpress.org/trunk@24110 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 15:10:06 +00:00
bumpbot
b9c80d86ac Compress scripts/styles: 3.6-beta1-24100.
git-svn-id: https://develop.svn.wordpress.org/trunk@24100 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:58:41 +00:00
Sergey Biryukov
eaa45fb903 Fix typo in phpdoc. props jcastaneda. fixes #24185.
git-svn-id: https://develop.svn.wordpress.org/trunk@24096 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 23:10:36 +00:00
bumpbot
7ef190d486 Compress scripts/styles: 3.6-beta1-24095.
git-svn-id: https://develop.svn.wordpress.org/trunk@24095 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 08:58:43 +00:00
Mark Jaquith
6a6c0fb522 Prevent a PHP Warning for $post_format.
props MZAWeb, kovshenin. see #24011.

git-svn-id: https://develop.svn.wordpress.org/trunk@24094 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 08:02:38 +00:00
Mark Jaquith
116b530bb3 the_post_format_gallery() (and Twenty Thirteen using it).
fixes #24126. props obenland, wonderboymusic.

git-svn-id: https://develop.svn.wordpress.org/trunk@24093 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 07:42:59 +00:00
Mark Jaquith
3bde819dbe Screen option for Post Format UI.
props nacin. see #23930.

git-svn-id: https://develop.svn.wordpress.org/trunk@24092 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 07:28:33 +00:00
Mark Jaquith
63a5118e7e Smarter structured post format caching.
fixes #24002. props kovshenin, wonderboymusic.

git-svn-id: https://develop.svn.wordpress.org/trunk@24091 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 07:10:35 +00:00
bumpbot
629c86ddb2 Compress scripts/styles: 3.6-beta1-24090.
git-svn-id: https://develop.svn.wordpress.org/trunk@24090 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 06:58:41 +00:00
Mark Jaquith
bab5ddd458 Force gallery state for gallery post format.
props lessbloat, wonderboymusic. fixes #24062.

git-svn-id: https://develop.svn.wordpress.org/trunk@24087 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:43:14 +00:00
bumpbot
89872e2a71 Compress scripts/styles: 3.6-beta1-24086.
git-svn-id: https://develop.svn.wordpress.org/trunk@24086 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:05:54 +00:00
Mark Jaquith
31cf12d5e1 Fix issue with [embed] in post_format_compat.
props kovshenin. fixes #24070.

git-svn-id: https://develop.svn.wordpress.org/trunk@24083 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 03:52:05 +00:00
Mark Jaquith
4f425f4f11 Fix redundant use of array_keys() around get_post_format_slugs().
props SergeyBirkukov, wonderboymusic. fixes #24089.

git-svn-id: https://develop.svn.wordpress.org/trunk@24082 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 03:06:31 +00:00
Mark Jaquith
5c78df14f8 Add a post_format_meta filter.
props alexkingorg. fixes #24162.

git-svn-id: https://develop.svn.wordpress.org/trunk@24080 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:31:42 +00:00
Mark Jaquith
53de215895 Allow the_post_format_image() to choose an image size late in the game.
props davidwilliamson, SergeyBiryukov. fixes #23945.

git-svn-id: https://develop.svn.wordpress.org/trunk@24079 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:28:30 +00:00
Mark Jaquith
25a32a446c Fix mangled image output in compat function.
props wonderboymusic. see #24175.

git-svn-id: https://develop.svn.wordpress.org/trunk@24078 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:18:49 +00:00
Andrew Ozz
6303d1a71a Upgrade to Plupload 1.5.7, fixes #24163
git-svn-id: https://develop.svn.wordpress.org/trunk@24076 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-24 21:54:17 +00:00
Helen Hou-Sandi
1f621a48f9 Respect $compat values for the link format fallback output. props wonderboymusic. see #23347.
git-svn-id: https://develop.svn.wordpress.org/trunk@24075 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-23 23:19:29 +00:00
bumpbot
6eb2bc047a Compress scripts/styles: 3.6-beta1-24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@24067 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 22:58:34 +00:00
Mark Jaquith
065010983e 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: https://develop.svn.wordpress.org/trunk@24066 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 22:11:42 +00:00
Mark Jaquith
e3eda04c70 Fix some mangled HTML in image format posts compat.
props SergeyBiryukov. fixes #24147.

git-svn-id: https://develop.svn.wordpress.org/trunk@24062 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 21:01:03 +00:00
bumpbot
9c59e3a187 Compress scripts/styles: 3.6-beta1-24060.
git-svn-id: https://develop.svn.wordpress.org/trunk@24061 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:58:40 +00:00
Andrew Nacin
a67bb694c5 Return false in get_post_format() if the post does not exist.
props adamsilverstein, ericlewis.
fixes #23255.



git-svn-id: https://develop.svn.wordpress.org/trunk@24057 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:41:16 +00:00
Andrew Nacin
4d584800bf Add user_search_columns filter to WP_User_Query::prepare_query().
props aaroncampbell.
fixes #16366.



git-svn-id: https://develop.svn.wordpress.org/trunk@24056 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:37:50 +00:00
Andrew Nacin
88c8a08129 Image editors: multi_resize() should require height and width. Crop is now optional and defaults to false. props DH-Shredder. fixes #23884.
git-svn-id: https://develop.svn.wordpress.org/trunk@24055 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:28:05 +00:00
Andrew Nacin
a77be61eb6 Document that fetch_feed() can accept multiple URLs, thus leveraging SimplePie's multifeed feature. props JustinSainton, fixes #22140.
git-svn-id: https://develop.svn.wordpress.org/trunk@24054 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:24:41 +00:00
Andrew Nacin
a10e14ba57 Add wp_registration_url() and register_url filter.
props scribu, JustinSainton, SergeyBiryukov.
fixes #17950.



git-svn-id: https://develop.svn.wordpress.org/trunk@24053 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:21:22 +00:00
Andrew Nacin
57a7513b56 Remove ancient 'lookup' quicktag from the text editor. This had called up answers.com.
props mboynes, jonbishop, SergeyBiryukov.
fixes #23322.



git-svn-id: https://develop.svn.wordpress.org/trunk@24052 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:17:25 +00:00
Andrew Nacin
2958875d6c Improve the performance of backslashit() by avoiding regular expressions. backslashit() is used heavily in date_i18n().
props jbutkus.
fixes #22286.



git-svn-id: https://develop.svn.wordpress.org/trunk@24051 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:01:57 +00:00
Andrew Nacin
cabad11bb4 WP Styles: Correctly print 'after' data when scripts are concatenated. props stephenh1988. fixes #20836.
git-svn-id: https://develop.svn.wordpress.org/trunk@24047 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:22:09 +00:00
Andrew Nacin
3fc35855e9 Ensure that the resulting post time is localized after the date is changed. props SergeyBiryukov. fixes #24072.
git-svn-id: https://develop.svn.wordpress.org/trunk@24046 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:04:02 +00:00
Sergey Biryukov
b79ec28fef Correct phpdoc for get_content_quote(). props kovshenin. see #24009.
git-svn-id: https://develop.svn.wordpress.org/trunk@24045 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 14:36:43 +00:00
bumpbot
06b0176541 Compress scripts/styles: 3.6-beta1-24044.
git-svn-id: https://develop.svn.wordpress.org/trunk@24044 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 04:58:37 +00:00
Mark Jaquith
aeaf7787c0 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: https://develop.svn.wordpress.org/trunk@24043 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 04:00:25 +00:00
Andrew Ozz
008336ee9c 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: https://develop.svn.wordpress.org/trunk@24042 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 03:08:51 +00:00
bumpbot
db96892205 Compress scripts/styles: 3.6-beta1-24041.
git-svn-id: https://develop.svn.wordpress.org/trunk@24041 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 22:58:38 +00:00
bumpbot
36be772bd5 Compress scripts/styles: 3.6-beta1-24038.
git-svn-id: https://develop.svn.wordpress.org/trunk@24038 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 20:58:41 +00:00
Mark Jaquith
58ad769e8b 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: https://develop.svn.wordpress.org/trunk@24034 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 18:07:58 +00:00
Sergey Biryukov
b0706fba10 Only show database errors if WP_DEBUG_DISPLAY is enabled. props cheeserolls, storkontheroof, crazycoders. fixes #22203.
git-svn-id: https://develop.svn.wordpress.org/trunk@24027 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 09:51:02 +00:00
Andrew Ozz
d00b790c8e Revisions: when upgrading the revision author don't add a copy of the post as latest revision when some of the revisions are already at v1. See #16215
git-svn-id: https://develop.svn.wordpress.org/trunk@24025 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 04:43:59 +00:00
bumpbot
c1d8b36e6e Compress scripts/styles: 3.6-beta1-24023.
git-svn-id: https://develop.svn.wordpress.org/trunk@24023 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 22:58:38 +00:00
bumpbot
2a7889aafd Compress scripts/styles: 3.6-beta1-24021.
git-svn-id: https://develop.svn.wordpress.org/trunk@24022 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:58:42 +00:00