Commit Graph

25795 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90)
ff78684898 Widget Customizer: Fix widget filtering.
props westonruter.
fixes #27451.

git-svn-id: https://develop.svn.wordpress.org/trunk@28044 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 08:11:33 +00:00
Andrew Ozz
61d17c2163 DFW:
- Move the word count and "Just Write" to a fixed bar at the bottom.
- Fix responsive mode to 480px. Narrower screens will have a scroll bar.
- Hide the Help button on screens < 480px, move the Save button to the right, make it bigger to match the others, and other responsive mode fixes.
Fixes #26907, see #27709

git-svn-id: https://develop.svn.wordpress.org/trunk@28043 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 07:48:55 +00:00
Drew Jaynes (DrewAPicture)
54e59a0290 Clarify documentation for hooks in sanitize_post_field().
* `edit_post_{$field}` pairs with `edit_{$field}`
* `pre_post_{$field}` pairs with `pre_{$field}`
* `post_{$field}` pairs with `{$field}`

As the above pairs' docs are unnecessarily duplicative, the second sets of docs have been removed. Also, the "duplicates" are purposely not marked as such in this case as the hook names differ. Also remove `@deprecated` tags mistakenly left in in [28041].

See #25376.


git-svn-id: https://develop.svn.wordpress.org/trunk@28042 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 07:40:30 +00:00
Drew Jaynes (DrewAPicture)
a3d04ec9ed Part I of inline documenation for hooks in wp-includes/post.php.
Adds docs for the following hooks:
* `get_attached_file`
* `update_attached_file`
* `_wp_relative_upload_path`
* `post_type_labels_{$post_type}`
* `edit_{$field}`
* `{$field_no_prefix}_edit_pre`
* `edit_post_{$field}`
* `pre_{$field}`
* `{$field_no_prefix}_save_pre`
* `pre_post_{$field}`
* `{$field}_pre`
* `$field`
* `post_{$field}`
* `wp_count_posts`
* `wp_count_attachments`
* `post_mime_types`
* `wp_insert_post_empty_content`

See #25376.


git-svn-id: https://develop.svn.wordpress.org/trunk@28041 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 06:48:32 +00:00
Drew Jaynes (DrewAPicture)
93b19f682e Inline documentation for hooks in wp-admin/includes/class-wp-upgrader-skins.php.
Fixes #27711.


git-svn-id: https://develop.svn.wordpress.org/trunk@28040 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 06:25:56 +00:00
Andrew Nacin
92381845b8 Media Templates: More escaping rather than interpolation. see #21785.
git-svn-id: https://develop.svn.wordpress.org/trunk@28039 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 05:27:44 +00:00
Andrew Nacin
24c0c60802 Theme Installer: Show 'Preview' button for installed themes.
props adamsilverstein.
see #27055, see #27708.


git-svn-id: https://develop.svn.wordpress.org/trunk@28038 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:37:37 +00:00
Andrew Nacin
d5c3a966be Theme Installer: Combine 'Layout' and 'Columns' filters so 'Features' can span two columns.
see #27055.


git-svn-id: https://develop.svn.wordpress.org/trunk@28037 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:30:01 +00:00
Andrew Nacin
62b57b3b1f Theme Installer: Left/right arrow keys in the overlay.
props adamsilverstein.
see #27521.


git-svn-id: https://develop.svn.wordpress.org/trunk@28036 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:12:44 +00:00
nacin
1478afb236 Theme Installer: Use 'browse' instead of 'sort' for routes.
see #27055.


git-svn-id: https://develop.svn.wordpress.org/trunk@28035 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:12:02 +00:00
Andrew Nacin
0cff2558aa Widget Customizer: Fix incorrect replacement in [27995].
props westonruter.
fixes #27690.


git-svn-id: https://develop.svn.wordpress.org/trunk@28034 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 04:02:07 +00:00
Andrew Nacin
b47c6d0746 Theme Installer: Disable prev/next buttons on first/last themes, add Esc handling, use IDs.
props adamsilverstein, DH-Shredder.
fixes #27521.


git-svn-id: https://develop.svn.wordpress.org/trunk@28033 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 03:57:01 +00:00
Andrew Nacin
288b1fd4f3 Nuke the TinyMCE help dialog as it is duplicated by help tabs. This leaves just Keyboard Shortcuts.
fixes #27100.


