Commit Graph

12337 Commits

Author SHA1 Message Date
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
Helen Hou-Sandí ad2fe1873e Fix the tags input in small viewports and make it a more reasonable size. props SergeyBiryukov. fixes #27082.
Built from https://develop.svn.wordpress.org/trunk@27254


git-svn-id: http://core.svn.wordpress.org/trunk@27111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 05:25:13 +00:00
Sergey Biryukov a73ce3610b Force UTF-8 in load-styles.php, like we do in load-scripts.php.
props iamfriendly, mjbanks.
fixes #25012.
Built from https://develop.svn.wordpress.org/trunk@27253


git-svn-id: http://core.svn.wordpress.org/trunk@27110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 01:28:15 +00:00
Sergey Biryukov 6f8cfb1c00 Prevent large images in comments from overflowing the meta box.
props mattheu.
fixes #26643.
Built from https://develop.svn.wordpress.org/trunk@27252


git-svn-id: http://core.svn.wordpress.org/trunk@27109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 01:22:14 +00:00
Sergey Biryukov 51d07be5fc Fix thickbox positioning if toolbar is not present.
fixes #26745.
Built from https://develop.svn.wordpress.org/trunk@27248


git-svn-id: http://core.svn.wordpress.org/trunk@27105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 00:26: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
Sergey Biryukov 5d3e652c23 Add Oxford comma to password hint.
props trepmal.
fixes #26457.
Built from https://develop.svn.wordpress.org/trunk@27246


git-svn-id: http://core.svn.wordpress.org/trunk@27103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-24 23:31:15 +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
Helen Hou-Sandí 9dd166a700 Make nav menu item add tabs and content consistent with similar tabs on the post edit screen. props corvannoorloos for the initial patch. fixes #26757.
Built from https://develop.svn.wordpress.org/trunk@27229


git-svn-id: http://core.svn.wordpress.org/trunk@27086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 22:11:14 +00:00
Andrew Nacin 8452a209c4 Embolden some instructions when installing a network.
props Ipstenu.
fixes #27057.

Built from https://develop.svn.wordpress.org/trunk@27226


git-svn-id: http://core.svn.wordpress.org/trunk@27083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-21 19:33: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
Sergey Biryukov cc6aabb93e Prevent "Add" button in Tags meta box from wrapping to a new line in ru_RU.
fixes #26510.
Built from https://develop.svn.wordpress.org/trunk@27218


git-svn-id: http://core.svn.wordpress.org/trunk@27075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 22:35:13 +00:00
Scott Taylor a730c3744a Correct a missing conditional in `edit-form-advanced.php`.
See #26631, [27209]. 
Props nacin for noticing.


Built from https://develop.svn.wordpress.org/trunk@27216


git-svn-id: http://core.svn.wordpress.org/trunk@27073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 21:38:12 +00:00
Scott Taylor 7ff83d46aa Allow pseudo post types `attachment:audio` and `attachment:video` to get the media modal on Edit Media when they support featured images.
Introduces `post_supports_thumbnails( $post )` and `theme_supports_thumbnails( $post )` to cut down on duplicated code everytime this needs to be checked. There will be more cases forthcoming.

See #26631.


Built from https://develop.svn.wordpress.org/trunk@27209


git-svn-id: http://core.svn.wordpress.org/trunk@27066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 17:50:13 +00:00
Sergey Biryukov 20398546a0 Update $parent_file value in wp-admin/update-core.php.
props bcworkz.
fixes #27109.
Built from https://develop.svn.wordpress.org/trunk@27205


git-svn-id: http://core.svn.wordpress.org/trunk@27062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 16:42:12 +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
Helen Hou-Sandí 2e07a4e45f Login styles do not depend on common.css. see #12506.
Built from https://develop.svn.wordpress.org/trunk@27200


git-svn-id: http://core.svn.wordpress.org/trunk@27057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 03:28:13 +00:00
Helen Hou-Sandí 060cc19157 Make login styles standalone. see #12506.
Built from https://develop.svn.wordpress.org/trunk@27199


git-svn-id: http://core.svn.wordpress.org/trunk@27056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-20 03:24:14 +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 53c2618e7e Rename the old media.css file, used for the pre-3.5 media library. Clean up script-loader CSS registrations.
see #26669.

Built from https://develop.svn.wordpress.org/trunk@27181


git-svn-id: http://core.svn.wordpress.org/trunk@27042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-16 00:36:14 +00:00
Andrew Nacin 11c3695c77 Dev/build tools: Use grunt-autoprefixer for CSS vendor prefixes.
We'll be using it for two distinct tasks:
 * Core CSS files will keep prefixes. `grunt autoprefixer:core` will update files directly in src/ as a pre-commit step, rather than doing it on build.
 * Color CSS files will receive prefixes when they are built.

This commit:
 * Adds prefixes we were missing to core CSS.
 * Removes prefixes that we no longer need from core CSS.
 * Removes all prefixes from colors CSS.

