Drew Jaynes
46a60cc6d5
Fix phpdoc indentation for hooks in wp-includes/class-wp-image-editor.php.
...
Props gayadesign.
Fixes #25504 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25714 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 16:27:34 +00:00
Sergey Biryukov
a541f2e31e
Correct phpdoc for wp_check_filetype_and_ext(). props dimadin. fixes #25513 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25713 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 15:33:19 +00:00
Drew Jaynes
1ab8ced9d7
Inline documentation for hooks in wp-includes/vars.php.
...
Props tmtoy, nacin.
Fixes #25466 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25712 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 15:29:14 +00:00
Sergey Biryukov
55ee5c4894
Escape title in HTML5 search form. props obenland, joostdevalk, scottsweb. fixes #25322 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25710 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 14:13:14 +00:00
Andrew Nacin
fc1438c8bc
Move the trim() from wp_set_password() to inside wp_hash_password().
...
props rpattillo, joehoyle.
fixes #24973 . see #23494 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25709 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 13:53:09 +00:00
Andrew Nacin
f4227afa2b
Optimize the accessibility JS on the Menus screen to avoid browser crashes with very large menus.
...
props atimmer.
fixes #25112 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25708 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 13:37:00 +00:00
Andrew Nacin
2476d62991
Twenty Twelve: Use the correct body class for attachments.
...
.single-attachment is only used when the attachment's parent is not a page.
props Marco_Teethgrinder.
fixes #25506 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25707 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 13:18:31 +00:00
Drew Jaynes
2a2587c6dc
Inline documentation for hooks in wp-admin/includes/bookmark.php.
...
Props johnafish, kpdesign.
Fixes #25494 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25706 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 02:18:20 +00:00
Drew Jaynes
3da73dfa3f
Inline documentation for hooks in wp-includes/class-wp-image-editor.php.
...
Props tomauger.
Fixes #25504
git-svn-id: https://develop.svn.wordpress.org/trunk@25705 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 22:18:29 +00:00
Drew Jaynes
2e27610793
Inline documentation for a hooks in wp-includes/template.php.
...
Props jonlynch for the initial patch.
Fixes #25487 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25703 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 19:00:05 +00:00
Drew Jaynes
5c5928cac9
Inline documentation for hooks in wp-includes/template-loader.php.
...
Props jonlynch.
Fixes #25488 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25702 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 18:40:29 +00:00
Drew Jaynes
b60980d0af
Inline documentation for hooks in wp-login.php.
...
Props ShinichiN, kpdesign.
Fixes #25393 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25701 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 16:23:39 +00:00
Andrew Nacin
40ea01d759
Be as sure as possible that WordPress is not under version control when deciding if we should do automatic updates.
...
see #22704 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25700 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 15:45:09 +00:00
Drew Jaynes
04fd4d2bb8
Inline documentation for hooks in wp-includes/update.php.
...
Props ShinichiN.
Fixes #25467 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25699 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 15:30:51 +00:00
Andrew Nacin
0286d7030d
Don't modify post_author during a quick edit when the post type doesn't support authors.
...
props ocean90.
fixes #16645 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25698 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 13:14:06 +00:00
Andrew Nacin
9f23f85ae2
Run _fix_attachment_links() when post_status is future or private in addition to publish.
...
Fixes regression caused by [20308].
props jond3r.
fixes #25268 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25697 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 12:55:38 +00:00
Andrew Nacin
48f68c8c6b
Hash password reset keys in the database.
...
All existing, unused password reset keys are now considered "expired" and the user will be told they should try again.
Introduces a password_reset_key_expired filter to allow plugins to introduce a grace period.
fixes #24783 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25696 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 11:28:42 +00:00
Andrew Nacin
352ff49768
Reverse the order of roles in wp_dropdown_roles(). Reset to 'subscriber' when the default role is removed and when a save is invalid.
...
props garyc40, wonderboymusic.
fixes #14578 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25695 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 10:55:42 +00:00
Andrew Nacin
c0fb231f92
Hide the "If you take over" string from the post locked dialog when the override_post_lock filter is used to prevent an override.
...
props azaozz.
fixes #24930 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25694 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 10:45:25 +00:00
Andrew Nacin
29a12d6ee5
Append -src to the $wp_version in the develop repo (only) to allow for us to differentiate. see #25161 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25692 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-05 14:24:21 +00:00
Andrew Nacin
1b37564f35
Send current SSL status to the plugin information API endpoint so we can render screenshots over SSL if appropriate. fixes #11009 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25691 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-05 10:58:20 +00:00
Andrew Nacin
cee5480513
Avoid 404 for wp-activate.php.
...
props nullvariable.
fixes #24960 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25690 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-04 14:11:49 +00:00
Dominik Schilling (ocean90)
3f422038dd
Move get_current_user_id()
call out of if-block, see [25669].
...
props layotte.
fixes #25372 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25689 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 13:35:12 +00:00
Dominik Schilling (ocean90)
d529239d24
Post UI: Increase the trigger width for switching from two columns to one.
...
props melchoyce, vinod dalvi.
fixes #23904 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25688 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 09:36:36 +00:00
Dominik Schilling (ocean90)
4f7760db6f
Revert [25622]. fixes #25445 . see #25122 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25687 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 09:11:45 +00:00
Andrew Nacin
20686308d3
Reset "Page on Front" when such a page is trashed.
...
props danielbachhuber.
fixes #24171 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25686 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 03:50:26 +00:00
Andrew Nacin
83a69a16d2
Support G shorthand for WP_MEMORY_LIMIT. see #23251 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25685 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 03:46:01 +00:00
Andrew Nacin
d4f0c8604a
Don't override a PHP memory_limit specified using G shorthand.
...
props peterjaap.
fixes #23251 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25684 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 03:27:04 +00:00
Andrew Nacin
2dae159c6e
Ensure wp::send_headers() detects a comments feed when permalinks are disabled and thus the withcomments QV is omitted. This fixes Last-Modified.
...
props sweetie089.
fixes #24622 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25683 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 03:14:39 +00:00
Andrew Nacin
df0aceb365
Backport a fix for qmail from PHPMailer upstream.
...
props bpetty.
fixes #25014 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25682 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 03:00:01 +00:00
Andrew Nacin
2068a3e6da
When determining a frontend, local URL in the theme customizer, match the home URL without a trailing slash.
...
props SergeyBiryukov.
fixes #25315 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25681 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 01:49:59 +00:00
Andrew Nacin
a59daf91cf
Ensure we globally replace [ and ] in customizer control IDs, to match the PHP.
...
props westonruter.
fixes #25238 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25680 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 01:45:39 +00:00
Andrew Nacin
8cd52fe580
Don't let the query string pile up on successive themes.php searches.
...
props SergeyBiryukov.
fixes #25270 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25679 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 01:25:24 +00:00
Andrew Nacin
a2c2641419
Avoid counting auto-drafts in sticky.
...
props nofearinc.
fixes #25127 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25678 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 01:15:30 +00:00
Andrew Nacin
7a9a26fb84
List tables: When executing a search, reset the Bulk Actions dropdown to avoid the search from failing.
...
props c3mdigital, vinod-dalvi.
fixes #25034 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25677 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 01:08:13 +00:00
Andrew Nacin
635a1249f5
Post lists table: When counting a user's posts, use get_post_stati() instead of hardcoded internal statuses.
...
props creativeinfusion.
fixes #24818 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25676 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-03 00:59:12 +00:00
Andrew Nacin
f6138dc287
Remove redundant title attributes.
...
props sabreuse.
see #24766 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25675 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 22:50:50 +00:00
Andrew Nacin
df647346b1
Don't use a double negative.
...
props TobiasBg.
fixes #18201 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25674 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 21:49:34 +00:00
Scott Taylor
c03af6bbd7
WP_User::get_role_caps()
now returns the caps it was already setting. The method was previously just setting $allprops
and requiring that property to be read.
...
Props nofearinc.
Fixes #24962 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25673 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 21:35:20 +00:00
Andrew Nacin
6611067dee
Use site_url() in theme-compat.
...
props technosailor.
see #25418 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25672 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 21:16:17 +00:00
Andrew Nacin
a05eefbd64
Ensure that get_bloginfo( 'pingback_url' ) uses site_url(), for SSL awareness.
...
props technosailor.
fixes #25418 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25671 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 21:14:05 +00:00
Andrew Nacin
69a17e3469
Links manager: Restrict field length based on DB schema.
...
props solarissmoke, vinod-dalvi.
fixes #17296 , #12264 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25670 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 21:10:24 +00:00
Dominik Schilling (ocean90)
6311fbbfdb
Replace use of global $user_ID
in favor of get_current_user_id()
. fixes #25372 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25669 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 21:09:52 +00:00
Andrew Nacin
dac3f63f9c
Don't order feeds of search results by relevance.
...
Allow for orderby=relevance to explicitly request relevance.
fixes #7394 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25668 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 21:04:36 +00:00
Scott Taylor
f3722d70c1
Revert [25663] for UX discussion
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25667 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 20:52:22 +00:00
Andrew Nacin
212dba1113
Show a proper error message on the dashboard when the current theme is broken.
...
Clean up Appearance -> Themes when we don't have enough information to show for a broken theme.
Clean up broken/ugly "alt" row styling when we are displaying broken themes.
props johnbillion for initial patch.
fixes #21670 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25666 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 20:49:59 +00:00
Dominik Schilling (ocean90)
27fe045132
Allow to filter the link
attribute via shortcode_atts_gallery
. props iworks. fixes #24979 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25665 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 20:45:55 +00:00
Andrew Nacin
0a13564db8
When queries fail in option functions, bail before setting cache.
...
Standardize variables so things are less confusing.
fixes #25015 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25664 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 20:42:39 +00:00
Scott Taylor
415a348999
When Quick Edit'ing a page, checks if edited page has a new parent and moves the row underneath that one. If the parent doesn't exist on this page then it hides the row altogether.
...
Props solarissmoke, MikeHansenMe.
Fixes #14188 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25663 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 20:37:48 +00:00
Scott Taylor
a27234c898
Rather than adding a taxonomy
arg to get_category()
, convert all uses of get_category()
in core to get_term()
. By doing so, we negate the need to call _make_cat_compat()
in a few places that are only looking for a single property.
...
Fixes #8722 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25662 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 19:58:50 +00:00
Scott Taylor
faa8c3c9ef
post_content
does not have a default value in the $wpdb->posts
table. Add a default value of empty string to wp_insert_attachment()
to avoid a tornado of database errors in PHP 5.5/MySQL 5.6, even when debug mode is turned off.
...
See #25282 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25661 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 19:51:57 +00:00
Scott Taylor
7918d5cd98
Make url_to_postid()
work for custom post type URLs. Use get_post_types()
and get_taxonomies()
instead of directly accessing globals. Adds unit test.
...
Props faishal, for the globals fix.
Fixes #19744 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25659 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 19:41:19 +00:00
Andrew Nacin
64d3d53838
More string cleanups.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25658 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 18:50:45 +00:00
Andrew Nacin
7755927e7d
End sentences in periods. see #24982 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25657 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 17:48:55 +00:00
Andrew Nacin
fc97814a23
This error message should have a period.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25656 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 17:44:09 +00:00
Andrew Nacin
49e7cf1a30
Rollback is not a verb.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25655 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 17:43:15 +00:00
Andrew Nacin
456b8837f2
Use sentence case.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25654 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-02 17:39:26 +00:00
Sergey Biryukov
7e18d18db5
Remove inaccurate @return value from remove_role(). props tivnet. fixes #25450 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25653 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-01 02:52:30 +00:00
Andrew Nacin
85c8f3c68f
Send back core translation information to the API. Update wp_get_installed_translations() to work with core translations. see #18200 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25652 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-30 19:46:15 +00:00
Dion Hulse
6d29f14560
Automatic Updates: Remove some debug from [25649] See #22704
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25651 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-30 00:29:19 +00:00
Dion Hulse
3fa23828e3
Automatic Updates: Disable Automatic updates for Mercurial(HG) and Bazaar(bzr) version control systems in addition to Git and SVN. Props jamescollins. See #22704
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25650 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-30 00:24:06 +00:00
Dion Hulse
05a01e5964
Automatic Updates: Add a rollback functionality upon installation failure, the rollback package will be available for partial-updates for automatic updates and be similar to our existing partial builds (but in reverse).
...
A further iteration of this is to also detect whitescreens (fatals) after a auto update, and trigger the rollback for that too.
See #22704
git-svn-id: https://develop.svn.wordpress.org/trunk@25649 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-30 00:20:35 +00:00
Dion Hulse
f1928e42bf
MD5 file verification: Prevent md5_file() warnings when files don't exist, additionally, don't verify wp-content files as they can be updated separately, as well as WP_CONTENT_DIR being set elsewhere. See #22704 See #18201
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25648 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-29 23:07:59 +00:00
Dion Hulse
fefaa807e9
Automatic Updates: Skip doing the sanity checking MD5 before deciding if we should use a partial build or not, This change means we always use a partial build for automatic updates. See #22704
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25647 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-29 22:59:46 +00:00
Sergey Biryukov
85875364e4
Correct phpdoc for translate_smiley(). props toscho. fixes #25440 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25646 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-29 10:07:27 +00:00
Drew Jaynes
651be4d157
Inline documentation for hooks in wp-signup.php.
...
Props kpdesign, miyauchi.
Fixes #25381 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25645 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-28 23:41:07 +00:00
Drew Jaynes
6ff14b2408
Improve inline documentation for the Walker
class.
...
Includes previously undocumented parameters.
See #23406 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25644 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-28 21:28:03 +00:00
Drew Jaynes
78d93bfac3
Improve inline documentation for Walker_Nav_Menu
, Walker_Nav_Menu_Edit
, Walker_Nav_Menu_Checklist
.
...
Includes previously undocumented parameters.
See #23406 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25643 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-28 21:01:54 +00:00
Drew Jaynes
346d71fdbd
Inline documentation for Walker_Category_Checklist
.
...
See #23406 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25642 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-28 18:07:02 +00:00
Drew Jaynes
67342ade09
Inline documentation improvements for Walker_Category
and Walker_CategoryDropdown
.
...
Also covers previously undocumented parameters.
See #23406 , #19249 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25641 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-28 18:01:26 +00:00
Andrew Nacin
50a1bb0eb2
Mark _search_terms_tidy() as deprecated in 3.7. see #7394 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25640 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-28 08:24:28 +00:00
Andrew Nacin
44ee54e153
3.7-beta1-25639
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25639 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-28 07:30:45 +00:00
Andrew Nacin
35a24943ea
3.7-beta1
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25638 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-28 06:47:49 +00:00
Andrew Nacin
89febfe766
Expand the zxcvbn password meter blacklist, based on user input.
...
props iandunn.
see #25174 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25637 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-28 06:46:29 +00:00
Andrew Nacin
e212691d73
Fix non-square rotations when using the Imagick image editor.
...
props DH-Shredder.
fixes #22663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25636 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-28 06:36:17 +00:00
Andrew Nacin
c3a6047584
Fix strict notice. see #22704 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25635 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-28 06:32:14 +00:00
Andrew Nacin
7149ae3b9f
Filters for locale in wp_update_plugins() and wp_update_themes(). see #18200 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25634 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-28 04:17:54 +00:00
Andrew Nacin
ed31cbfab1
Changes to automatic background updates in preparation for Beta 1.
...
* Show a notice for beta testers on update-core.php explaining the status of their install. Three possibilities: auto updates are enabled, auto updates are disabled because the install doesn't support SSL HTTP requests, and auto updates are disabled because it is a VCS checkout.
* Improve the output of the email, for maximum debugging potential. Failures are clearly labeled and the email leads testers to the support forums and Trac.
* Try to create wp-content/languages in the upgrader if it doesn't exist. Our mkdir isn't recursive, so trying to create wp-content/languages/plugins could fail.
* Abstract out version control checkout determination into a public method. The filter is now auto_upgrade_is_vcs_checkout, still subject to change.
see #22704 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25633 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-27 23:20:08 +00:00
Andrew Nacin
cff3bb14e6
Order search results by relevance, rather than by date.
...
The ordering logic is as follows:
* Full sentence matches in post titles.
* All search terms in post titles.
* Any search terms in post titles.
* Full sentence matches in post content.
Each section and any remaining posts are then sorted by date.
Introduces some filters:
* wp_search_stopwords, to filter stop words ignored in WHERE.
* posts_search_orderby, to filter the ORDER BY when ordering search results.
props azaozz, wonderboymusic.
fixes #7394 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25632 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-27 17:33:36 +00:00
Andrew Nacin
4b8896d171
Remove the new user_new_form hook from the network admin, pending further review. see #18709 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25631 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-26 16:37:06 +00:00
Drew Jaynes
8a3df7d4b4
Inline documentation for hooks in wp-admin/includes/class-wp-plugin-install-list-table.php.
...
Props naomicbush.
Fixes #25357 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25630 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-26 02:47:44 +00:00
Helen Hou-Sandi
57241c4824
Add a user_new_form
hook, with context. props johnjamesjacoby, strangerstudios, jeremyfelt, DrewAPicture. fixes #18709 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25629 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-26 01:47:42 +00:00
Drew Jaynes
f7a6959048
Improve inline documentation for wp_insert_post()
by adding a hash notation.
...
See #25412 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25628 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-25 17:33:36 +00:00
Lance Willett
dc53919fe3
Twenty Ten: update code comments to reflect WP inline docs standards. Props DrewAPicture, closes #25256 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25627 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-25 17:03:34 +00:00
Lance Willett
4a8bf29102
Twenty Twelve: simplify header image check, props obenland. Closes #25400 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25626 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-25 16:58:43 +00:00
Lance Willett
bd150bd8d6
Twenty Eleven: update code comments to reflect WP inline docs standards. Props DrewAPicture, see #25256 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25625 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-25 16:49:36 +00:00
Lance Willett
11a9f047cc
Twenty Fourteen: make the content sidebar optional and alter the layout to full-width if the sidebar is not active, but without adding wider featured image (for now). Props iamtakashi, closes #25031 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25624 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-25 16:35:26 +00:00
Lance Willett
fcd1b02a1d
Twenty Fourteen: change the background color a bit more on hover for main navigation submenus. See #25220 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25623 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-25 16:28:00 +00:00
Andrew Nacin
1df5d5fa6b
Only show top-level items when adding pages to a User's First Nav Menu. (This is also the title of Dave's first children's book.)
...
props lessbloat.
fixes #25122 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25622 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-25 16:22:29 +00:00
Andrew Nacin
57a5269b13
Live network counts of users and sites for small networks.
...
props adamsilverstein, jeremyfelt.
fixes #22917 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25621 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-25 16:20:21 +00:00
Helen Hou-Sandi
99fa347879
Better error messaging on install.php. props DrewAPicture, ocean90. fixes #24982 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25620 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-25 16:13:44 +00:00
Helen Hou-Sandi
64b021bbce
Simplify the login page viewport meta for mobile devices, so it's less restrictive on the user. Allows for developers to override if necessary via the login_head
action. props azaozz. fixes #24777 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25619 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-25 15:19:11 +00:00
Sergey Biryukov
d16e2bc2b1
'sanitize_user' is a filter, not an action. fixes #25411 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25618 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-25 03:13:19 +00:00
Andrew Nacin
beca878aa6
Clean up the path calculations in wp::parse_request().
...
props evansolomon for initial cleanup.
fixes #22209 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25617 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-25 00:46:39 +00:00
Andrew Nacin
8d72ad52ff
Don't rely on include_path to include files.
...
Always use dirname() or, once available, ABSPATH.
props ketwaroo, hakre.
fixes #17092 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25616 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-25 00:17:40 +00:00
Andrew Nacin
f7050daeba
Use the wpdb method instead of $wpdb->prefix.
...
props hakre.
fixes #16756 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25615 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 23:40:41 +00:00
Lance Willett
a580e9f3c3
Twenty Fourteen: remove unused images, following r25610. See #25300 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25614 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 23:06:18 +00:00
Lance Willett
9d5cab1940
Twenty Fourteen: accessibility fix for allowing the search button in the toolbar to be focused with the keyboard. Props joedolson and sabreuse, see #25054 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25613 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 23:03:14 +00:00
Lance Willett
2e21ea25f5
Twenty Fourteen: fixes for accent color functionality, props celloexpressions. See #25220 .
...
* Apply the primary accent color to the current-time indicator for the `mediaelements` players.
* Fix instances of the custom accent color CSS overriding white or black link colors that should have no text-color change on hover.
* Remove text color from main navigation hover states for submenus and from main navigation top-level items.
* Change the background color a bit more on hover for main navigation submenus.
git-svn-id: https://develop.svn.wordpress.org/trunk@25612 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 22:33:37 +00:00
Lance Willett
1b61078658
Twenty Fourteen: fix gap beneath header image, props taupecat. Fixes #25404 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25611 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 22:20:54 +00:00
Lance Willett
f3c37fd5ae
Twenty Fourteen: redo the featured image background pattern with CSS plus minor style adjustments. Props iamtakashi, fixes #25300 . This also fixes #25363 , props buffler.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25610 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 22:19:08 +00:00
Drew Jaynes
c9bf087f36
Clarify inline documentation for the return in get_attached_file()
.
...
Fixes #25409 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25609 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 21:28:35 +00:00
Helen Hou-Sandi
ab117ae99c
Make sure the attachment file exists before calling filesize() on it. props DrewAPicture. fixes #25170 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25608 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 20:22:24 +00:00
Andrew Nacin
648af753fd
Initialize the filter globals.
...
props rmccue.
fixes #25378 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25607 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 19:04:21 +00:00
Andrew Nacin
34e9dc9f06
Introduce wp_get_user_contact_methods() as a public version of _wp_get_user_contactmethods.
...
props johnnyb.
fixes #24273 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25606 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 18:13:18 +00:00
Andrew Nacin
de89edd699
When is_main_query() is called during the pre_get_posts hook, issue _doing_it_wrong().
...
The is_main_query() WP_Query method should be used in these instances instead.
see #23329 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25605 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 17:09:56 +00:00
Lance Willett
3dbcfcdbe4
Twenty Fourteen: simplify header image check, props obenland. See #25400 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25604 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 17:06:01 +00:00
Lance Willett
f83075e3ed
Twenty Fourteen: Genericons minor style adjustments, props iamtakashi. See #25085 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25603 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 16:41:52 +00:00
Helen Hou-Sandi
5ec48f6734
Add classes to menus to indicate that an item has sub-items: .menu-item-has-children
for wp_nav_menu()
and .page_item_has_children
for wp_page_menu()
. props hotchkissconsulting. fixes #23834 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25602 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 16:00:14 +00:00
Andrew Nacin
13408ddcbd
Introduce a reset_postdata() method on the WP_Query object, which wp_reset_postdata() now wraps.
...
props ericlewis.
fixes #24785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25601 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 15:52:41 +00:00
Andrew Nacin
621f86abfb
Context for the signup_hidden_fields hooks.
...
props jeremyfelt, Cimmo.
fixes #19451 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25600 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 15:50:06 +00:00
Dion Hulse
e4a523977f
Automatic Updates: Correct a typo of a constant, s/DISABLE_FILE_MODS/DISALLOW_FILE_MODS/. See #22704
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25599 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 07:15:58 +00:00
Dion Hulse
c8251ec989
Automatic Core Updates: Enable Core Automatic Updates for Security releases, Development nightly releases, and, Language packs. See #22704
...
For more information on Automatic Core Updates, See #22704 and http://wp.me/p2AvED-1Lo
git-svn-id: https://develop.svn.wordpress.org/trunk@25598 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 03:35:53 +00:00
Drew Jaynes
1b984a7f05
Improve inline documentation for wp-includes/functions.wp-scripts.php.
...
Props kpdesign.
Fixes #25402 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25597 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 02:57:56 +00:00
Andrew Nacin
b0717588b7
Introduce register_taxonomy_for_object_type().
...
props leewillis77.
fixes #11058 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25596 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 02:54:00 +00:00
Helen Hou-Sandi
3eea90937d
Allow all non-visible default row actions in the admin to be accessed via keyboard. fixes #21334 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25595 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 02:49:30 +00:00
Drew Jaynes
d1bd6d8c6f
Improve inline documentation for wp-includes/functions.wp-styles.php.
...
Props kpdesign.
Fixes #25401 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25594 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 02:23:09 +00:00
Helen Hou-Sandi
7446faa7fb
Allow non-visible post row actions to be accessed via keyboard. props adamsilverstein, lessbloat. fixes #21334 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25593 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 02:03:41 +00:00
Helen Hou-Sandi
9ac7b0ce32
Saner CSS for row actions - now we can just target .row-actions
instead of both .row-actions
and .row-actions-visible
. CSS for .row-actions-visible
remains for now due to usage in plugins. Visibility is controlled by toggling a .visible
class. fixes #25403 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25592 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 01:53:08 +00:00
Andrew Nacin
d420b71d52
Ignore unauthorized meta keys in meta_form(). fixes #18786 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25591 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 01:30:31 +00:00
Andrew Nacin
05c7da77fa
Revert [25446] now that wp_blogs
.archived
is no longer an ENUM field. see #14511 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25590 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-24 01:19:27 +00:00
Drew Jaynes
05ffd2dad0
Inline documentation for hooks in wp-admin/admin-post.php.
...
Props ericlewis, kpdesign.
Fixes #25361 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25589 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 23:47:41 +00:00
Drew Jaynes
e62fb3972b
Inline documentation for the Walker_Comment class in wp-includes/comment-template.php
...
Fixes #25388 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25588 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 23:28:41 +00:00
Drew Jaynes
164b32b566
Inline documentation for hooks in wp-admin/includes/revision.php.
...
Fixes #25283 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25587 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 22:44:26 +00:00
Drew Jaynes
db890b4e75
Standardize usage of 'text domain' in inline documentation for wp-includes/l10n.php.
...
Props ericlewis, SergeyBiryukov.
Fixes #16750 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25586 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 22:27:17 +00:00
Andrew Nacin
1929aeb1c3
Avoid a notice. see #14408 , [25574].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25585 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 21:43:25 +00:00
Drew Jaynes
b8a50e4cdd
Inline documentation for hooks in wp-includes/comment-template.php.
...
Fixes #25396 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25584 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 21:20:48 +00:00
Andrew Nacin
169ac00ea5
Return false in update_metadata() and update_metadata_by_mid() when the DB query fails.
...
props leewillis77.
fixes #24933 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25583 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 20:31:01 +00:00
Andrew Nacin
164d6cf220
Change 'This post is password protected' to 'This content', for the benefit of custom post types.
...
props MikeHansenMe.
fixes #23603 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25582 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 20:28:30 +00:00
Andrew Nacin
17a0ace2a4
Use correct variable. props helen. see #17071 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25581 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 20:17:37 +00:00
Andrew Nacin
53a59c01a8
Temporary hooks for the widgets feature team in dynamic_sidebar() and is_active_sidebar().
...
props westonruter.
fixes #25368 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25580 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 20:13:58 +00:00
Andrew Nacin
740bb2d494
Introduce a wp_count_attachments filter.
...
props kevinB.
fixes #17071 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25579 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 19:10:53 +00:00
Andrew Nacin
fbc417775d
In wp_count_posts(), rename 'count_posts' hook to 'wp_count_posts', for clarity. see #16603 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25578 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 19:07:08 +00:00
Andrew Nacin
7203c7c012
Introduce a bulk_post_updated_messages filter.
...
props johnbillion for initial patch.
fixes #18710 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25577 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 18:52:04 +00:00
Andrew Nacin
9a45c4a414
Pass $taxonomies to two more filters in get_terms().
...
props johnbillion.
fixes #18754 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25576 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 18:38:50 +00:00
Drew Jaynes
b00509f3b0
Inline documentation for comment_form()
argument defaults missed in [25573].
...
See #25388 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25575 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 17:29:54 +00:00
Andrew Nacin
dec1c4d8f2
Set up author data for the author template immediately, rather than waiting for the first the_post() call.
...
This removes the need to call the_post() and rewind_posts() in an author template to print information about the author.
props obenland.
fixes #14408 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25574 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 17:21:49 +00:00
Drew Jaynes
9297d23d5a
Improve inline documentation of arguments for comment_form()
.
...
See #25388 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25573 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 17:16:01 +00:00
Andrew Nacin
46fef6ef24
Introduce a meta_box_cb argument for register_taxonomy().
...
The specified callback function is used as the meta box callback for the taxonomy.
props garyc40, helen.
fixes #14206 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25572 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 17:11:09 +00:00
Andrew Nacin
40131fc188
Remove redundant title attributes.
...
props sabreuse.
see #24766 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25570 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 14:50:07 +00:00
Dion Hulse
85feec4df4
Move a certificate higher in the file (end to start) so that PHP 5.2.x (OpenSSL 0.9.8j and earlier) can parse the file correctly. See #25007
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25569 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 13:58:40 +00:00
Dion Hulse
aa9a8de56b
Language Packs: Integrate Language Packs into the Auto-upgrader. See #18200 See #22704
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25568 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 09:37:25 +00:00
Drew Jaynes
9e36d580e1
Inline documentation improvements for wp-includes/comment-template.php.
...
Changes include:
- Existing phpdoc block improvements
- Inclusion of defaults for optional parameters
- Hash-notated argument arrays
- Removal of unnecessary or redundant tagging.
Also standardization of int|WP_Post function parameters.
These changes clear the way toward less redundancy for hook docs in a future ticket.
Still left: Fully documented arguments in `comment_form()` and a pass through Walker_Comment.
See #20495 . See #25388 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25567 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 04:15:41 +00:00
Andrew Nacin
330a8daccd
Add a language pack upgrader class.
...
At the conclusion of any upgrade, after the transients are refreshed from the API, pending translations are downloaded and installed to wp-content/languages.
props dd32.
see #18200 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25566 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 02:07:51 +00:00
Drew Jaynes
b28cc74069
Inline documentation for hooks in wp-includes/l10n.php.
...
Props Nao.
Fixes #25382 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25565 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-23 00:37:34 +00:00
Drew Jaynes
9ce3b46e1f
Improve inline documentation for wp-trackback.php.
...
Props kpdesign.
Fixes #25377 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25564 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-22 18:38:56 +00:00
Drew Jaynes
24d1818527
Improve inline comment for removing default padding styles for the Toolbar.
...
Props nofearinc.
Fixes #25373 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25563 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-22 14:33:11 +00:00
Dominik Schilling (ocean90)
a2cd165b61
Replace !$user_ID with !is_user_logged_in(). props garyc40. see #15508 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25562 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-22 10:15:38 +00:00
Drew Jaynes
222c2de402
Improve file header and description in wp-admin/admin-post.php.
...
Props ericlewis.
Fixes #25362 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25561 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-22 05:17:15 +00:00
Dion Hulse
455b8d47a9
First pass at documenting the WP_Filesystem methods. This also introduces stubs of the methods into the base class which are documented, which subclasses can override, some methods were cleaned up at the same time.
...
See #18476 See #23122 . Props kurtpayne, bananastalktome, and, DrewAPicture
git-svn-id: https://develop.svn.wordpress.org/trunk@25560 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-22 04:43:29 +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
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
Helen Hou-Sandi
68f34a5d80
Add a class to the bulk actions wrapper div. props nofearinc. fixes #25197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25509 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-19 21:00:02 +00:00
Lance Willett
c1ad2ea70f
Twenty Fourteen: revert bad Genericons merge leftovers, see #25085 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25508 602fd350-edb4-49c9-b593-d223f7449a82
2013-09-19 18:20:16 +00:00