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