Andrew Nacin
e8e5f48905
Run _fix_attachment_links() when post_status is future or private in addition to publish.
...
Fixes regression caused by [20308].
props jond3r.
fixes #25268 .
Built from https://develop.svn.wordpress.org/trunk@25697
git-svn-id: http://core.svn.wordpress.org/trunk@25612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-06 12:56:09 +00:00
Andrew Nacin
d93d8b850d
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 .
Built from https://develop.svn.wordpress.org/trunk@25695
git-svn-id: http://core.svn.wordpress.org/trunk@25610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-06 10:56:09 +00:00
Andrew Nacin
e4dc691e75
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 .
Built from https://develop.svn.wordpress.org/trunk@25694
git-svn-id: http://core.svn.wordpress.org/trunk@25609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-06 10:46:09 +00:00
Andrew Nacin
8392f942a4
Send current SSL status to the plugin information API endpoint so we can render screenshots over SSL if appropriate. fixes #11009 .
...
Built from https://develop.svn.wordpress.org/trunk@25691
git-svn-id: http://core.svn.wordpress.org/trunk@25607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-05 10:59:12 +00:00
Dominik Schilling
26e6703de7
Post UI: Increase the trigger width for switching from two columns to one.
...
props melchoyce, vinod dalvi.
fixes #23904 .
Built from https://develop.svn.wordpress.org/trunk@25688
git-svn-id: http://core.svn.wordpress.org/trunk@25604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-03 09:37:09 +00:00
Dominik Schilling
328c4e9a67
Revert [25622]. fixes #25445 . see #25122 .
...
Built from https://develop.svn.wordpress.org/trunk@25687
git-svn-id: http://core.svn.wordpress.org/trunk@25603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-03 09:12:08 +00:00
Andrew Nacin
aef18d93cb
When determining a frontend, local URL in the theme customizer, match the home URL without a trailing slash.
...
props SergeyBiryukov.
fixes #25315 .
Built from https://develop.svn.wordpress.org/trunk@25681
git-svn-id: http://core.svn.wordpress.org/trunk@25597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-03 01:50:09 +00:00
Andrew Nacin
70a406560e
Ensure we globally replace [ and ] in customizer control IDs, to match the PHP.
...
props westonruter.
fixes #25238 .
Built from https://develop.svn.wordpress.org/trunk@25680
git-svn-id: http://core.svn.wordpress.org/trunk@25596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-03 01:46:10 +00:00
Andrew Nacin
6a675a8c9b
Don't let the query string pile up on successive themes.php searches.
...
props SergeyBiryukov.
fixes #25270 .
Built from https://develop.svn.wordpress.org/trunk@25679
git-svn-id: http://core.svn.wordpress.org/trunk@25595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-03 01:26:09 +00:00
Andrew Nacin
4c63d45139
Avoid counting auto-drafts in sticky.
...
props nofearinc.
fixes #25127 .
Built from https://develop.svn.wordpress.org/trunk@25678
git-svn-id: http://core.svn.wordpress.org/trunk@25594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-03 01:16:10 +00:00
Andrew Nacin
b6d680174d
List tables: When executing a search, reset the Bulk Actions dropdown to avoid the search from failing.
...
props c3mdigital, vinod-dalvi.
fixes #25034 .
Built from https://develop.svn.wordpress.org/trunk@25677
git-svn-id: http://core.svn.wordpress.org/trunk@25593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-03 01:09:10 +00:00
Andrew Nacin
49af5f34d7
Post lists table: When counting a user's posts, use get_post_stati() instead of hardcoded internal statuses.
...
props creativeinfusion.
fixes #24818 .
Built from https://develop.svn.wordpress.org/trunk@25676
git-svn-id: http://core.svn.wordpress.org/trunk@25592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-03 01:00:09 +00:00
Andrew Nacin
be366723d2
Don't use a double negative.
...
props TobiasBg.
fixes #18201 .
Built from https://develop.svn.wordpress.org/trunk@25674
git-svn-id: http://core.svn.wordpress.org/trunk@25590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 21:50:09 +00:00
Andrew Nacin
524b62c5f6
Links manager: Restrict field length based on DB schema.
...
props solarissmoke, vinod-dalvi.
fixes #17296 , #12264 .
Built from https://develop.svn.wordpress.org/trunk@25670
git-svn-id: http://core.svn.wordpress.org/trunk@25586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 21:11:10 +00:00
Dominik Schilling
e4c8d56b76
Replace use of global $user_ID
in favor of get_current_user_id()
. fixes #25372 .
...
Built from https://develop.svn.wordpress.org/trunk@25669
git-svn-id: http://core.svn.wordpress.org/trunk@25585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 21:10:09 +00:00
Scott Taylor
ea352cde7c
Revert [25663] for UX discussion
...
Built from https://develop.svn.wordpress.org/trunk@25667
git-svn-id: http://core.svn.wordpress.org/trunk@25583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 20:53:09 +00:00
Andrew Nacin
7de2054ece
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 .
Built from https://develop.svn.wordpress.org/trunk@25666
git-svn-id: http://core.svn.wordpress.org/trunk@25582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 20:50:09 +00:00
Scott Taylor
0793f55437
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 .
Built from https://develop.svn.wordpress.org/trunk@25663
git-svn-id: http://core.svn.wordpress.org/trunk@25579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 20:38:09 +00:00
Scott Taylor
6a5d2f8fb0
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 .
Built from https://develop.svn.wordpress.org/trunk@25662
git-svn-id: http://core.svn.wordpress.org/trunk@25578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 19:59:10 +00:00
Andrew Nacin
01484339b9
More string cleanups.
...
Built from https://develop.svn.wordpress.org/trunk@25658
git-svn-id: http://core.svn.wordpress.org/trunk@25575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 18:51:10 +00:00
Andrew Nacin
afcab7eb9c
End sentences in periods. see #24982 .
...
Built from https://develop.svn.wordpress.org/trunk@25657
git-svn-id: http://core.svn.wordpress.org/trunk@25574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 17:49:09 +00:00
Andrew Nacin
bc842ab011
This error message should have a period.
...
Built from https://develop.svn.wordpress.org/trunk@25656
git-svn-id: http://core.svn.wordpress.org/trunk@25573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 17:45:09 +00:00
Andrew Nacin
32376e99be
Rollback is not a verb.
...
Built from https://develop.svn.wordpress.org/trunk@25655
git-svn-id: http://core.svn.wordpress.org/trunk@25572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 17:44:09 +00:00
Dion Hulse
55822259df
Automatic Updates: Remove some debug from [25649] See #22704
...
Built from https://develop.svn.wordpress.org/trunk@25651
git-svn-id: http://core.svn.wordpress.org/trunk@25568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-30 00:30:10 +00:00
Dion Hulse
30b921d10e
Automatic Updates: Disable Automatic updates for Mercurial(HG) and Bazaar(bzr) version control systems in addition to Git and SVN. Props jamescollins. See #22704
...
Built from https://develop.svn.wordpress.org/trunk@25650
git-svn-id: http://core.svn.wordpress.org/trunk@25567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-30 00:25:10 +00:00
Dion Hulse
75475ed773
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
Built from https://develop.svn.wordpress.org/trunk@25649
git-svn-id: http://core.svn.wordpress.org/trunk@25566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-30 00:21:09 +00:00
Dion Hulse
7ed4059230
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
...
Built from https://develop.svn.wordpress.org/trunk@25648
git-svn-id: http://core.svn.wordpress.org/trunk@25565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-29 23:08:09 +00:00
Dion Hulse
6e9ba8be22
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
...
Built from https://develop.svn.wordpress.org/trunk@25647
git-svn-id: http://core.svn.wordpress.org/trunk@25564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-29 23:00:09 +00:00
Drew Jaynes
39d7e0df8a
Improve inline documentation for Walker_Nav_Menu
, Walker_Nav_Menu_Edit
, Walker_Nav_Menu_Checklist
.
...
Includes previously undocumented parameters.
See #23406 .
Built from https://develop.svn.wordpress.org/trunk@25643
git-svn-id: http://core.svn.wordpress.org/trunk@25560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-28 21:02:09 +00:00
Drew Jaynes
858343ed71
Inline documentation for Walker_Category_Checklist
.
...
See #23406 .
Built from https://develop.svn.wordpress.org/trunk@25642
git-svn-id: http://core.svn.wordpress.org/trunk@25559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-28 18:08:10 +00:00
Andrew Nacin
5bb48eba35
Expand the zxcvbn password meter blacklist, based on user input.
...
props iandunn.
see #25174 .
Built from https://develop.svn.wordpress.org/trunk@25637
git-svn-id: http://core.svn.wordpress.org/trunk@25554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-28 06:47:10 +00:00
Andrew Nacin
e3798dc013
Fix strict notice. see #22704 .
...
Built from https://develop.svn.wordpress.org/trunk@25635
git-svn-id: http://core.svn.wordpress.org/trunk@25552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-28 06:33:10 +00:00
Andrew Nacin
00d2c39c48
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 .
Built from https://develop.svn.wordpress.org/trunk@25633
git-svn-id: http://core.svn.wordpress.org/trunk@25550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-27 23:21:10 +00:00
Andrew Nacin
dfb46e5e2c
Remove the new user_new_form hook from the network admin, pending further review. see #18709 .
...
Built from https://develop.svn.wordpress.org/trunk@25631
git-svn-id: http://core.svn.wordpress.org/trunk@25548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-26 16:38:10 +00:00
Drew Jaynes
2befec291f
Inline documentation for hooks in wp-admin/includes/class-wp-plugin-install-list-table.php.
...
Props naomicbush.
Fixes #25357 .
Built from https://develop.svn.wordpress.org/trunk@25630
git-svn-id: http://core.svn.wordpress.org/trunk@25547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-26 02:48:09 +00:00
Helen Hou-Sandí
6cee949cab
Add a user_new_form
hook, with context. props johnjamesjacoby, strangerstudios, jeremyfelt, DrewAPicture. fixes #18709 .
...
Built from https://develop.svn.wordpress.org/trunk@25629
git-svn-id: http://core.svn.wordpress.org/trunk@25546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-26 01:48:10 +00:00
Andrew Nacin
8896aab690
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 .
Built from https://develop.svn.wordpress.org/trunk@25622
git-svn-id: http://core.svn.wordpress.org/trunk@25539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-25 16:23:09 +00:00
Helen Hou-Sandí
a0010703bb
Better error messaging on install.php. props DrewAPicture, ocean90. fixes #24982 .
...
Built from https://develop.svn.wordpress.org/trunk@25620
git-svn-id: http://core.svn.wordpress.org/trunk@25537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-25 16:14:09 +00:00
Andrew Nacin
fd57b239d2
Don't rely on include_path to include files.
...
Always use dirname() or, once available, ABSPATH.
props ketwaroo, hakre.
fixes #17092 .
Built from https://develop.svn.wordpress.org/trunk@25616
git-svn-id: http://core.svn.wordpress.org/trunk@25533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-25 00:18:11 +00:00
Helen Hou-Sandí
9d5c2eb55f
Make sure the attachment file exists before calling filesize() on it. props DrewAPicture. fixes #25170 .
...
Built from https://develop.svn.wordpress.org/trunk@25608
git-svn-id: http://core.svn.wordpress.org/trunk@25525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-24 20:23:10 +00:00
Andrew Nacin
00c545606e
Introduce wp_get_user_contact_methods() as a public version of _wp_get_user_contactmethods.
...
props johnnyb.
fixes #24273 .
Built from https://develop.svn.wordpress.org/trunk@25606
git-svn-id: http://core.svn.wordpress.org/trunk@25523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-24 18:14:09 +00:00
Dion Hulse
7669224311
Automatic Updates: Correct a typo of a constant, s/DISABLE_FILE_MODS/DISALLOW_FILE_MODS/. See #22704
...
Built from https://develop.svn.wordpress.org/trunk@25599
git-svn-id: http://core.svn.wordpress.org/trunk@25516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-24 07:16:09 +00:00
Dion Hulse
65caf043c0
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
Built from https://develop.svn.wordpress.org/trunk@25598
git-svn-id: http://core.svn.wordpress.org/trunk@25515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-24 03:36:09 +00:00
Helen Hou-Sandí
2e584b5e09
Allow all non-visible default row actions in the admin to be accessed via keyboard. fixes #21334 .
...
Built from https://develop.svn.wordpress.org/trunk@25595
git-svn-id: http://core.svn.wordpress.org/trunk@25512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-24 02:50:09 +00:00
Helen Hou-Sandí
185655f89d
Allow non-visible post row actions to be accessed via keyboard. props adamsilverstein, lessbloat. fixes #21334 .
...
Built from https://develop.svn.wordpress.org/trunk@25593
git-svn-id: http://core.svn.wordpress.org/trunk@25510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-24 02:04:10 +00:00
Helen Hou-Sandí
9796e54574
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 .
...
Built from https://develop.svn.wordpress.org/trunk@25592
git-svn-id: http://core.svn.wordpress.org/trunk@25509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-24 01:54:09 +00:00
Andrew Nacin
9cf6436ff3
Ignore unauthorized meta keys in meta_form(). fixes #18786 .
...
Built from https://develop.svn.wordpress.org/trunk@25591
git-svn-id: http://core.svn.wordpress.org/trunk@25508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-24 01:31:10 +00:00
Drew Jaynes
774260c539
Inline documentation for hooks in wp-admin/admin-post.php.
...
Props ericlewis, kpdesign.
Fixes #25361 .
Built from https://develop.svn.wordpress.org/trunk@25589
git-svn-id: http://core.svn.wordpress.org/trunk@25506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-23 23:48:09 +00:00
Drew Jaynes
bdcc067c4c
Inline documentation for hooks in wp-admin/includes/revision.php.
...
Fixes #25283 .
Built from https://develop.svn.wordpress.org/trunk@25587
git-svn-id: http://core.svn.wordpress.org/trunk@25504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-23 22:45:10 +00:00
Andrew Nacin
8f7e73d0cd
Introduce a bulk_post_updated_messages filter.
...
props johnbillion for initial patch.
fixes #18710 .
Built from https://develop.svn.wordpress.org/trunk@25577
git-svn-id: http://core.svn.wordpress.org/trunk@25494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-23 18:53:08 +00:00
Andrew Nacin
5febb6045f
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 .
Built from https://develop.svn.wordpress.org/trunk@25572
git-svn-id: http://core.svn.wordpress.org/trunk@25489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-23 17:12:10 +00:00
Dion Hulse
c4a20fd9fe
Language Packs: Integrate Language Packs into the Auto-upgrader. See #18200 See #22704
...
Built from https://develop.svn.wordpress.org/trunk@25568
git-svn-id: http://core.svn.wordpress.org/trunk@25486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-23 09:38:09 +00:00
Andrew Nacin
187c26415f
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 .
Built from https://develop.svn.wordpress.org/trunk@25566
git-svn-id: http://core.svn.wordpress.org/trunk@25484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-23 02:08:10 +00:00
Drew Jaynes
f7546cb45a
Improve file header and description in wp-admin/admin-post.php.
...
Props ericlewis.
Fixes #25362 .
Built from https://develop.svn.wordpress.org/trunk@25561
git-svn-id: http://core.svn.wordpress.org/trunk@25479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-22 05:18:09 +00:00
Dion Hulse
c43600ea4b
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
Built from https://develop.svn.wordpress.org/trunk@25560
git-svn-id: http://core.svn.wordpress.org/trunk@25478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-22 04:44:10 +00:00
Drew Jaynes
e6e033aa08
Inline documentation for hooks in wp-admin/includes/ajax-actions.php.
...
Fixes #25374 .
Built from https://develop.svn.wordpress.org/trunk@25558
git-svn-id: http://core.svn.wordpress.org/trunk@25477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-21 20:47:09 +00:00
Drew Jaynes
c5abe8acaa
Make the WP_List_Table::months_dropdown()
query results filterable.
...
Introduces the `months_dropdown_results` filter.
Fixes #17022 .
Built from https://develop.svn.wordpress.org/trunk@25556
git-svn-id: http://core.svn.wordpress.org/trunk@25476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-21 18:35:09 +00:00
Scott Taylor
103f6e7860
Alter some text for clarity on the Media Settings page.
...
Props layotte, DrewAPicture.
Fixes #15732 .
Built from https://develop.svn.wordpress.org/trunk@25552
git-svn-id: http://core.svn.wordpress.org/trunk@25472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-21 17:28:09 +00:00
Dominik Schilling
390d4e2272
Image Edit: Replace deprecated $.load() and $.error() methods to prevent warnings by jQuery Migrate, fixes #25371 .
...
Built from https://develop.svn.wordpress.org/trunk@25547
git-svn-id: http://core.svn.wordpress.org/trunk@25467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-21 11:24:09 +00:00
Dominik Schilling
c2739d12cc
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 .
Built from https://develop.svn.wordpress.org/trunk@25546
git-svn-id: http://core.svn.wordpress.org/trunk@25466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-21 10:51:09 +00:00
Dion Hulse
a54a345cff
Add a missing . in the Hook documentation from r25542 See #22704
...
Built from https://develop.svn.wordpress.org/trunk@25543
git-svn-id: http://core.svn.wordpress.org/trunk@25463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-21 07:02:11 +00:00
Dion Hulse
2c3a35491b
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
...
Built from https://develop.svn.wordpress.org/trunk@25542
git-svn-id: http://core.svn.wordpress.org/trunk@25462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-21 07:00:10 +00:00
Dion Hulse
a82b463610
When using download_url(), if the resource supplies a Content-MD5 header, verify the downloaded file against it. Fixes #20074
...
Built from https://develop.svn.wordpress.org/trunk@25541
git-svn-id: http://core.svn.wordpress.org/trunk@25461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-21 06:54:09 +00:00
Dion Hulse
6737d0a202
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
Built from https://develop.svn.wordpress.org/trunk@25540
git-svn-id: http://core.svn.wordpress.org/trunk@25460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-21 06:49:11 +00:00
Drew Jaynes
ff4238c079
Fix spaces to tabs and inline documenation formatting in wp-admin/admin-ajax.php.
...
See #25229 .
Built from https://develop.svn.wordpress.org/trunk@25539
git-svn-id: http://core.svn.wordpress.org/trunk@25459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-21 05:53:09 +00:00
Drew Jaynes
8d1ef212ad
Inline documentation for hooks in wp-admin/admin-ajax.php.
...
Props nullvariable for the initial patch.
Fixes #25229 .
Built from https://develop.svn.wordpress.org/trunk@25538
git-svn-id: http://core.svn.wordpress.org/trunk@25458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-21 05:32:09 +00:00
Drew Jaynes
a1fb6e003f
Inline documentation for hooks in wp-admin/plugin-editor.php.
...
Props a.hoereth.
See #25229 .
Built from https://develop.svn.wordpress.org/trunk@25534
git-svn-id: http://core.svn.wordpress.org/trunk@25454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-20 23:18:10 +00:00
Helen Hou-Sandí
d729fbf8e6
Allow the "Add New" URL on post edit screens to be filtered via admin_url()
. props SergeyBiryukov, jeremyfelt, c3mdigital. fixes #18504 .
...
Built from https://develop.svn.wordpress.org/trunk@25527
git-svn-id: http://core.svn.wordpress.org/trunk@25447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-20 20:31:09 +00:00
Helen Hou-Sandí
c7e2071893
Make it possible to filter comment screen by post type; no UI. props johnbillion, c3mdigital. fixes #18596 .
...
Built from https://develop.svn.wordpress.org/trunk@25526
git-svn-id: http://core.svn.wordpress.org/trunk@25446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-20 20:16:11 +00:00
Drew Jaynes
50fcee5b02
Inline documentation for hooks in wp-admin/plugin-install.php.
...
Props naomicbush.
See #25229 .
Built from https://develop.svn.wordpress.org/trunk@25512
git-svn-id: http://core.svn.wordpress.org/trunk@25432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-20 02:36:09 +00:00
Drew Jaynes
11080f459c
Inline documentation for hooks in wp-admin/includes/plugin-install.php.
...
Props naomicbush.
See #25229 .
Built from https://develop.svn.wordpress.org/trunk@25511
git-svn-id: http://core.svn.wordpress.org/trunk@25431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-20 02:22:10 +00:00
Helen Hou-Sandí
6c121d303d
Add a class to the bulk actions wrapper div. props nofearinc. fixes #25197 .
...
Built from https://develop.svn.wordpress.org/trunk@25509
git-svn-id: http://core.svn.wordpress.org/trunk@25429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-19 21:01:09 +00:00
Helen Hou-Sandí
52426794c1
Restore post formats to bulk editing. props azaozz, SergeyBiryukov, DrewAPicture. fixes #24096 .
...
Built from https://develop.svn.wordpress.org/trunk@25505
git-svn-id: http://core.svn.wordpress.org/trunk@25426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-19 17:47:08 +00:00
Drew Jaynes
38fdaaa12b
Inline documentation for hooks in wp-admin/admin-header.php.
...
props ericlewis. Fixes #25353 .
Built from https://develop.svn.wordpress.org/trunk@25499
git-svn-id: http://core.svn.wordpress.org/trunk@25420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-19 16:33:08 +00:00
Sergey Biryukov
8595facd73
Some more tweaks for the documentation in wp-admin/includes/ms.php. see #25229 .
...
Built from https://develop.svn.wordpress.org/trunk@25497
git-svn-id: http://core.svn.wordpress.org/trunk@25418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-19 16:06:12 +00:00
Dion Hulse
aa0fb26397
WordPress Core Automatic Updates: Add a post-upgrade summary email to the WordPress install's admin email address. See #22704
...
Built from https://develop.svn.wordpress.org/trunk@25496
git-svn-id: http://core.svn.wordpress.org/trunk@25417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-19 08:46:09 +00:00
Dion Hulse
340e129deb
Upgrader: Fix the order of arguements passed to wp_parse_args() in the Upgrader, introduced with [25272]. See #22704
...
Built from https://develop.svn.wordpress.org/trunk@25495
git-svn-id: http://core.svn.wordpress.org/trunk@25416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-19 08:40:10 +00:00
Drew Jaynes
2f548f1e6b
Add phpdoc blocks in wp-admin/credits.php.
...
Props siobhan, markoheijnen.
Fixes #20425 .
Built from https://develop.svn.wordpress.org/trunk@25491
git-svn-id: http://core.svn.wordpress.org/trunk@25412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-19 02:27:09 +00:00
Drew Jaynes
7b2584c71f
Add missing phpdoc block for export_date_options()
.
...
Props siobhan for the initial patch. See #20425
Built from https://develop.svn.wordpress.org/trunk@25490
git-svn-id: http://core.svn.wordpress.org/trunk@25411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-19 02:09:08 +00:00
Sergey Biryukov
27a75e12ad
Update inline documentation for hooks in wp-admin/includes/ms.php.
...
props jamescollins.
see #25229 .
Built from https://develop.svn.wordpress.org/trunk@25486
git-svn-id: http://core.svn.wordpress.org/trunk@25407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-19 00:05:09 +00:00
Sergey Biryukov
e6cef58106
Clean up the documentation for hooks in wp-admin/includes/plugin.php.
...
props DrewAPicture.
see #25229 .
Built from https://develop.svn.wordpress.org/trunk@25482
git-svn-id: http://core.svn.wordpress.org/trunk@25403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-18 19:36:09 +00:00
Sergey Biryukov
37e3b91285
Inline documentation for hooks in wp-admin/includes/ms.php.
...
props enej, DrewAPicture.
see #25229 .
Built from https://develop.svn.wordpress.org/trunk@25481
git-svn-id: http://core.svn.wordpress.org/trunk@25402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-18 18:22:09 +00:00
Sergey Biryukov
31ddfcca58
Correct @since for hooks in wp-admin/includes/plugin.php. see #25229 .
...
Built from https://develop.svn.wordpress.org/trunk@25477
git-svn-id: http://core.svn.wordpress.org/trunk@25398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-18 11:58:10 +00:00
Peter Westwood
8f621ffc78
Inline documentation for hooks in wp-admin/includes/plugin.php
...
See #25229 props dllh
Built from https://develop.svn.wordpress.org/trunk@25474
git-svn-id: http://core.svn.wordpress.org/trunk@25395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-18 07:38:12 +00:00
Sergey Biryukov
14db24911f
Deprecate the_attachment_links(), unused since [6910]. props vinod dalvi. fixes #25340 .
...
Built from https://develop.svn.wordpress.org/trunk@25472
git-svn-id: http://core.svn.wordpress.org/trunk@25393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-17 09:08:08 +00:00
Sergey Biryukov
637fa4f1af
Inline documentation for hooks in wp-admin/user-new.php.
...
props bftrick.
see #25229 .
Built from https://develop.svn.wordpress.org/trunk@25470
git-svn-id: http://core.svn.wordpress.org/trunk@25391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-17 08:33:10 +00:00
Dion Hulse
f98f5d0a36
WordPress Upgrades: When defining the default filesystem permissions for files/directories, base the value on the existing ABSPATH & index.php file permissions - so as to respect the executable bit (if set) and not set global read if not required.
...
This sets a minimum permission set to 750 and 640 for directories and files, so any systems requring less permission than that will still need to define the constants themselves. Fixes #20069
Built from https://develop.svn.wordpress.org/trunk@25469
git-svn-id: http://core.svn.wordpress.org/trunk@25390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-17 08:06:09 +00:00
Dion Hulse
59d5e858f7
WordPress Core Automatic Updates: Remove some debug. See #22704
...
Built from https://develop.svn.wordpress.org/trunk@25468
git-svn-id: http://core.svn.wordpress.org/trunk@25389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-17 04:08:09 +00:00
Dion Hulse
cc84220ab5
WordPress Core Automatic Updates: Switch from using a transient for locking the upgrade process, to using a site option. See #22704
...
Built from https://develop.svn.wordpress.org/trunk@25467
git-svn-id: http://core.svn.wordpress.org/trunk@25388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-17 02:28:09 +00:00
Helen Hou-Sandí
7439445462
Make sure quick edited non-alternate taxonomy list table rows don't become alternate. props c3mdigital. fixes #25059 .
...
Built from https://develop.svn.wordpress.org/trunk@25463
git-svn-id: http://core.svn.wordpress.org/trunk@25384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-16 21:11:09 +00:00
Sergey Biryukov
3137e83126
Check if the post type supports title. see #24423 .
...
Built from https://develop.svn.wordpress.org/trunk@25461
git-svn-id: http://core.svn.wordpress.org/trunk@25382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-16 20:51:09 +00:00
Andrew Nacin
737bcf1123
Only focus the title field when it is empty. Remove ancient code that provided for an alternate condition.
...
props scruffian for initial patches.
props helen.
fixes #24423 .
Built from https://develop.svn.wordpress.org/trunk@25459
git-svn-id: http://core.svn.wordpress.org/trunk@25380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-16 20:37:09 +00:00
Sergey Biryukov
239aa081c5
Clarify a string in Network Dashboard help text. props DrewAPicture. see #23163 .
...
Built from https://develop.svn.wordpress.org/trunk@25457
git-svn-id: http://core.svn.wordpress.org/trunk@25378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-16 20:14:11 +00:00
Andrew Nacin
d3b89d43fc
Add nginx detection to the Permalink Settings screen.
...
Introduces got_url_rewrite() and a corresponding filter, which should now be used in lieu of the got_rewrite filter in got_mod_rewrite().
This does not write or even suggest nginx configuration; rather, it prevents nginx from being considered as either Apache or as an unrecognized server.
props johnbillion.
fixes #25098 .
Built from https://develop.svn.wordpress.org/trunk@25456
git-svn-id: http://core.svn.wordpress.org/trunk@25377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-16 20:07:09 +00:00
Andrew Nacin
4587da663f
Allow callback args to be passed from wp_add_dashboard_widget() to add_meta_box().
...
props jdgrimes.
fixes #25152 .
Built from https://develop.svn.wordpress.org/trunk@25454
git-svn-id: http://core.svn.wordpress.org/trunk@25375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-16 18:07:10 +00:00
Andrew Nacin
5f9a631983
Let the wp_redirect to media-new.php from post-new.php?post_type=attachment be canceled using the wp_redirect filter.
...
props DrewAPicture.
fixes #25216 .
Built from https://develop.svn.wordpress.org/trunk@25453
git-svn-id: http://core.svn.wordpress.org/trunk@25374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-16 17:52:10 +00:00
Andrew Nacin
188f763120
Use get_terms() in the ajax tag search.
...
props Chouby.
fixes #25231 .
Built from https://develop.svn.wordpress.org/trunk@25452
git-svn-id: http://core.svn.wordpress.org/trunk@25373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-16 17:51:08 +00:00
Andrew Nacin
6931079cec
Multisite blogs table: Convert the archived field from enum to tinyint to match the other status fields. fixes #12832 .
...
Built from https://develop.svn.wordpress.org/trunk@25448
git-svn-id: http://core.svn.wordpress.org/trunk@25369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-15 23:12:11 +00:00
Dion Hulse
d39f430f64
WordPress Core Automatic Updates: Remove an accidental closure which isn't supported in PHP 5.2. See #22704
...
Built from https://develop.svn.wordpress.org/trunk@25447
git-svn-id: http://core.svn.wordpress.org/trunk@25368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-15 01:26:09 +00:00
Andrew Nacin
fef6081046
Move to JSON for three api.wordpress.org endpoints. see #25311 .
...
Built from https://develop.svn.wordpress.org/trunk@25441
git-svn-id: http://core.svn.wordpress.org/trunk@25362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-14 19:31:08 +00:00