Commit Graph

23429 Commits

Author SHA1 Message Date
Dion Hulse
f32eac7a75 Add a svn:ignore property to wp-content, wp-content/plugins, and, wp-content/themes to clean up the output of a svn status, this means that plugins/themes/uploads won't clutter the svn status output. Fixes #25337 See #24976
git-svn-id: https://develop.svn.wordpress.org/trunk@25559 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-22 04:25:14 +00:00
Drew Jaynes
05ae44eaca Inline documentation for hooks in wp-admin/includes/ajax-actions.php.
Fixes #25374.


git-svn-id: https://develop.svn.wordpress.org/trunk@25558 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 20:46:15 +00:00
Scott Taylor
74ec1ce5ed tests/phpunit/data/images/a2-small-100x75.jpg should not be checked in - it is generated in a test method and unlink()'d since [25507].
git-svn-id: https://develop.svn.wordpress.org/trunk@25557 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 18:51:55 +00:00
Drew Jaynes
8c8a0b990c Make the WP_List_Table::months_dropdown() query results filterable.
Introduces the `months_dropdown_results` filter.

Fixes #17022.


git-svn-id: https://develop.svn.wordpress.org/trunk@25556 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 18:34:26 +00:00
Scott Taylor
0d5bebfe0e Add an $args parameter to comment_text and get_comment_text filters. Adds filter docs. Improve docblocks for get_comment_text() and comment_text().
Props simonwheatley, ericlewis, DrewAPicture.
Fixes #14856. 



git-svn-id: https://develop.svn.wordpress.org/trunk@25555 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 18:17:22 +00:00
Scott Taylor
5a74d939ec Add hooks to wp_count_posts(). Adds filter docs. Adds unit test to test count_posts filter.
Props nacin, DrewAPicture. 
Fixes #16603.



git-svn-id: https://develop.svn.wordpress.org/trunk@25554 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 17:54:36 +00:00
Scott Taylor
0d6c7bbbc3 Add @access private to _get_custom_object_labels(), which was already implied by the dangling underscore. Cast $labels to array in get_taxonomy_labels() and _get_custom_object_labels().
Props nacin, foofy.
Fixes #16310.



git-svn-id: https://develop.svn.wordpress.org/trunk@25553 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 17:43:14 +00:00
Scott Taylor
7cca3e427b Alter some text for clarity on the Media Settings page.
Props layotte, DrewAPicture.
Fixes #15732.



git-svn-id: https://develop.svn.wordpress.org/trunk@25552 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 17:27:40 +00:00
Scott Taylor
325b1bf175 Ensure that terms with a post count of 0 are not returned in wp_count_terms() when hide_empty => true. Adds unit test which ensures that wp_count_terms() returns 0.
Props markjaquith.
Fixes #15919.



git-svn-id: https://develop.svn.wordpress.org/trunk@25551 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 16:47:43 +00:00
Scott Taylor
825faf32da Use elseif when slurping the nonce in check_ajax_referer() to avoid accidentally overwriting it.
Fail wonderboymusic in [25433].
Props ocean90.
Fixes #25369.
See [25433].



git-svn-id: https://develop.svn.wordpress.org/trunk@25550 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 16:25:57 +00:00
Dominik Schilling (ocean90)
5315632f13 Update Jcrop to 0.9.12 (unused in WP core).
fixes #25342.

git-svn-id: https://develop.svn.wordpress.org/trunk@25549 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 12:45:47 +00:00
Dominik Schilling (ocean90)
4a1075909e Update imgAreaSelect version in script-loader.php for [25545], see #25370.
git-svn-id: https://develop.svn.wordpress.org/trunk@25548 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 12:39:04 +00:00
Dominik Schilling (ocean90)
b3c66e7bd0 Image Edit: Replace deprecated $.load() and $.error() methods to prevent warnings by jQuery Migrate, fixes #25371.
git-svn-id: https://develop.svn.wordpress.org/trunk@25547 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 11:23:32 +00:00
Dominik Schilling (ocean90)
6e5e69cb85 Trim leading whitespace from AJAX responses.
This fixes the warning "$(html) HTML strings must start with '<' character" by jQuery Migrate when adding nav menu items, post custom fields or comment replies.

fixes #23681.