git-svn-id: https://develop.svn.wordpress.org/trunk@28032 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 02:31:02 +00:00
Andrew Nacin
9875f51f1f Header Images: Add suggested dimensions to the media workflow.
This updates [28030] to the latest patch.

props gcorne.
see #21785.


git-svn-id: https://develop.svn.wordpress.org/trunk@28031 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 01:56:42 +00:00
Andrew Nacin
d29a5cee5f Header Images: Add suggested dimensions to the media workflow.
props ehg, gcorne.
see #21785.


git-svn-id: https://develop.svn.wordpress.org/trunk@28030 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 01:54:44 +00:00
Andrew Nacin
1fa68e490b Expose toolbar keyboard shortcut in Help documentation for TinyMCE.
props joedolson, jorbin.
fixes #27024.


git-svn-id: https://develop.svn.wordpress.org/trunk@28029 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 01:38:42 +00:00
Andrew Nacin
e0989568d2 TinyMCE help: Break up strings changed in [28027] for ease of changing later.
Restores a not inaccurate paragraph to reduce churn.

see #27100.


git-svn-id: https://develop.svn.wordpress.org/trunk@28028 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 01:18:15 +00:00
Andrew Ozz
4360d117e2 TinyMCE help modal:
- Don't load the old tiny_mce_popup.js.
- Add the shortcut for <code> and the second shortcut for link to the shortcuts listing.
- Update some of the text.
See #27100

git-svn-id: https://develop.svn.wordpress.org/trunk@28027 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 23:52:55 +00:00
Drew Jaynes (DrewAPicture)
c386c17457 Improve hook docs for the wp_enqueue_editor hook, added in 3.9.
See #16284, #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28026 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 23:08:46 +00:00
Andrew Nacin
bcc41afd37 Theme Installer: Handle currently installed themes, add search route, let prev/next refresh collections.
props matveb.
see #27055. fixes #27695.


git-svn-id: https://develop.svn.wordpress.org/trunk@28025 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 23:03:05 +00:00
Andrew Ozz
e28f610ead Fix typo and add more text to the error shown when 'wpdialogs' is not enqueued. Add 'wp_enqueue_editor' action fired when scripts and styles for the editor are being enqueued, fixes #16284
git-svn-id: https://develop.svn.wordpress.org/trunk@28024 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:54:13 +00:00
Scott Taylor
0d6acf5b5b Make playlist tracks keyboard-accessible.
Fixes #27644.



git-svn-id: https://develop.svn.wordpress.org/trunk@28023 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:27:06 +00:00
Andrew Nacin
82bc9c1142 Rename USE_EXT_MYSQL to WP_USE_EXT_MYSQL. see #21663.
git-svn-id: https://develop.svn.wordpress.org/trunk@28022 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:26:19 +00:00
Andrew Nacin
9bb79a1a97 Clean up deprecated format_to_post() docs. see #27700.
git-svn-id: https://develop.svn.wordpress.org/trunk@28021 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:23:00 +00:00
Drew Jaynes (DrewAPicture)
0bd5e6c02e More formatting for functions deprecated in 3.9.
Props kpdesign.
Fixes #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28020 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:16:37 +00:00
Helen Hou-Sandi
784d1dc9bf Only show the media library loading spinner if we're scrolled toward the bottom. Prevents the spinner from flashing a second time when first loading the library due to a second query firing after initial load.
props kovshenin. fixes #24859.


git-svn-id: https://develop.svn.wordpress.org/trunk@28019 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:14:01 +00:00
Drew Jaynes (DrewAPicture)
8b9371e915 Even deprecated functions can use a little PHPDoc formatting, time to time.
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28018 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:11:55 +00:00
Drew Jaynes (DrewAPicture)
13d5b7c461 Improve hook docs for the resetpass_form hook added in 3.9.
See #21044, #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28017 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:05:51 +00:00
Drew Jaynes (DrewAPicture)
aba414af7e PHPDoc fixes for functionality in wp-includes/wp-db.php added in 3.9.
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28016 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 22:01:37 +00:00
Drew Jaynes (DrewAPicture)
7736833039 PHPDoc fixes for wp_validate_logged_in_cookie(), introduced in 3.9.
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28015 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:43:00 +00:00
Drew Jaynes (DrewAPicture)
ef4d73dafc Fix PHPDoc formatting for WP_Rewrite::add_endpoint().
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28014 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:38:34 +00:00
Dominik Schilling (ocean90)
c80074d551 Widget Customizer: Update icons to new Dashicons, part 2.
props Michael Arestad.
fixes #27400.

