Sergey Biryukov
aee4a4e278
Don't use <strong>
in translatable string in wp-admin/includes/nav-menu.php
.
...
Add translator commment.
Props ramiy.
Fixes #34500 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35442 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-30 01:16:39 +00:00
Sergey Biryukov
9e8e68f001
Add <code>
tag missed in [35440].
...
See #34498 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35441 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-30 01:11:53 +00:00
Sergey Biryukov
540e4b5edd
Don't use <code>
in translatable strings in wp-admin/includes/class-wp-plugins-list-table.php
.
...
Add translator commments.
Props ramiy.
Fixes #34498 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35440 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-30 01:07:11 +00:00
Sergey Biryukov
d21d397d49
Don't use <code>
in translatable string in wp-admin/includes/media.php
.
...
Add translator commment.
Props ramiy.
Fixes #34499 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35439 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-30 00:57:22 +00:00
Andrea Fercia
347b0bf108
Media: Improve the headings hierarchy in the Media Views for better accessibility.
...
Fixes #34273 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35427 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-28 23:07:08 +00:00
Scott Taylor
ad471ac474
Admin Menu: after [34861], prevent adjacent separators.
...
Props johnjamesjacoby.
Fixes #24104 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35416 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-28 18:05:05 +00:00
Scott Taylor
83f90bf851
Dashboard: make tags used for headings more semantic.
...
Props Cheffheid, afercia.
Fixes #33558 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35414 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-28 17:56:22 +00:00
Drew Jaynes
1353016c4f
Docs: Standardize the file header for wp-admin/includes/ms-deprecated.php.
...
See #33701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35407 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-27 20:07:45 +00:00
Drew Jaynes
c1db6a9a56
Docs: Add a @subpackage
tag to the file header for wp-admin/includes/ms-admin-filters.php.
...
See #33701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35403 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-26 18:05:52 +00:00
Drew Jaynes
62b00c70cc
Docs: Add a version to the file header for wp-admin/includes/revision.php.
...
See #33701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35387 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-24 18:28:10 +00:00
Scott Taylor
a18feed6bd
Nav Menus: show custom post type Archive item at the top of the View All
tab for the post type on the legacy Nav Menu screen.
...
Props aaroncampbell, DrewAPicture, seanchayes, hlashbrooke, paulwilde, ericlewis, raulillana
See #16075 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35382 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-24 17:45:11 +00:00
Sergey Biryukov
d842c03e02
Docs: Correct the type and description of $post
parameter passed to the attachment_fields_to_save
filter.
...
Props swissspidy.
Fixes #34404 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35374 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 13:00:11 +00:00
Sergey Biryukov
bcb1e8eda2
Docs: Use consistent naming and capitalization of menu names in add_submenu_page()
wrappers.
...
Props atomicjack, Mckilem.
Fixes #34360 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35373 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 12:01:11 +00:00
dd32
f935d4c26b
Updates: Add a generic failure case to the ajax update endpoint for when the WP_Error
value hasn't been found.
...
See #34403
git-svn-id: https://develop.svn.wordpress.org/trunk@35371 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 07:34:02 +00:00
Dion Hulse
743fe671f1
Comments: Use a full URL rather than a relative one for links which can contain IPv6 addresses to avoid an issue where the URL was being eaten by escaping functions.
...
See #34407 , #34202
Fixes #34054
git-svn-id: https://develop.svn.wordpress.org/trunk@35368 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 05:13:27 +00:00
Scott Taylor
c6354d6bfd
Plugins: after [35151], set default $restrict_network_*
values to prevent notices.
...
Props johnjamesjacoby.
Fixes #20104 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35361 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 19:55:30 +00:00
Scott Taylor
9aba8ef2aa
Options: remove old 'gzipcompression' and 'advanced_edit' options.
...
Props chriscct7, solarissmoke.
Fixes #12996 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35360 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 19:48:38 +00:00
Drew Jaynes
68c5efb7f3
Docs: Add a proper file header to wp-admin/includes/continents-cities.php.
...
See #33701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35359 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 19:42:23 +00:00
Helen Hou-Sandi
7adf6e9125
List tables: Move the view mode switcher into screen options for posts.
...
Having a view mode switcher nestled within table navigation makes no sense, especially now that it's a sticky user option. While less convenient for frequent switching, there is no evidence as of yet that there is a large userbase of frequent view mode switchers.
Introduces a filter for `view_mode_post_types`, which by default is all hierarchical post types with edit UI on.
props Oxymoron.
fixes #22222 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35357 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-22 19:24:10 +00:00
Dominik Schilling (ocean90)
05356ff7dc
Options: Hide the week starts on setting for installs that have the default setting already.
...
The default setting is the value of `$wp_locale->start_of_week` which holds the value per locale, see [35336].
Props swissspidy, ocean90.
Fixes #28344 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35337 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 17:38:44 +00:00
Boone Gorges
e4b72ad5ca
Don't force comment pagination.
...
[34561] instituted the policy of forcing pagination for comments. This strategy
was intended to avert problems when 'page_comments' is set to 0 - as it is by
default - and the number of comments on a given post rises into the hundreds or
thousands. By forcing pagination in all cases, we ensured that WordPress would
not time out by processing unwieldy numbers of comments on a given pageload.
The strategy proves problematic, however, because comment permalinks are
generated using the page of the comment. Forcing pagination for posts that
were not previously paginated would change the URL of all comments that do not
appear on the default comment page.
This changeset reintroduces the 'page_comments' setting and its corresponding
checkbox on Settings > Discussion. A number of tests, which were written after
[34561], are modified to work now that 'page_comments' will, once again, be
disabled by default.
See #8071 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35331 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 16:25:31 +00:00
Dominik Schilling (ocean90)
9a1b5f93cd
List Tables: Replace the hyphen separator for titles and post/media states with a —
.
...
Props McGuive7.
Fixes #23230 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35326 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 14:32:02 +00:00
Drew Jaynes
a28e35e462
Filesystem: Following the introduction of the KB|MB|GB|TB_IN_BYTES
constants in [35286], use them in various places in core.
...
Props sudar.
Fixes #22405 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35325 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 14:02:59 +00:00
Andrew Ozz
7ba408c93e
Widgets: add a button to delete all inactive widgets simultaneously for better UX.
...
Props cdog.
Fixes #19159 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35317 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 05:22:52 +00:00
Scott Taylor
6f6c0ebb52
Plugins/Updates: in request_filesystem_credentials()
, alter the heading HTML tag based on the current screen for improved semantics.
...
Props afercia.
Fixes #34267 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35315 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 03:50:19 +00:00
Scott Taylor
51637379a2
Formatting: move url_shorten()
from wp-admin/includes/misc.php
to wp-includes/formatting.php
for more global access.
...
Adds unit tests.
Props mulvane, chriscct7.
Fixes #20166 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35314 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 03:47:23 +00:00
Scott Taylor
e4bcddecfb
Site Icon: make the default value for the site_icon
option 0
in schema.php
.
...
Props swissspidy, sebastian.pisula.
Fixes #34339 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35312 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-21 03:27:54 +00:00
Konstantin Obenland
e9579b3ed5
Site Icon: Get site icon ID only when needed.
...
Cuts down on unnecessary queries, especially in environments that rely on
post meta a lot. Reverts [32997].
Props ap.koponen, swissspidy.
Fixes #34368 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35299 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-20 18:22:41 +00:00
Scott Taylor
eb6bdb59cd
Dashboard: use the create_posts
cap on the post type object when determining if the Quick Press widget can be displayed.
...
Props jim912, ocean90, chriscct7.
Fixes #25681 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35282 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-20 05:48:11 +00:00
Scott Taylor
089276d5e8
List Tables: revert the majority of [34467]. This was almost universally abhorred (the JS that disabled the bulk dropdowns).
...
See #31634 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35277 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-20 04:28:05 +00:00
Drew Jaynes
900810e508
Docs: Add a missing file header for wp-admin/includes/class-wp-site-icon.php.
...
See #33701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35271 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-19 20:08:34 +00:00
Dion Hulse
063d42a801
In insert_with_markers()
restore the 4.3 behaviour of creating the file if it doesn't exist.
...
This change also makes it bail early (without writing) if the markers content is the same as the existing, and uses `ftell()` rather than `$bytes` for the location to truncate the file to - based on the file pointer being at the end of the written stream.
Props willmot tigertech kevinatelement
See #31767
git-svn-id: https://develop.svn.wordpress.org/trunk@35267 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-19 00:52:08 +00:00
Drew Jaynes
84d3e1f305
Administration: Introduce the manage_posts_extra_tablenav
action, which fires inside the tablenav for the posts list table, and just outside the "actions" container.
...
Props hlashbrooke, wonderboymusic.
Fixes #30341 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35263 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-18 14:55:52 +00:00
Drew Jaynes
cb2bc30252
Docs: Add a version to the file header for wp-admin/includes/comment.php.
...
See #33701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35262 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-18 14:33:31 +00:00
Drew Jaynes
5a0fd03f95
Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly.
...
See #33701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35241 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-17 15:12:48 +00:00
Drew Jaynes
cba5390270
Docs: Add a missing file header for wp-admin/includes/class-wp-list-table.php.
...
See #33701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35237 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-17 06:06:59 +00:00
Sergey Biryukov
5c19a7a704
Replace Quick Edit and Bulk Edit headings with <legend>
elements.
...
Props afercia.
Fixes #34289 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35234 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-17 00:44:12 +00:00
Sergey Biryukov
fe72320f33
Merge two strings for expanding accordion and Customizer sections.
...
Props pavelevap.
Fixes #33939 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35232 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-17 00:27:44 +00:00
Sergey Biryukov
af36c261e3
Sample permalink: Improve accessibility of changing the permalink on Edit Post screen.
...
Props afercia.
Fixes #34255 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35229 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-16 23:01:58 +00:00
Sergey Biryukov
0d4a7ee029
In WP_Posts_List_Table
, correct the type for $comment_pending_count
.
...
See #11381 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35223 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-16 18:24:25 +00:00
Sergey Biryukov
e4c9f97fb3
In WP_Media_List_Table
, rename $pending_count
to $comment_pending_count
and mark it as protected, for consistency with WP_Posts_List_Table
.
...
See #11381 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35222 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-16 18:22:12 +00:00
Drew Jaynes
ea8e9f89cd
Docs: Standardize the file header summary for wp-admin/includes/file.php.
...
Also adds an `@since` version and corrects the `@subpackage` value.
See #33701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35221 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-16 16:55:24 +00:00
Andrea Fercia
e68dfb6c6b
Bump H4 headings to H2 in the Updates screen for better accessibility.
...
Fixes #34265 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35219 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-16 15:44:49 +00:00
Drew Jaynes
ebd20119ec
Docs: Walker_Nav_Menu_Checklist
and Walker_Nav_Menu_Edit
are part of the Navigation Menu API, but intended for use in the scope of administration.
...
See #33701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35202 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-15 17:25:11 +00:00
Sergey Biryukov
3d7aa47df8
Remove a one-time variable from edit_user()
added in [35189].
...
See #27317 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35190 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-15 05:45:50 +00:00
Sergey Biryukov
e675e2ccf0
Users: Add 'illegal_user_logins'
filter to allow certain usernames to be blacklisted.
...
Props danielbachhuber, chriscct7, crazycoolcam, SergeyBiryukov.
Fixes #27317 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35189 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-15 05:42:05 +00:00
Helen Hou-Sandi
61ef1ff96f
Make some primary action buttons look primary.
...
* User deletion/removal
* Site status change (multisite)
* Network upgrade
* Import file upload
* Media browser upload
props Dezzy for the initial patch.
fixes #23738 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35182 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-15 03:07:48 +00:00
Drew Jaynes
0cb7c0bd9f
Docs: Add missing descriptions for the $wpdb
global in DocBlocks all the places.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35170 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-14 23:43:10 +00:00
Drew Jaynes
68a3c0cc73
Docs: Fix third-person singular verbs for summaries in wp-admin/includes/bookmarks.php.
...
Also adds some missing parameter, return, and global descriptions, and one missing summary.
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35169 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-14 23:24:46 +00:00
Drew Jaynes
c163beb1db
Docs: Standardize file header summary for wp-admin/includes/ajax-actions.php.
...
See #33701 .
[ci skip]
git-svn-id: https://develop.svn.wordpress.org/trunk@35168 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-14 22:48:24 +00:00