Sergey Biryukov
9c6504120f
Pass $reassign parameter to 'delete_user' and 'deleted_user' actions.
...
props genkisan.
fixes #23057 .
Built from https://develop.svn.wordpress.org/trunk@27462
git-svn-id: http://core.svn.wordpress.org/trunk@27307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-08 01:23:15 +00:00
Andrew Nacin
449ffedfb9
maybe_regenerate_attachment_metadata() is now wp_maybe_generate_attachment_metadata().
...
props kovshenin.
fixes #26825 .
Built from https://develop.svn.wordpress.org/trunk@27441
git-svn-id: http://core.svn.wordpress.org/trunk@27288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-06 19:34:14 +00:00
Drew Jaynes
c64dc20146
Inline documentation for hooks in wp-admin/includes/class-wp-theme-install-list-table.php.
...
Props kpdesign for the cleanup.
Fixes #27293 .
Built from https://develop.svn.wordpress.org/trunk@27430
git-svn-id: http://core.svn.wordpress.org/trunk@27277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-06 13:44:14 +00:00
Andrew Nacin
e853a9cc57
Add widget management to the customizer.
...
This brings in the Widget Customizer plugin: https://wordpress.org/plugins/widget-customizer/ .
props westonruter, shaunandrews, michael-arestad, johnregan3, akeda, topher1kenobe, topquarky, bobbravo2, ricardocorreia. And for good measure, props westonruter.
see #27112 .
Built from https://develop.svn.wordpress.org/trunk@27419
git-svn-id: http://core.svn.wordpress.org/trunk@27266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 20:41:14 +00:00
Andrew Nacin
39fcb291fe
Always convert auto-drafts to drafts in edit_draft() and _wp_translate_postdata().
...
This regressed due to refactoring in [26995]. This commit fixes Quick Draft.
see #25272 .
Built from https://develop.svn.wordpress.org/trunk@27405
git-svn-id: http://core.svn.wordpress.org/trunk@27252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 06:26:14 +00:00
Andrew Ozz
7121bb490d
Restyles the modal for attaching media to posts, take II (also some autoprefixer and imagemin). Props avryl, see #26952 .
...
Built from https://develop.svn.wordpress.org/trunk@27403
git-svn-id: http://core.svn.wordpress.org/trunk@27250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 03:54:15 +00:00
Andrew Ozz
19efb78b48
Restyles the modal for attaching media to posts, props avryl, see #26952
...
Built from https://develop.svn.wordpress.org/trunk@27401
git-svn-id: http://core.svn.wordpress.org/trunk@27248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-04 23:11:13 +00:00
Andrew Nacin
2c68373c83
Convert the post lock icon to a dashicon.
...
props melchoyce, DH-Shredder.
fixes #26796 .
Built from https://develop.svn.wordpress.org/trunk@27392
git-svn-id: http://core.svn.wordpress.org/trunk@27240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-04 06:53:14 +00:00
Dominik Schilling
00f224624e
"At a Glance" widget: Move get_avatar()
line out of if-block.
...
This allows you to show avatars for custom comment types via the `get_avatar_comment_types` filter.
props zodiac1978.
fixes #26944 .
Built from https://develop.svn.wordpress.org/trunk@27384
git-svn-id: http://core.svn.wordpress.org/trunk@27232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 20:14:14 +00:00
Drew Jaynes
690481f8e8
Generalize the hook documentation for the set-screen-option
filter.
...
The filter covers more than [items]_per_page screen options.
Fixes #26186 .
Built from https://develop.svn.wordpress.org/trunk@27379
git-svn-id: http://core.svn.wordpress.org/trunk@27228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 17:51:14 +00:00
Drew Jaynes
849ce35cb9
Inline documentation for hooks in wp-admin/includes/misc.php.
...
Props JoshuaAbenazer.
Fixes #26186
Built from https://develop.svn.wordpress.org/trunk@27375
git-svn-id: http://core.svn.wordpress.org/trunk@27224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 17:20:16 +00:00
Andrew Nacin
cc7a2e29f5
Slight renaming in our callback in [27373]. see #14424 .
...
Built from https://develop.svn.wordpress.org/trunk@27374
git-svn-id: http://core.svn.wordpress.org/trunk@27223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 17:09:14 +00:00
Mark Jaquith
fb56a9942b
Eliminate some of our last remaining create_function()
instances
...
* Moved some into private function callbacks
* Eliminated some that weren't necessary anymore
props obenland, markjaquith, nacin. fixes #14424
Built from https://develop.svn.wordpress.org/trunk@27373
git-svn-id: http://core.svn.wordpress.org/trunk@27222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 16:21:16 +00:00
Andrew Nacin
0c16c0477b
Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc.
...
props Ipstenu, markjaquith.
see #27115 .
Built from https://develop.svn.wordpress.org/trunk@27369
git-svn-id: http://core.svn.wordpress.org/trunk@27219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 02:34:27 +00:00
Andrew Nacin
ffc4ca7b01
Introduce get_site_by_path() and further rewrite the site detection process for multisite.
...
This is the first big step to supporting arbitrary domains and paths. In this new approach, sites are detected first where possible, then the network is inferred. Allows filtering for arbitrary path segments, smooths out some weirdness, and removes various restrictions. A sunrise plugin could do much of its work by adding filters, if those are even needed.
see #27003 .
Built from https://develop.svn.wordpress.org/trunk@27359
git-svn-id: http://core.svn.wordpress.org/trunk@27209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-02 22:25:14 +00:00
Drew Jaynes
c0e436d3d3
Inline documentation for hooks in wp-admin/includes/image-edit.php.
...
Props theorboman. Props kpdesign for the cleanup.
Fixes #26149 .
Built from https://develop.svn.wordpress.org/trunk@27357
git-svn-id: http://core.svn.wordpress.org/trunk@27208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-02 20:56:15 +00:00
Drew Jaynes
5da89414a8
Inline documentation for hooks in wp-admin/includes/class-wp-plugins-list-table.php.
...
Props nicolealleyinteractivecom, kpdesign.
Fixes #26957 .
Built from https://develop.svn.wordpress.org/trunk@27356
git-svn-id: http://core.svn.wordpress.org/trunk@27207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-02 20:48:14 +00:00
Drew Jaynes
16941beac1
Tweak inline documentation for hooks in wp-admin/includes/class-wp-users-list-table.php.
...
Props kpdesign.
Fixes #26203 .
Built from https://develop.svn.wordpress.org/trunk@27355
git-svn-id: http://core.svn.wordpress.org/trunk@27206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-02 20:32:15 +00:00
Drew Jaynes
15068e1cd4
Inline documentation for hooks in wp-admin/includes/class-wp-users-list-table.php.
...
Props leewillis77.
Fixes #26203 .
Built from https://develop.svn.wordpress.org/trunk@27342
git-svn-id: http://core.svn.wordpress.org/trunk@27194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 15:00:15 +00:00
Dion Hulse
d5775c8b6c
Upgrader: Remove more debug from r27336. See #25860
...
Built from https://develop.svn.wordpress.org/trunk@27339
git-svn-id: http://core.svn.wordpress.org/trunk@27191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 06:06:14 +00:00
Dion Hulse
487efa7957
Upgrader: Remove some debug from r27336. See #25860
...
Built from https://develop.svn.wordpress.org/trunk@27338
git-svn-id: http://core.svn.wordpress.org/trunk@27190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 06:04:14 +00:00
Dion Hulse
6b280a820e
Upgrader: Remove two stray spaces. See #25860
...
Built from https://develop.svn.wordpress.org/trunk@27337
git-svn-id: http://core.svn.wordpress.org/trunk@27189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 06:02:15 +00:00
Dion Hulse
c94a32b0ad
Upgrader: Copy wp-includes/version.php over last, to avoid an installation failing with the new version.php in place. Fixes #25860
...
Built from https://develop.svn.wordpress.org/trunk@27336
git-svn-id: http://core.svn.wordpress.org/trunk@27188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-01 06:01:16 +00:00
Scott Taylor
e92770ba93
* Videos should always render at the same aspect ratio.
...
* Don't force a pseudo-mime-type for `.m4v` files
* Uniformly adapt to `$content_width` when setting video dimensions on the front end
* Add the `height` attribute to the initial `<video>` in the video playlist JS template
* Add some defensive/responsive CSS for a/v on the Edit Media page
See #27243 .
Built from https://develop.svn.wordpress.org/trunk@27328
git-svn-id: http://core.svn.wordpress.org/trunk@27180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 21:28:14 +00:00
John Blackbourn
44e34f826b
Don't filter out network-only plugins from the Plugins screen if they're individually active on the current site. Add some code comments for clarity. Props mordauk
...
Built from https://develop.svn.wordpress.org/trunk@27326
git-svn-id: http://core.svn.wordpress.org/trunk@27178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 20:22:14 +00:00
Sergey Biryukov
5f0f676199
Use a consistent format for translator comments.
...
props GaryJ.
fixes #27228 .
Built from https://develop.svn.wordpress.org/trunk@27325
git-svn-id: http://core.svn.wordpress.org/trunk@27177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 08:09:13 +00:00
Sergey Biryukov
e7467f9b44
Remove temporary hooks added in [26865].
...
fixes #26661 .
Built from https://develop.svn.wordpress.org/trunk@27324
git-svn-id: http://core.svn.wordpress.org/trunk@27176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 00:45:16 +00:00
Sergey Biryukov
f291730aec
Avoid an undefined index notice in wp_doc_link_parse().
...
props pross for initial patch.
fixes #27214 .
Built from https://develop.svn.wordpress.org/trunk@27323
git-svn-id: http://core.svn.wordpress.org/trunk@27175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 23:16:13 +00:00
Sergey Biryukov
bc036d0843
Avoid an undefined index notice in wp_handle_upload().
...
props tivnet.
fixes #27225 .
Built from https://develop.svn.wordpress.org/trunk@27319
git-svn-id: http://core.svn.wordpress.org/trunk@27171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 21:16:15 +00:00
Andrew Ozz
d896fa2487
Upgrade Plupload to 2.1.1, props kovshenin, see #25663
...
Built from https://develop.svn.wordpress.org/trunk@27316
git-svn-id: http://core.svn.wordpress.org/trunk@27168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 20:01:16 +00:00
Andrew Nacin
bee73edb62
Unslash in the time-format and date-format ajax endpoints.
...
props GregLone.
fixes #27216 .
Built from https://develop.svn.wordpress.org/trunk@27305
git-svn-id: http://core.svn.wordpress.org/trunk@27158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 00:05:14 +00:00
Drew Jaynes
8dc5888cfa
Improve inline documentation for WP_Users_List_Table
.
...
Props leewillis77 for the initial patch.
Fixes #26564 .
Built from https://develop.svn.wordpress.org/trunk@27301
git-svn-id: http://core.svn.wordpress.org/trunk@27154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 22:20:17 +00:00
Andrew Nacin
13e868ac55
Decrement update count bubbles as plugins/themes are updated, live.
...
props gcorne, mitchoyoshitaka.
fixes #17703 .
Built from https://develop.svn.wordpress.org/trunk@27280
git-svn-id: http://core.svn.wordpress.org/trunk@27136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 06:55:14 +00:00
Andrew Nacin
9c9c824de2
Clarify return values for get_preferred_from_update_core() and get_core_updates().
...
props SergeyBiryukov.
fixes #20251 .
Built from https://develop.svn.wordpress.org/trunk@27264
git-svn-id: http://core.svn.wordpress.org/trunk@27121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 17:20:13 +00:00
Drew Jaynes
cb8951b0b3
Remove all @package
and @subpackage
PHPDoc tags not at the file- or class-levels in core.
...
See #27200 .
Built from https://develop.svn.wordpress.org/trunk@27262
git-svn-id: http://core.svn.wordpress.org/trunk@27119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 17:14:14 +00:00
Andrew Nacin
bf028ce1e3
Remove _relocate_children(), which has had no purpose for some time.
...
props SergeyBiryukov, scribu.
fixes #19367 .
Built from https://develop.svn.wordpress.org/trunk@27261
git-svn-id: http://core.svn.wordpress.org/trunk@27118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 17:10:14 +00:00
Andrew Nacin
c102fd5a9d
Make the user arguments for get_edit_profile_url() and get_dashboard_url() optional, defaulting to the current user.
...
props garyc40.
fixes #16686 .
Built from https://develop.svn.wordpress.org/trunk@27260
git-svn-id: http://core.svn.wordpress.org/trunk@27117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 17:08:13 +00:00
Drew Jaynes
94549c1a4a
Inline documentation for hooks in wp-admin/includes/screen.php.
...
Props enej, kpdesign.
Fixes #26821 .
Built from https://develop.svn.wordpress.org/trunk@27256
git-svn-id: http://core.svn.wordpress.org/trunk@27113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 10:05:14 +00:00
Drew Jaynes
0ab444cd42
Inline documentation for hooks in wp-admin/includes/class-wp-posts-list-table.php.
...
Props nicolealleyinteractivecom, kpdesign.
Fixes #26397 .
Built from https://develop.svn.wordpress.org/trunk@27255
git-svn-id: http://core.svn.wordpress.org/trunk@27112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 06:12:13 +00:00
Sergey Biryukov
0cbdf53b18
Fix theme preview URL for themes loaded via AJAX on Install Themes screen.
...
props ocean90.
fixes #27128 .
Built from https://develop.svn.wordpress.org/trunk@27247
git-svn-id: http://core.svn.wordpress.org/trunk@27104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 00:01:14 +00:00
Drew Jaynes
ad3861242d
Inline documentation for hooks in wp-admin/includes/template.php.
...
Props shelob9 for the initial patch. Props kpdesign.
Fixes #26089 .
Built from https://develop.svn.wordpress.org/trunk@27237
git-svn-id: http://core.svn.wordpress.org/trunk@27094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-23 22:44:13 +00:00
Sergey Biryukov
f9d5020cb5
Use filtered per_page value in WP_Plugin_Install_List_Table and WP_Theme_Install_List_Table.
...
props brasofilo.
fixes #25675 .
Built from https://develop.svn.wordpress.org/trunk@27221
git-svn-id: http://core.svn.wordpress.org/trunk@27078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 18:30:14 +00:00
Andrew Nacin
912379a022
Simplify error in validate_file_to_edit().
...
props MattyRob for initial patch.
fixes #25924 .
Built from https://develop.svn.wordpress.org/trunk@27219
git-svn-id: http://core.svn.wordpress.org/trunk@27076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 14:46:14 +00:00
Drew Jaynes
61538d3f5e
Inline documentation for hooks in wp-admin/includes/image.php.
...
Props theorboman, kpdesign.
Fixes #25832 .
Built from https://develop.svn.wordpress.org/trunk@27202
git-svn-id: http://core.svn.wordpress.org/trunk@27059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 06:27:13 +00:00
John Blackbourn
32114a645d
Add screen-reader friendly variations of some short text links in the Publish meta box. Fixes #25459 .
...
Built from https://develop.svn.wordpress.org/trunk@27196
git-svn-id: http://core.svn.wordpress.org/trunk@27055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-19 22:44:16 +00:00
Helen Hou-Sandí
ab31bf8683
Once upon a time not long ago,
...
The admin CSS was merged in #18314 .
After a couple years as it stood,
The mess it had become just was no good.
One day we realized Grunt is pretty cool,
And said "we should use this as our build tool!"
Now we can maintain separate files with ease,
Using @import and cssmin meets all our needs.
Welcome to the future of the WordPress stylesheets,
And thanks to Slick Rick for the beats.
props jorbin for the initial patch.
fixes #26669 .
Built from https://develop.svn.wordpress.org/trunk@27195
git-svn-id: http://core.svn.wordpress.org/trunk@27054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-19 21:43:14 +00:00
Sergey Biryukov
6919d9f197
Use correct variable. props avryl. fixes #27153 .
...
Built from https://develop.svn.wordpress.org/trunk@27194
git-svn-id: http://core.svn.wordpress.org/trunk@27053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-19 15:29:14 +00:00
Scott Taylor
ca4045ce76
Use selected()
where appropriate in touch_time()
, page_template_dropdown()
, and parent_dropdown()
. Also, add proper docs.
...
Props meloniq, DrewAPicture.
Fixes #25889 .
Built from https://develop.svn.wordpress.org/trunk@27188
git-svn-id: http://core.svn.wordpress.org/trunk@27047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-17 22:27:15 +00:00
Andrew Nacin
5f0981788d
Detect and handle symlinking of plugins in plugin_basename().
...
props rmccue, MikeSchinkel, jdgrimes.
see #16953 .
Built from https://develop.svn.wordpress.org/trunk@27158
git-svn-id: http://core.svn.wordpress.org/trunk@27024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-10 23:00:15 +00:00
Drew Jaynes
30c7a12aa2
Fix docs spacing missed in [27136].
...
See #27070 .
Built from https://develop.svn.wordpress.org/trunk@27137
git-svn-id: http://core.svn.wordpress.org/trunk@27004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-08 22:19:11 +00:00
Drew Jaynes
8b3c9c6b97
Improve inline documentation for submit_button()
.
...
See #27070 .
Built from https://develop.svn.wordpress.org/trunk@27136
git-svn-id: http://core.svn.wordpress.org/trunk@27003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-08 22:14:12 +00:00
Drew Jaynes
de97319ad8
Clarify submit_button()
$type
parameter docs to mention that the value doubles as the CSS class attribute.
...
See #27070
Built from https://develop.svn.wordpress.org/trunk@27135
git-svn-id: http://core.svn.wordpress.org/trunk@27002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-08 22:11:15 +00:00
Andrew Nacin
dbea669271
Improve parameter documentation of add_meta_box().
...
props philiparthurmoore, DrewAPicture.
fixes #26698 .
Built from https://develop.svn.wordpress.org/trunk@27132
git-svn-id: http://core.svn.wordpress.org/trunk@26999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-08 00:55:12 +00:00
Scott Taylor
03dda3b273
Introduce maybe_regenerate_attachment_metadata( $attachment )
. On the Edit Media screen, call it for Audio and Video files.
...
The functions checks if the item is lacking metadata altogether. If a video or audio file was uploaded prior to 3.6, it does not have any metadata. This tries to fix it. Implements locking via a transient to protect against this running in parallel with another request.
This is the minimum viable product for #26825 , but leaving the ticket open unless this function needs to be called in other places.
See #26825 .
Built from https://develop.svn.wordpress.org/trunk@27127
git-svn-id: http://core.svn.wordpress.org/trunk@26994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 22:41:12 +00:00
Helen Hou-Sandí
0100dd772a
Merge colors.css into wp-admin.css. Non-default color schemes became overloads rather than swaps in the 3.8 redesign. Benefits include:
...
* No more border-width, border-style, border-color insanity.
* Point releases are much less likely to require extra finagling to avoid rebuilding the color schemes.
* Yours truly has a better overall vision of ~14,000 lines of admin CSS and where we go from here.
1,065 net lines of red, y'all.
props helen, jorbin. fixes #18380 .
Built from https://develop.svn.wordpress.org/trunk@27106
git-svn-id: http://core.svn.wordpress.org/trunk@26973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 06:25:18 +00:00
Drew Jaynes
68f9370ae9
Inline documentation for hooks in wp-admin/includes/class-wp-ms-themes-list-table.php.
...
Also marks two hooks in wp-admin/includes/class-wp-themes-list-table.php as duplicates.
Props ShinichiN, kpdesign, DrewAPicture.
Fixes #25608 .
Built from https://develop.svn.wordpress.org/trunk@27090
git-svn-id: http://core.svn.wordpress.org/trunk@26962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-04 08:25:13 +00:00
Drew Jaynes
771f8dc244
Inline documentation for hooks in wp-admin/includes/class-wp-terms-list-table.php.
...
Props Ajay, kpdesign.
Fixes #26209 .
Built from https://develop.svn.wordpress.org/trunk@27089
git-svn-id: http://core.svn.wordpress.org/trunk@26961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-04 07:56:12 +00:00
Andrew Ozz
87c3c8adc0
Open previews of different posts in different windows/tabs. Prevent confusion when using a former preview window again if the user navigated to edit another post. If the first post is still being edited, clicking Preview there will use the current window to show the preview. Props ippetkov, fixes #20233 .
...
Built from https://develop.svn.wordpress.org/trunk@27079
git-svn-id: http://core.svn.wordpress.org/trunk@26952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-02 23:50:13 +00:00
Andrew Nacin
39e32ed1eb
Consistently trim and unslash search queries for the users list tables.
...
props aubreypwd.
fixes #26115 .
Built from https://develop.svn.wordpress.org/trunk@27077
git-svn-id: http://core.svn.wordpress.org/trunk@26950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-02 22:10:12 +00:00
Drew Jaynes
0715a1d551
Inline documentation for hooks in wp-admin/includes/export.php.
...
Props cmmarslender, kpdesign.
Fixes #26894 .
Built from https://develop.svn.wordpress.org/trunk@27048
git-svn-id: http://core.svn.wordpress.org/trunk@26922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-28 08:10:12 +00:00
Drew Jaynes
b977d778b2
Inline documentation for hooks in wp-admin/includes/update-core.php.
...
Props JoshuaAbenazer, kpdesign.
Fixes #25998 .
Built from https://develop.svn.wordpress.org/trunk@27047
git-svn-id: http://core.svn.wordpress.org/trunk@26921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-28 08:02:14 +00:00
Helen Hou-Sandí
291ed370b4
Autocomplete for the new site admin email. Better than trying to remember which email address you used.
...
fixes #25348 .
Built from https://develop.svn.wordpress.org/trunk@27046
git-svn-id: http://core.svn.wordpress.org/trunk@26920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-27 23:10:12 +00:00
Andrew Nacin
d39d60e841
Add wp_install and wp_upgrade hooks to the respective functions.
...
props Denis-de-Bernardy.
fixes #25762 .
Built from https://develop.svn.wordpress.org/trunk@27045
git-svn-id: http://core.svn.wordpress.org/trunk@26919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-27 16:32:12 +00:00
Andrew Ozz
ced6e2a428
Remove one more valign, props neoxx, fixes #22712 .
...
Built from https://develop.svn.wordpress.org/trunk@27037
git-svn-id: http://core.svn.wordpress.org/trunk@26913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-26 20:38:11 +00:00
Andrew Ozz
87589dd445
Remove table cellspacing attribute from the admin, part-props MattyRob, fixes #22086 .
...
Built from https://develop.svn.wordpress.org/trunk@27036
git-svn-id: http://core.svn.wordpress.org/trunk@26912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-26 20:28:12 +00:00
Dominik Schilling
496c05f1e9
Remove unused code. props nofearinc. fixes #26205 .
...
Built from https://develop.svn.wordpress.org/trunk@27033
git-svn-id: http://core.svn.wordpress.org/trunk@26909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-26 00:12:11 +00:00
Andrew Ozz
eb1d21d782
Remove all "valign" attributes from tables in wp-admin, props MikeHansenMe, Marventus. Fixes #22712 .
...
Built from https://develop.svn.wordpress.org/trunk@27029
git-svn-id: http://core.svn.wordpress.org/trunk@26905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-24 19:06:15 +00:00
Andrew Nacin
06efe8130d
Dashboard widgets: Don't link to Pages or Posts for Authors or Contributors respectively.
...
props mattheu.
see #26574 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26999
git-svn-id: http://core.svn.wordpress.org/trunk@26876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 16:52:11 +00:00
Andrew Ozz
335add2573
Autosave: refactor autosave.js, use heartbeat for transport and move all "Add/Edit Post" related functionality to post.js. See #25272 .
...
Built from https://develop.svn.wordpress.org/trunk@26995
git-svn-id: http://core.svn.wordpress.org/trunk@26872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 04:56:16 +00:00
Drew Jaynes
5ee0b5641e
Hook docs spacing and standards fixes for wp-admin/includes/ajax-actions.php.
...
See #25374 .
Built from https://develop.svn.wordpress.org/trunk@26981
git-svn-id: http://core.svn.wordpress.org/trunk@26858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-18 17:06:12 +00:00
Matt Thomas
5b327853e4
The comment screen hides the author column at narrow screen sizes; this adds back the author info above the comment content. Fixes #26618 , props SergeyBiryukov, nacin.
...
Built from https://develop.svn.wordpress.org/trunk@26961
git-svn-id: http://core.svn.wordpress.org/trunk@26840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-16 20:34:10 +00:00
Sergey Biryukov
1db81755ac
Remove unnecessary sprintf(). props jdgrimes. fixes #25489 .
...
Built from https://develop.svn.wordpress.org/trunk@26943
git-svn-id: http://core.svn.wordpress.org/trunk@26823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-14 11:18:12 +00:00
Helen Hou-Sandí
60f3e98d51
Pass the $user_id to the admin_color_scheme_picker
hook for context. props nacin. see #26607 for trunk.
...
Built from https://develop.svn.wordpress.org/trunk@26924
git-svn-id: http://core.svn.wordpress.org/trunk@26805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 21:49:10 +00:00
Drew Jaynes
f5213d39d0
Inline documentation for hooks in wp-admin/includes/meta-boxes.php.
...
Props SpencerFinnell for the initial patch.
Fixes #26092 .
Built from https://develop.svn.wordpress.org/trunk@26918
git-svn-id: http://core.svn.wordpress.org/trunk@26799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 04:06:12 +00:00
Drew Jaynes
76ad336c2c
Inline documentation for hooks in wp-admin/includes/class-wp-media-list-table.php.
...
Props theorboman for the initial patch. Props kpdesign.
Fixes #25839 .
Built from https://develop.svn.wordpress.org/trunk@26916
git-svn-id: http://core.svn.wordpress.org/trunk@26797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 03:53:14 +00:00
Drew Jaynes
f51b1f8def
Inline documentation for hooks in wp-admin/includes/media.php.
...
Props kpdesign, DrewAPicture.
Fixes #25375 .
Built from https://develop.svn.wordpress.org/trunk@26908
git-svn-id: http://core.svn.wordpress.org/trunk@26791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-06 05:48:12 +00:00
Sergey Biryukov
3a7ce85b4f
Change 'Width' to 'Layout' to match the hard-coded list of translatable theme features in get_theme_feature_list().
...
props janrenn.
fixes #26777 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26905
git-svn-id: http://core.svn.wordpress.org/trunk@26788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-05 17:16:11 +00:00
Sergey Biryukov
0ddaa76f3e
Use correct example of a Dashicons helper class in add_menu_page() and register_post_type() docs.
...
props Rarst.
fixes #26617 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26884
git-svn-id: http://core.svn.wordpress.org/trunk@26767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-31 10:33:11 +00:00
Sergey Biryukov
a25d9ae3ba
Make sure "UPDATE LOG" in debug emails matches the underlining when translated.
...
fixes #26621 .
Built from https://develop.svn.wordpress.org/trunk@26883
git-svn-id: http://core.svn.wordpress.org/trunk@26766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-31 10:27:10 +00:00
Andrew Ozz
855889f7aa
TinyMCE 4.0.12, first run.
...
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067 .
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 23:53:15 +00:00
Sergey Biryukov
cdba99d3b3
Being consistent is the gist, no single @since should have been missed.
...
see #26713 .
Built from https://develop.svn.wordpress.org/trunk@26869
git-svn-id: http://core.svn.wordpress.org/trunk@26755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-25 02:00:11 +00:00
Drew Jaynes
cd8cedc40d
First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin.
...
Props JustinSainton, SergeyBiryukov, DrewAPicture.
Fixes #26713 .
Built from https://develop.svn.wordpress.org/trunk@26868
git-svn-id: http://core.svn.wordpress.org/trunk@26754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-24 18:57:12 +00:00
Sergey Biryukov
cce9d251a4
Add comments for temporary hooks. see #26661 .
...
Built from https://develop.svn.wordpress.org/trunk@26866
git-svn-id: http://core.svn.wordpress.org/trunk@26752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-23 00:48:11 +00:00
Sergey Biryukov
507b595c2b
Add temporary hooks for the widgets feature team to wp_widget_control().
...
props westonruter.
see #26661 .
Built from https://develop.svn.wordpress.org/trunk@26865
git-svn-id: http://core.svn.wordpress.org/trunk@26751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-23 00:45:11 +00:00
Ryan Boren
07c16fd23c
The Pinking Shears stir from their slumber, awakened by what may seem, to those
...
innocent in the ways of The Shears, a triviality, a nothing-of-consequence. But there are consequences indeed for recklessly trailing your whitespace. Naturally, they a dire!
One, two! One, two! And through and through
The Pinking Shears went snicker-snack!
They plucked your tail and with your space
They went sniksnuking back.
Let me tell you, that can be uncomfortable, so always pre-sniksnuk your trailing whites. May The Shears be with you.
Built from https://develop.svn.wordpress.org/trunk@26851
git-svn-id: http://core.svn.wordpress.org/trunk@26738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 19:49:11 +00:00
Andrew Nacin
fc7a4e3f3c
On update, delete files removed in 3.8.
...
props JPry.
fixes #26535 .
Built from https://develop.svn.wordpress.org/trunk@26846
git-svn-id: http://core.svn.wordpress.org/trunk@26733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 17:38:10 +00:00
Matt Thomas
4fb4588829
Style the Add Comment button as a button. Fixes #26500 , props SergeyBiryukov.
...
Built from https://develop.svn.wordpress.org/trunk@26834
git-svn-id: http://core.svn.wordpress.org/trunk@26721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:14:11 +00:00
Andrew Nacin
659334bd59
Introduce dashboard_glance_items filter which replaces 3.7 right_now_* hooks that were tied to table markup.
...
fixes #26495 .
Built from https://develop.svn.wordpress.org/trunk@26832
git-svn-id: http://core.svn.wordpress.org/trunk@26719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:12:10 +00:00
Helen Hou-Sandí
eaec1347f2
Remove many of the now-unused images in core. Some images have been left for now, notably our previous style icons, action indicators, and images that see a higher frequency of use in plugins to allow them more time to adapt to the new design. props ocean90, Ipstenu, coffee2code. fixes #26036 .
...
Built from https://develop.svn.wordpress.org/trunk@26821
git-svn-id: http://core.svn.wordpress.org/trunk@26708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 03:21:12 +00:00
Andrew Nacin
1fb828504e
Avoid notices when default and light are not registered color schemes. see #26468 .
...
Built from https://develop.svn.wordpress.org/trunk@26814
git-svn-id: http://core.svn.wordpress.org/trunk@26701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 00:49:09 +00:00
Matt Thomas
cd465575f1
Expand the Quick Draft section by default. Fixes #26463 , props bassgang.
...
Built from https://develop.svn.wordpress.org/trunk@26813
git-svn-id: http://core.svn.wordpress.org/trunk@26700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 00:43:11 +00:00
Andrew Nacin
7dbfca1778
Nonces are already per-user. see #22862 .
...
Built from https://develop.svn.wordpress.org/trunk@26793
git-svn-id: http://core.svn.wordpress.org/trunk@26680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 07:05:10 +00:00
Andrew Nacin
c09252b950
Core updates for the new color schemes.
...
* Update about page, there's now 8.
* Display them four wide, not three, and ensure adequate spacing.
* Use a dedicated nonce.
* Push Light to the front in addition to Default.
* Use user-profile.js on about.php. A few extra things are initialized but they are harmless.
see #26468 , #26387 .
Built from https://develop.svn.wordpress.org/trunk@26776
git-svn-id: http://core.svn.wordpress.org/trunk@26663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:46:21 +00:00
Andrew Nacin
7e1431aac1
Use wp_specialchars_decode() in the upgrade debugging email subject, same as the production email.
...
props markoheijnen.
fixes #26471 .
Built from https://develop.svn.wordpress.org/trunk@26762
git-svn-id: http://core.svn.wordpress.org/trunk@26650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 01:15:10 +00:00
Andrew Nacin
17e3271415
Translator's comment for a date_i18n() string.
...
props netweb.
fixes #26470 .
Built from https://develop.svn.wordpress.org/trunk@26758
git-svn-id: http://core.svn.wordpress.org/trunk@26646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 00:38:13 +00:00
Andrew Nacin
61b7831f56
Dashboard: Restore a line that vanished from my editor to print recently published posts. Also fix an off-by-one error.
...
see [26704]. see #26066 .
Built from https://develop.svn.wordpress.org/trunk@26741
git-svn-id: http://core.svn.wordpress.org/trunk@26630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 20:13:11 +00:00
Drew Jaynes
7bf5470bab
Inline documentation fixes for hooks and functions introduced in 3.8.0.
...
Built from https://develop.svn.wordpress.org/trunk@26736
git-svn-id: http://core.svn.wordpress.org/trunk@26625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:18:11 +00:00
Andrew Nacin
a41e7e8b9b
Core updates: Explicitly call wp_cache_delete() after a DB upgrade, as not all cache backends allow the entire backend to be flushed.
...
props dd32.
fixes #26173 .
Built from https://develop.svn.wordpress.org/trunk@26734
git-svn-id: http://core.svn.wordpress.org/trunk@26623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:00:10 +00:00
Drew Jaynes
fdbc44ff48
Inline documentation fixes for wp_heartbeat_set_suspension()
.
...
See #25073 .
Built from https://develop.svn.wordpress.org/trunk@26732
git-svn-id: http://core.svn.wordpress.org/trunk@26621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 18:43:10 +00:00
Andrew Nacin
df48cebeb4
No-JavaScript and no-Customizer support for the new Themes screen.
...
JavaScript is rarely disabled, but graceful degradation is still important. For example, syntax errors can occur, usually with major WP updates that overhaul entire experiences and update external libraries combined with themes or plugins doing weird or old things. If this error is due to their current theme, a user needs to be able to access the themes screen to switch away from the theme. A more subtle issue could make things painful to diagnose.
This commit renders the grid in PHP (the template is duplicated, but it lightweight, fairly mundane, and easy to sync). On Backbone render, the grid is then re-rendered from JavaScript so searches can occur. Customize and Live Preview is disabled if JS fails to kick in. If JS is disabled, old-school "Preview" links are displayed.
No-Customizer support: The customizer is only supported when the browser supports postMessage (IE8+), and if the frontend is a different domain, CORS (IE10+). We use the .hide-if-no-customize class for this. Pre-customize "Preview" links should use .hide-if-customize.
The .load-customize class should be used to declare a link that opens the customizer. This enables customize-loader.js to intercept this link and load the customizer on top of the current window, making for a smoother experience.
fixes #25964 .
Built from https://develop.svn.wordpress.org/trunk@26726
git-svn-id: http://core.svn.wordpress.org/trunk@26615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 16:11:10 +00:00
Matt Mullenweg
ba93d95af0
Add and display new tags to highlight the ever-growing number of responsive themes available. Fixes #21442 .
...
Props Otto42 and lancewillett.
Built from https://develop.svn.wordpress.org/trunk@26711
git-svn-id: http://core.svn.wordpress.org/trunk@26600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 01:07:11 +00:00
Andrew Nacin
8a2accaa41
Fix various i18n issues on the dashboard. Limits it to posts and pages only for 3.8.
...
props SergeyBiryukov, dimadin.
fixes #26066 .
Built from https://develop.svn.wordpress.org/trunk@26704
git-svn-id: http://core.svn.wordpress.org/trunk@26594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:34:11 +00:00
Andrew Nacin
8de0c10bb9
Restore "Search Engines Discouraged" to the dashboard.
...
props JustinSainton.
fixes #26431 .
Built from https://develop.svn.wordpress.org/trunk@26700
git-svn-id: http://core.svn.wordpress.org/trunk@26590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:05:10 +00:00
Andrew Nacin
4a3e2f84b9
Dashboard: Rename the Site Content widget (née Right Now) to At a Glance.
...
see #25824 .
Built from https://develop.svn.wordpress.org/trunk@26697
git-svn-id: http://core.svn.wordpress.org/trunk@26587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:38:11 +00:00
Andrew Nacin
8b8c8e96e7
Deactivate MP6 on update to 3.8.
...
If left on, it introduces a lot of weird issues not easily diagnosed. MP6 will be updated before release to prevent itself from functioning 3.8+, but this will cut down on support requests by people who update core but not MP6, which was a fairly popular plugin.
fixes #26334 .
Built from https://develop.svn.wordpress.org/trunk@26692
git-svn-id: http://core.svn.wordpress.org/trunk@26582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:30:11 +00:00
Andrew Nacin
1788d5840f
Dashboard backwards compatibility updates.
...
* Restore missing wp_dashboard_rss_control() helper.
* Restore all original 3.7 functions, deprecating many, reusing others.
* Rename and remove functions so as not to clash with the original dash plugin.
* Filter cleanup/restoration.
see #25824 , #26334 .
Built from https://develop.svn.wordpress.org/trunk@26690
git-svn-id: http://core.svn.wordpress.org/trunk@26580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:23:10 +00:00
Andrew Nacin
08430e2684
Theme: When showing an author in the grid (during a search), don't include the author's link.
...
fixes #26433 .
Built from https://develop.svn.wordpress.org/trunk@26684
git-svn-id: http://core.svn.wordpress.org/trunk@26574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:08:10 +00:00
Andrew Nacin
9b29ad0529
Allow for Dashicons and base64-encoded data:image/svg+xml URIs when specifying menu icons.
...
Both of these icons can be colored to match the color scheme, including hover states.
Both are accepted for register_post_type()'s menu_icon argument, and also add_menu_page()'s $icon_url argument.
To use a Dashicon, pass the name of the helper class, e.g. 'dashicons-piechart'.
To use an SVG, pass a valid data URI string starting with 'data:image/svg+xml;base64,'.
props helen.
fixes #25147 .
Built from https://develop.svn.wordpress.org/trunk@26664
git-svn-id: http://core.svn.wordpress.org/trunk@26554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 06:38:09 +00:00
Matt Mullenweg
e20a684463
Create a new tag for themes that have passed the theme check guidelines for accessibility. Fixes #26157
...
Props lancewillett.
Built from https://develop.svn.wordpress.org/trunk@26658
git-svn-id: http://core.svn.wordpress.org/trunk@26548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 03:49:10 +00:00
Drew Jaynes
b3bc78df8f
Hook docs fixes following [26645].
...
See #25721 .
Built from https://develop.svn.wordpress.org/trunk@26648
git-svn-id: http://core.svn.wordpress.org/trunk@26538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 23:32:11 +00:00
Drew Jaynes
087289b6a4
Hook docs pinking shears.
...
Built from https://develop.svn.wordpress.org/trunk@26631
git-svn-id: http://core.svn.wordpress.org/trunk@26521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 20:03:09 +00:00
Andrew Nacin
bd17d08545
Add wp_prepare_themes_for_js filter to wp_prepare_themes_for_js().
...
props kovshenin.
fixes #25948 .
Built from https://develop.svn.wordpress.org/trunk@26625
git-svn-id: http://core.svn.wordpress.org/trunk@26515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:21:10 +00:00
Andrew Nacin
757a470708
Include columns-# CSS class in wp_dashboard() for when the screen supports it.
...
props westi.
fixes #26354 .
Built from https://develop.svn.wordpress.org/trunk@26617
git-svn-id: http://core.svn.wordpress.org/trunk@26507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 17:28:11 +00:00
Andrew Nacin
7e5b2a013a
Restore original properties of the right now (activity) and primary (news) dashboard widgets.
...
This avoids issues with those trying to remove/disable core meta boxes.
fixes #26392 .
Built from https://develop.svn.wordpress.org/trunk@26611
git-svn-id: http://core.svn.wordpress.org/trunk@26501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 16:56:10 +00:00
Matt Thomas
baefdf5bf8
Revert r26593 so Available and Inactive widgets are once again collapsible. Make the arrows only appear on hover when uncollapsed. Fixes #26327 , props nacin.
...
Built from https://develop.svn.wordpress.org/trunk@26608
git-svn-id: http://core.svn.wordpress.org/trunk@26498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 16:31:10 +00:00
Andrew Ozz
e6dd5fbf48
Svg-painter:
...
- Clean up the JS, better names, etc.
- Convert the base64 encode/decode code from jQuery plugin to local use.
- Add missing icon colors for the default theme.
- Make it more error-proof.
Fixes #26333 .
Built from https://develop.svn.wordpress.org/trunk@26601
git-svn-id: http://core.svn.wordpress.org/trunk@26491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 04:13:11 +00:00
Matt Thomas
26a22db98e
Set Available and Inactive Widget areas to not collapse, since they don't look like collapsing elements. Fixes #26327 , props MikeHansenMe.
...
Built from https://develop.svn.wordpress.org/trunk@26593
git-svn-id: http://core.svn.wordpress.org/trunk@26483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:32:10 +00:00
Andrew Nacin
c4f7821a16
Use current_user_can('manage_network_plugins') in validate_active_plugins() instead of is_super_admin().
...
props jdgrimes.
fixes #26068 .
Built from https://develop.svn.wordpress.org/trunk@26590
git-svn-id: http://core.svn.wordpress.org/trunk@26480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:12:10 +00:00
Andrew Nacin
a3fba0096d
In dbDelta(), ensure we are not running CREATE TABLE queries for global tables we wish to not upgrade.
...
props fliespl.
fixes #22134 .
Built from https://develop.svn.wordpress.org/trunk@26566
git-svn-id: http://core.svn.wordpress.org/trunk@26457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:44:10 +00:00
Helen Hou-Sandí
725eb939d7
Better Dashboard treatment when in no-JS, especially Quick Draft. props georgestephanis, helen. fixes #26376 .
...
Built from https://develop.svn.wordpress.org/trunk@26563
git-svn-id: http://core.svn.wordpress.org/trunk@26454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:32:19 +00:00
Andrew Ozz
0f20e57329
Heartbeat:
...
- Bring back heartbeat.interval().
- Rename wp_disable_heartbeat_suspend() to wp_heartbeat_set_suspension().
- Rename the option for disabling suspension from options.suspend to options.suspension.
Fixes #25073 .
Built from https://develop.svn.wordpress.org/trunk@26549
git-svn-id: http://core.svn.wordpress.org/trunk@26441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:45:10 +00:00
Andrew Nacin
3fe7726bd4
Remove @uses from get_screen_icon() / screen_icon(). see #26119 .
...
Built from https://develop.svn.wordpress.org/trunk@26541
git-svn-id: http://core.svn.wordpress.org/trunk@26433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 21:59:10 +00:00
Drew Jaynes
201306f5da
Inline documentation for hooks in wp-admin/includes/update.php.
...
Props stevenkword for the initial patches.
Fixes #26252 .
Built from https://develop.svn.wordpress.org/trunk@26540
git-svn-id: http://core.svn.wordpress.org/trunk@26432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 21:55:10 +00:00
Andrew Nacin
4728680f8f
Only informally deprecate get_screen_icon() and screen_icon(). fixes #26119 .
...
Built from https://develop.svn.wordpress.org/trunk@26537
git-svn-id: http://core.svn.wordpress.org/trunk@26429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 20:00:11 +00:00
Andrew Nacin
710803793b
Simplify the color scheme profile saving JS. see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26535
git-svn-id: http://core.svn.wordpress.org/trunk@26427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:45:10 +00:00
Andrew Nacin
c6ddea79d1
Themes: Always include the current theme in the list, even if it is not allowed.
...
see #25948 .
Built from https://develop.svn.wordpress.org/trunk@26529
git-svn-id: http://core.svn.wordpress.org/trunk@26422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 18:46:11 +00:00
Andrew Ozz
8d6059b383
Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119
...
Built from https://develop.svn.wordpress.org/trunk@26518
git-svn-id: http://core.svn.wordpress.org/trunk@26411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 03:53:11 +00:00
Dion Hulse
578469fb12
Add braces around a conditional hook. This wasn't causing an issue as if ( conditional ) /* multiline comment */ command();
is perfectly OK, but left open doubt and potential future bugs. See #25229
...
Built from https://develop.svn.wordpress.org/trunk@26509
git-svn-id: http://core.svn.wordpress.org/trunk@26403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 23:13:09 +00:00
Andrew Ozz
a6ac0bea23
Improve the admin color scheme picker:
...
- Easier to extend.
- Remove the "drop-down" look, show all choices inline.
- Some PHP and JS cleanup.
Props ryelle, fixes #26336 .
Built from https://develop.svn.wordpress.org/trunk@26506
git-svn-id: http://core.svn.wordpress.org/trunk@26400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 19:50:09 +00:00
Drew Jaynes
c9077348ee
Inline documentation for hooks in wp-admin/includes/user.php.
...
Props aaronholbrook for the initial patch.
Fixes #26099 .
Built from https://develop.svn.wordpress.org/trunk@26503
git-svn-id: http://core.svn.wordpress.org/trunk@26397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 17:54:10 +00:00
Dion Hulse
8ad620e51f
Themes: Do extra Cap checks before outputting links, and use full URI's. See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26470
git-svn-id: http://core.svn.wordpress.org/trunk@26368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 09:01:09 +00:00
Dion Hulse
c8b13eaa35
Themes: When the user doesn't have switch_themes capabilities, and we've passed the current theme, detect the theme slug/stylesheet correctly so that the flags are set properly. See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26469
git-svn-id: http://core.svn.wordpress.org/trunk@26367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 08:38:09 +00:00
Helen Hou-Sandí
99f969df3c
Add remove_option(), remove_options(), and get_options() methods to WP_Screen, along with unit tests. props ocean90, DrewAPicture. fixes #25799 .
...
Built from https://develop.svn.wordpress.org/trunk@26456
git-svn-id: http://core.svn.wordpress.org/trunk@26354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 05:10:09 +00:00
Dion Hulse
d4d7ec693b
Core Updates: Fix a case where options (db_version specifically) can end up with stale values in the cache after a update is performed. Fixes #26173 for trunk.
...
Built from https://develop.svn.wordpress.org/trunk@26448
git-svn-id: http://core.svn.wordpress.org/trunk@26346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 02:16:09 +00:00
Andrew Ozz
162037903d
Heartbeat: introduce "suspend" functionality and enable it after 20 min. of inactivity, see #25073 .
...
Built from https://develop.svn.wordpress.org/trunk@26428
git-svn-id: http://core.svn.wordpress.org/trunk@26328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:56:10 +00:00
Andrew Ozz
f46e743343
Widgets: drop onto closed sidebars.
...
- Make dropping a widget easier by preventing the source sidebar from resizing while the widget is being dragged.
- Move widgets dropped on closed sidebars to the top. UI Sortable places them randomly near the bottom.
- Fix possible regression in wp_list_widget_controls(), add an optional argument to output the sidebar name inside the sortable container.
- Updated styles for sidebar description and widget-hover class.
Part props shaunandrews, fixes #25952 .
Built from https://develop.svn.wordpress.org/trunk@26426
git-svn-id: http://core.svn.wordpress.org/trunk@26326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:30:10 +00:00
Sergey Biryukov
f0a4d5a991
Rename mp6_color_scheme JS global to wp_color_scheme.
...
props kovshenin.
see #26263 .
Built from https://develop.svn.wordpress.org/trunk@26406
git-svn-id: http://core.svn.wordpress.org/trunk@26306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 13:58:10 +00:00
Drew Jaynes
73f42e01a2
Inline documentation for hooks in wp-admin/includes/class-wp-list-table.php.
...
Props miyauchi, kpdesign.
Fixes 25848.
Built from https://develop.svn.wordpress.org/trunk@26401
git-svn-id: http://core.svn.wordpress.org/trunk@26301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 08:12:09 +00:00
Helen Hou-Sandí
e6a98258be
Add some deleted images to the $_old_files
array. see [26391], [26395], #26232 , #26178 .
...
Built from https://develop.svn.wordpress.org/trunk@26397
git-svn-id: http://core.svn.wordpress.org/trunk@26297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:42:09 +00:00
Helen Hou-Sandí
236f388d6d
Don't show the Activity widget on the Network Admin Dashboard. props ocean90. fixes #26184 .
...
Built from https://develop.svn.wordpress.org/trunk@26394
git-svn-id: http://core.svn.wordpress.org/trunk@26294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:29:10 +00:00
Helen Hou-Sandí
2c9af1367e
Dashboard columns:
...
* Improve responsive breakpoints for.
* Remove obsolete network admin option.
* Remove unnecessary JS.
props SergeyBiryukov, kraftbj, lessbloat. fixes #26074 .
Built from https://develop.svn.wordpress.org/trunk@26392
git-svn-id: http://core.svn.wordpress.org/trunk@26292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:09:10 +00:00
Matt Thomas
1163eaeb7c
Remove button-secondary class from Collapse link in theme installer; unify Collapse button styles in theme installer and Customize screen; add a border around the Collapse icon so it remains visible on dark backgrounds; move the color styles to colors-fresh. Fixes #26230 .
...
Built from https://develop.svn.wordpress.org/trunk@26389
git-svn-id: http://core.svn.wordpress.org/trunk@26289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 04:14:09 +00:00
Dion Hulse
89dfee993d
Replace the Star ratings in the dashboard with dashicons ratings.
...
This also moves the ratings to only displaying full, half, or empty stars (ie. 3.0, 3.5, 4.0, no 3.7 ratings - which are rounded).
Fixes #26170
Built from https://develop.svn.wordpress.org/trunk@26380
git-svn-id: http://core.svn.wordpress.org/trunk@26280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:25:21 +00:00
Sergey Biryukov
95ff70fcc0
Remove redundant translation function calls.
...
props markoheijnen.
see #26187 .
Built from https://develop.svn.wordpress.org/trunk@26349
git-svn-id: http://core.svn.wordpress.org/trunk@26250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 12:42:09 +00:00
Dominik Schilling
df6010446a
Don't use esc_attr_e() function for a non-translatable context.
...
props yoavf, mattheu.
fixes #26187 .
Built from https://develop.svn.wordpress.org/trunk@26347
git-svn-id: http://core.svn.wordpress.org/trunk@26248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 12:04:09 +00:00
Dion Hulse
5624f82c38
Use numbered string replacements in 2 new strings. Props dimadin. Fixes #25667
...
Built from https://develop.svn.wordpress.org/trunk@26346
git-svn-id: http://core.svn.wordpress.org/trunk@26247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 06:10:10 +00:00
Drew Jaynes
e90e224cbd
Inline documentation for hooks in wp-admin/includes/class-wp-ms-users-list-table.php.
...
Props ShinichiN, kpdesign.
Fixes #25612 .
Built from https://develop.svn.wordpress.org/trunk@26342
git-svn-id: http://core.svn.wordpress.org/trunk@26243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 22:25:10 +00:00
Drew Jaynes
ff0ace6fe1
Inline documentation for hooks in wp-admin/includes/class-wp-ms-sites-list-table.php.
...
Props ShinichiN, kpdesign.
Fixes #25607 .
Built from https://develop.svn.wordpress.org/trunk@26341
git-svn-id: http://core.svn.wordpress.org/trunk@26242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 21:58:10 +00:00
Drew Jaynes
f82f00a453
Inline documentation for hooks in wp-admin/includes/class-wp-links-list-table.php.
...
Props JoshuaAbenazer, kpdesign.
Fixes #26052 .
Built from https://develop.svn.wordpress.org/trunk@26340
git-svn-id: http://core.svn.wordpress.org/trunk@26241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 21:28:11 +00:00
Dominik Schilling
06b4f99e18
Dashboard: Use _draft_or_post_title()
to display (no title)
if no post title is set. see #25824 .
...
Built from https://develop.svn.wordpress.org/trunk@26337
git-svn-id: http://core.svn.wordpress.org/trunk@26238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 14:13:09 +00:00