git-svn-id: https://develop.svn.wordpress.org/trunk@28013 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:36:52 +00:00
Andrew Ozz
5706a463bd TinyMCE: show an error in the console when a plugin attempts to use the 'wpdialogs' plugin but wpdialog.js is not enqueued, fixes #16284
git-svn-id: https://develop.svn.wordpress.org/trunk@28012 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:34:18 +00:00
Drew Jaynes (DrewAPicture)
f96adcea2d Add a missing @since 3.9.0 to the PHPDoc for wp_register_plugin_realpath().
See #16953, #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28011 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:33:30 +00:00
Drew Jaynes (DrewAPicture)
18d6713716 Improve inline documentation for functionality in wp-includes/plugin.php added in 3.9.
See #14994, #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28010 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:29:04 +00:00
Andrew Nacin
55d6cc4e1d Formally deprecate wpmu_current_site().
props jeremyfelt.
fixes #27702.


git-svn-id: https://develop.svn.wordpress.org/trunk@28009 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:27:13 +00:00
nacin
5404d9933f Gallery Views: Avoid JS errors when image attachments lack metadata.
props gcorne.
fixes #27691.


git-svn-id: https://develop.svn.wordpress.org/trunk@28008 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:24:02 +00:00
Drew Jaynes (DrewAPicture)
c765ed8832 Inline documentation fixes related to the determine_current_user filter
See #26706, #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28007 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 21:17:44 +00:00
Drew Jaynes (DrewAPicture)
372e6c5c94 Inline documentation improvements in wp-includes/ms-load.php for 3.9 functionality.
Clarifies some mixed type parameters, spacing and comment style, and language fixes.

See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28006 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:58:11 +00:00
Dominik Schilling (ocean90)
6b007e8345 Widget Customizer: Update icons to new Dashicons.
props melchoyce.
see #27400.

git-svn-id: https://develop.svn.wordpress.org/trunk@28005 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:49:40 +00:00
Drew Jaynes (DrewAPicture)
9131bc6cbf General PHPDoc improvements in wp-includes/media.php for 3.9 functionality.
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28004 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:37:17 +00:00
Drew Jaynes (DrewAPicture)
3011b3efef Space vs tab in function descriptions for wp_underscore_audio_template() and wp_underscore_video_template().
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28003 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:28:05 +00:00
Andrew Nacin
f9e150c068 wpdb: Don't pass a second argument to mysqli_fetch_field().
props pento.
fixes #27693.


git-svn-id: https://develop.svn.wordpress.org/trunk@28002 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:21:16 +00:00
DrewAPicture
9415376529 Improve PHPDoc formatting for get_the_permalink().
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28001 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:21:02 +00:00
Drew Jaynes (DrewAPicture)
c48069343d Use suggested language conventions in the hook docs description for the theme_page_templates filter.
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@28000 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:17:55 +00:00
Andrew Nacin
e724e1b06f Don't try to resolve symlinks for single-file plugins. plugins_url() should not be used in this context anyway.
props rmccue.
fixes #16953.


git-svn-id: https://develop.svn.wordpress.org/trunk@27999 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:14:34 +00:00
Drew Jaynes (DrewAPicture)
4d4921a9ac Use the correct parameter variables in the hook docs for wp_upgrade.
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@27998 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:13:00 +00:00
Drew Jaynes (DrewAPicture)
3b7d881f3c Align parameters in the hook docs for the attachment_thumbnail_args filter.
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@27997 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:10:01 +00:00
Drew Jaynes (DrewAPicture)
95294a170e Add missing parameter descriptions to the PHPDocs for WP_Upgrader_Skin::decrement_update_count() and Bulk_Upgrader_Skin::decrement_update_count().
See #27700.


git-svn-id: https://develop.svn.wordpress.org/trunk@27996 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 20:01:35 +00:00
Dominik Schilling (ocean90)
6e3b6066e5 Widget Customizer: Cleanup wp.customize.Widgets.SidebarControl.
see #27690.

git-svn-id: https://develop.svn.wordpress.org/trunk@27995 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 19:59:49 +00:00