git-svn-id: https://develop.svn.wordpress.org/trunk@25546 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 10:50:09 +00:00
Dominik Schilling (ocean90)
4423693048 Update imgAreaSelect to 0.9.10. fixes #25370.
git-svn-id: https://develop.svn.wordpress.org/trunk@25545 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 10:42:55 +00:00
Dion Hulse
24294b97e4 Plugin Update API: Set the translations key to an empty array when the API is unavailable. Props rmmcue. See #18200
git-svn-id: https://develop.svn.wordpress.org/trunk@25544 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 09:33:12 +00:00
Dion Hulse
f0fa5f821e Add a missing . in the Hook documentation from r25542 See #22704
git-svn-id: https://develop.svn.wordpress.org/trunk@25543 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 07:01:23 +00:00
Dion Hulse
6048f75b93 WordPress Core Automatic Updates: Add a filter as to whether or not to send the site administrator a summary of executed updates. Props JustinSainton. See #22704
git-svn-id: https://develop.svn.wordpress.org/trunk@25542 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 06:59:25 +00:00
Dion Hulse
f377693931 When using download_url(), if the resource supplies a Content-MD5 header, verify the downloaded file against it. Fixes #20074
git-svn-id: https://develop.svn.wordpress.org/trunk@25541 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 06:53:50 +00:00
Dion Hulse
eb3bee3ba5 Upgrader: Perform a MD5 file verification check on the files during upgrade. This ensures that both a Partial upgrade build can be used, and that all the files were copied into place correctly.
Props pento for initial patch. Fixes #18201


git-svn-id: https://develop.svn.wordpress.org/trunk@25540 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 06:48:20 +00:00
Drew Jaynes
38ef3b8f63 Fix spaces to tabs and inline documenation formatting in wp-admin/admin-ajax.php.
See #25229.


git-svn-id: https://develop.svn.wordpress.org/trunk@25539 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 05:52:06 +00:00
Drew Jaynes
e7bee2709b Inline documentation for hooks in wp-admin/admin-ajax.php.
Props nullvariable for the initial patch.
Fixes #25229.


git-svn-id: https://develop.svn.wordpress.org/trunk@25538 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 05:31:09 +00:00
Drew Jaynes
3ffcfbf26b Inline documentation for hooks in wp-activate.php.
Props nullvariable for the initial patch.
See #25229.


git-svn-id: https://develop.svn.wordpress.org/trunk@25537 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 05:20:42 +00:00
Andrew Nacin
98f073272d Accept and store translations data from the plugin and theme update check endpoints.
Send site locale. Rename wp_get_installed_language_data() to wp_get_installed_translations().

see #18200.


git-svn-id: https://develop.svn.wordpress.org/trunk@25536 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-21 04:07:34 +00:00
Drew Jaynes
9fd23a65e7 Inline documentation for hooks in wp-includes/canonical.php.
Props dustyf for the initial patch.
See #25229.


git-svn-id: https://develop.svn.wordpress.org/trunk@25535 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 23:30:37 +00:00
Drew Jaynes
b647fef9d5 Inline documentation for hooks in wp-admin/plugin-editor.php.
Props a.hoereth.
See #25229.


git-svn-id: https://develop.svn.wordpress.org/trunk@25534 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 23:17:59 +00:00
Drew Jaynes
4f54475853 Inline documentation for hooks in wp-includes/bookmark-template.php.
Props vinod dalvi, kpdesign.
Fixes #25364.


git-svn-id: https://develop.svn.wordpress.org/trunk@25533 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 23:08:50 +00:00
Drew Jaynes
63c1e0ed29 Inline documentation of hooks for wp-includes/feed-rss2-comments.php.
Props dustyf.
See #25229.


git-svn-id: https://develop.svn.wordpress.org/trunk@25532 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 23:01:01 +00:00
Drew Jaynes
ca9d1fc693 Inline documentation for hooks in wp-includes/feed-atom.php.
Props dustyf.
See #25229.


git-svn-id: https://develop.svn.wordpress.org/trunk@25531 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 22:49:36 +00:00
Drew Jaynes
ca5eb1e987 Inline documentation for hooks in wp-includes/feed-rss2.php.
Props dustyf for the initial patch.
See #25229.


git-svn-id: https://develop.svn.wordpress.org/trunk@25530 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 22:26:08 +00:00
Drew Jaynes
c1031877ea Inline documentation for hooks in wp-includes/feed-rss.php.
Props dustyf.
See #25229.