props ocean90.
fixes #27078.

Built from https://develop.svn.wordpress.org/trunk@27174


git-svn-id: http://core.svn.wordpress.org/trunk@27038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-13 08:30:17 +00:00
Andrew Nacin fae539978e Optimize 69 images (of 127) using the new Grunt task. (See [27172].)
fixes #25169.

Built from https://develop.svn.wordpress.org/trunk@27173


git-svn-id: http://core.svn.wordpress.org/trunk@27037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-13 08:03:14 +00:00
Sergey Biryukov c1ea9fc22c Merge two similar strings. props pavelevap. fixes #27096.
Built from https://develop.svn.wordpress.org/trunk@27167


git-svn-id: http://core.svn.wordpress.org/trunk@27033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-12 10:15:16 +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
Sergey Biryukov 805d6fe59b Update comment about structure of items in $menu global.
props kitchin.
fixes #26635.
Built from https://develop.svn.wordpress.org/trunk@27151


git-svn-id: http://core.svn.wordpress.org/trunk@27018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-09 21:43:12 +00:00
Drew Jaynes 7d9b9027bd Fixes for hooks documentation in wp-admin/admin-footer.php.
Adds some new lines, some hook-line spacing, docs-specific variables, and other language tweaks.

See #26869, #25229, [25252].

Built from https://develop.svn.wordpress.org/trunk@27145


git-svn-id: http://core.svn.wordpress.org/trunk@27012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-09 20:28:12 +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
Andrew Nacin 6adabc6e4d Various JSHint fixes. see #26446.
Built from https://develop.svn.wordpress.org/trunk@27131


git-svn-id: http://core.svn.wordpress.org/trunk@26998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-08 00:52: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
Sergey Biryukov 8363d0660b Use .screen-reader-text class instead of an alt attribute for overlay button labels on Themes screen.
props bramd.
fixes #26603 for trunk.
Built from https://develop.svn.wordpress.org/trunk@27119


git-svn-id: http://core.svn.wordpress.org/trunk@26986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 17:33:12 +00:00
Andrew Nacin d4f8de5c92 Revisions browser: The back button should return to the post you were editing (use replaceState instead of pushState).
props adamsilverstein.
fixes #26997.

Built from https://develop.svn.wordpress.org/trunk@27114


git-svn-id: http://core.svn.wordpress.org/trunk@26981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 23:28:12 +00:00
Andrew Nacin 182903034b Network install: When showing the path to wp-config.php make sure our slashes are normalized.
props VarunAgw.
fixes #27025.

Built from https://develop.svn.wordpress.org/trunk@27112


git-svn-id: http://core.svn.wordpress.org/trunk@26979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 22:22:13 +00:00
Andrew Nacin 12a64b39db Fix the conditional enqueueing/printing of colors stylesheets, without breaking dependencies.
fixes #18380.
see #20729 which should properly fix this.

Built from https://develop.svn.wordpress.org/trunk@27111


git-svn-id: http://core.svn.wordpress.org/trunk@26978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 22:16:11 +00:00
Andrew Ozz 5ea367cfe1 Fix scrolling inside the Visual editor on MacOS, add the same functionality to the Text editor, see #27013
Built from https://develop.svn.wordpress.org/trunk@27110


git-svn-id: http://core.svn.wordpress.org/trunk@26977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 19:34:12 +00:00
Helen Hou-Sandí b2e6ad7c32 Fix some hover/focus styling and specificity issues. see #18380.
Built from https://develop.svn.wordpress.org/trunk@27109


git-svn-id: http://core.svn.wordpress.org/trunk@26976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 17:57:13 +00:00
Helen Hou-Sandí 9419dc2fe0 Some tweaks to [27106]:
* Add more @todo markings and remove one that's been resolved.
* Restore a missing comma in a `.wp-badge` background rule, and add a comment reminding us why it's there.

see #18380.

Built from https://develop.svn.wordpress.org/trunk@27107


git-svn-id: http://core.svn.wordpress.org/trunk@26974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 07:08:13 +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
Drew Jaynes c858b251b6 Inline documentation for hooks in wp-admin/network/sites.php.
Props NikV, kpdesign.
Fixes #26124.

Built from https://develop.svn.wordpress.org/trunk@27088


git-svn-id: http://core.svn.wordpress.org/trunk@26960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-04 07:49:14 +00:00
Andrew Ozz 93d3e3efb6 Minor cleanup (jshint) of wp-fullscreen.js and /wordpress/plugin.js, see #24067
Built from https://develop.svn.wordpress.org/trunk@27085


git-svn-id: http://core.svn.wordpress.org/trunk@26958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-03 21:31:13 +00:00
Andrew Ozz 2f6d9d37cc Consolidate "close on Escape" in the media modal, DFW, wpLink and Thickbox. Props kovshenin, fixes #26854.
Built from https://develop.svn.wordpress.org/trunk@27080


git-svn-id: http://core.svn.wordpress.org/trunk@26953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-03 05:31:14 +00:00