git-svn-id: https://develop.svn.wordpress.org/trunk@25529 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 22:09:08 +00:00
Helen Hou-Sandi
5e5480b03e Revert [25031] and [24841] - filling the internal linking search field with selected text has UX and performance issues with no resolution in sight. see #16276.
git-svn-id: https://develop.svn.wordpress.org/trunk@25528 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 20:37:26 +00:00
Helen Hou-Sandi
afe1b7a6c9 Allow the "Add New" URL on post edit screens to be filtered via admin_url(). props SergeyBiryukov, jeremyfelt, c3mdigital. fixes #18504.
git-svn-id: https://develop.svn.wordpress.org/trunk@25527 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 20:30:13 +00:00
Helen Hou-Sandi
76cb40634b Make it possible to filter comment screen by post type; no UI. props johnbillion, c3mdigital. fixes #18596.
git-svn-id: https://develop.svn.wordpress.org/trunk@25526 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 20:15:51 +00:00
Andrew Nacin
822f6e6746 Add REGEXP to meta queries.
"REGEXP is usually a terrible idea to use, but I see no reason to disallow it."

props wonderboymusic.
fixes #18736.


git-svn-id: https://develop.svn.wordpress.org/trunk@25525 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 20:12:11 +00:00
Drew Jaynes
a213611e4e Inline documentation for WP_Dependencies and _WP_Dependency classes.
Props kitchin for the initial patch.
Fixes #23914.


git-svn-id: https://develop.svn.wordpress.org/trunk@25524 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 19:53:53 +00:00
Lance Willett
b0d7ae1450 Twenty Fourteen: remove rem units, props iamtakashi. Fixes #25366.
git-svn-id: https://develop.svn.wordpress.org/trunk@25523 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 19:36:00 +00:00
Lance Willett
dd63691dd4 Twenty Thirteen: update code comments to reflect WP inline docs standards. Props DrewAPicture, see #25256.
git-svn-id: https://develop.svn.wordpress.org/trunk@25522 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 19:33:23 +00:00
Lance Willett
69398611c8 Twenty Twelve: update code comments to reflect WP inline docs standards. Props DrewAPicture, see #25256.
git-svn-id: https://develop.svn.wordpress.org/trunk@25521 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 19:23:22 +00:00
Andrew Nacin
334edeb32d Send installed language data to the plugin and theme update-check endpoints.
Introduces wp_get_installed_language_data() and wp_get_pomo_file_data().

see #18200.


git-svn-id: https://develop.svn.wordpress.org/trunk@25520 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 19:12:45 +00:00
Lance Willett
b7a9c6cac9 Twenty Fourteen: first pass at improving responsive patterns and allowing for a full-width layout when no secondary sidebar is present. Props iamtakashi, see #25332.
git-svn-id: https://develop.svn.wordpress.org/trunk@25519 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 18:21:30 +00:00
Drew Jaynes
c4b9f70f17 Inline documentation for _WP_Dependency class properties.
See #23914.


git-svn-id: https://develop.svn.wordpress.org/trunk@25518 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 17:45:30 +00:00
Drew Jaynes
39169ce3cc Inline documentation for WP_Dependencies class properties.
See #23914.


git-svn-id: https://develop.svn.wordpress.org/trunk@25517 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 17:43:48 +00:00
Lance Willett
b6859d87e9 Twenty Thirteen: fix case where comment layout can break if a really, really long word is in the comment content. Closes #25195 props RDall and obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@25516 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 17:43:15 +00:00
Lance Willett
ed6136070f Twenty Thirteen: revert combining two similar Nothing Found strings. Closes #24891.
git-svn-id: https://develop.svn.wordpress.org/trunk@25515 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 17:33:50 +00:00
Andrew Nacin
3209d0d804 Further adjust the request and response formats for plugin and theme update checks. see #25311.
git-svn-id: https://develop.svn.wordpress.org/trunk@25514 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 05:54:41 +00:00
Drew Jaynes
16aee8cdea Inline documentation for hooks in wp-includes/post-thumbnail-template.php.
Props NikV.
See #25229.


git-svn-id: https://develop.svn.wordpress.org/trunk@25513 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 02:50:35 +00:00
Drew Jaynes
239226b5be Inline documentation for hooks in wp-admin/plugin-install.php.
Props naomicbush.
See #25229.


git-svn-id: https://develop.svn.wordpress.org/trunk@25512 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 02:35:41 +00:00
Drew Jaynes
ebf3305722 Inline documentation for hooks in wp-admin/includes/plugin-install.php.
Props naomicbush.
See #25229.


git-svn-id: https://develop.svn.wordpress.org/trunk@25511 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-20 02:21:44 +00:00
Lance Willett
d57aaeef25 Twenty Fourteen: first pass at adding a Contributors page template to highlight authors. Props MikeHansenMe, iamtakashi, obenland, and Kuzmanov. See #24863.
git-svn-id: https://develop.svn.wordpress.org/trunk@25510 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-19 21:33:00 +00:00