WordPress/wp-admin
Daryl Koopersmith 1deab58658 Use the new media modal to insert galleries into TinyMCE and the text editor.
'''Galleries'''

* Gallery insertion from the new media modal (into TinyMCE, the text editor, etc).
* Gallery previews in TinyMCE now use the `wp.mce.views` API.
* Disables the TinyMCE `wpgallery` plugin.
* Gallery previews consist of the first image of the gallery and the appearance of a stack. This will later be fleshed out to include more images/functionality (including editing the gallery, gallery properties, and showing the number of images in the gallery).
* Multiple galleries can be added to a single post.
* The gallery MCE view provides a bridge between the `wp.shortcode` and `Attachments` representation of a gallery, which allows the existing collection to persist when a gallery is initially created (preventing a request to the server for the query).


'''Shortcodes'''

* Renames `wp.shortcode.Match` to `wp.shortcode` to better expose the shortcode constructor.
* The `wp.shortcode` constructor now accepts an object of options instead of a `wp.shortcode.regexp()` match.
* A `wp.shortcode` instance can be created from a `wp.shortcode.regexp()` match by calling `wp.shortcode.fromMatch( match )`.
* Adds `wp.shortcode.string()`, which takes a set of shortcode parameters and converts them into a string.* Renames `wp.shortcode.prototype.text()` to `wp.shortcode.prototype.string()`.
* Adds an additional capture group to `wp.shortcode.regexp()` that records whether or not the shortcode has a closing tag. This allows us to improve the accuracy of the syntax used when transforming a shortcode object back into a string.

'''Media Models'''

* Prevents media `Query` models from observing the central `Attachments.all` object when query args without corresponding filters are set (otherwise, queries quickly amass false positives).
* Adds `post__in`, `post__not_in`, and `post_parent` as acceptable JS attachment `Query` args.
* `Attachments.more()` always returns a `$.promise` object.

see #21390, #21809, #21812, #21815, #21817.


git-svn-id: http://core.svn.wordpress.org/trunk@22120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-05 04:23:59 +00:00
..
css Refine button styles, notably the gray buttons. 2012-10-02 23:38:21 +00:00
images Fix "add media" icon in DFW for IE < 9, restore media-button.png, add media-button-2x.png and make them background images, see #21019 2012-09-28 00:33:40 +00:00
includes Use the new media modal to insert galleries into TinyMCE and the text editor. 2012-10-05 04:23:59 +00:00
js Use the new media modal to insert galleries into TinyMCE and the text editor. 2012-10-05 04:23:59 +00:00
maint Do not perform nonce checks in maint/repair.php. 2012-05-30 16:22:53 +00:00
network Fix Bulk Theme Deletion in the Network Admin when using FTP. Props kobenland. Fixes #20671 2012-09-29 01:36:14 +00:00
user Remove index-extra.php. Move dashboard widget XHR callbacks to ajax-actions.php. fixes #20242. 2012-03-15 13:20:00 +00:00
about.php New section on Twitter Embeds on the about page. props georgestephanis, chexee, azaozz, SergeyBiryukov, jane. fixes #20796. 2012-06-02 01:16:35 +00:00
admin-ajax.php Call send_origin_headers() from admin-ajax.php. Props nacin. fixes #21024 2012-09-25 15:55:32 +00:00
admin-footer.php Rename div#footer to div#wpfooter in the admin. Namespace one of our major elements and avoid clashing with widgets with the id of 'footer'. props andrewryno, koopersmith. see #14466. 2012-09-16 23:03:35 +00:00
admin-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
admin-header.php Improve the layout and accessibility of the admin menu: simplify the HTML structure, move the submenus off the viewport (still visible for screen readers) instead of hiding them with display: none, make it possible to unfold the menu on small/narrow screens, see #21349 2012-08-21 22:46:30 +00:00
admin-post.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
admin.php Send nocache_headers() in the admin earlier, on the DB upgrade page. Prevents a potential redirect loop reproduced in Chrome from heavy caching of headers. props mdawaffe. see #21745. 2012-09-19 01:51:40 +00:00
async-upload.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
comment.php Allow comment.php?action=editcomment to be accessible for a comment that is spam. props josephscott, fixes #19977, see #18340. 2012-02-07 19:13:30 +00:00
credits.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
custom-background.php New color picker, props mattwiebe. see #21206. 2012-09-27 01:57:38 +00:00
custom-header.php New color picker, props mattwiebe. see #21206. 2012-09-27 01:57:38 +00:00
customize.php New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
edit-comments.php Convert a bulleted list to paragraphs in the Moderating Comments help tab. props pavelevap, see #19788. 2012-02-01 14:45:19 +00:00
edit-form-advanced.php Add QuickPress support for new media workflow. 2012-09-27 20:04:34 +00:00
edit-form-comment.php Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar). 2012-07-24 00:15:15 +00:00
edit-link-form.php Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar). 2012-07-24 00:15:15 +00:00
edit-tag-form.php Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar). 2012-07-24 00:15:15 +00:00
edit-tags.php Use the regular post type UI for editing single media items (attachments). 2012-09-21 22:52:54 +00:00
edit.php Remove return ref from all calls to get_post() 2012-08-23 20:01:10 +00:00
export.php @since for some internal functions. props SergeyBiryukov, fixes #21886. 2012-09-25 02:24:58 +00:00
freedoms.php Copy 3.4 about.php header text to credits and freedoms. props pavelevap. fixes #20794. 2012-06-07 15:34:21 +00:00
import.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
index.php Provide no-customize fallback to the welcome screen. Use the customize overlay rather than a page reload. see #21368. 2012-10-01 14:58:05 +00:00
install-helper.php Deprecate ancient "debugging" tools. 2012-02-17 00:02:42 +00:00
install.php Pinking shears 2012-05-03 16:41:59 +00:00
link-add.php Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014 2012-04-11 02:20:51 +00:00
link-manager.php Pinking shears 2011-12-01 04:51:35 +00:00
link-parse-opml.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
link.php Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014 2012-04-11 02:20:51 +00:00
load-scripts.php Do not use time constants in files the WP bootstrap is not or may not be loaded. see #20987. 2012-09-25 07:05:48 +00:00
load-styles.php Do not use time constants in files the WP bootstrap is not or may not be loaded. see #20987. 2012-09-25 07:05:48 +00:00
media-new.php Don't hide links to the upload form and show an error for mobile devices that cannot upload, see #20410 2012-04-12 00:16:37 +00:00
media-upload.php Restrict post IDs 2012-06-10 17:37:49 +00:00
media.php Restrict the media editor to posts with the attachment post type. Props helenyhou. fixes #20625 2012-05-09 16:16:03 +00:00
menu-header.php Admin menu: add phpdoc/inline comments describing the usage of the param $icon_url in add_menu_page(), add string 'none' to be used when a menu icon is added from CSS, switch core items in the admin menu to use 'none', fixes #21349 2012-09-16 22:51:44 +00:00
menu.php Introduce create_posts meta capability. Props scribu, nacin, casben79. see #16714 2012-09-27 15:33:19 +00:00
moderation.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-admin.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-delete-site.php Reduce use of global. Use get_blog_details() instead. fixes #22090 2012-10-04 12:40:09 +00:00
ms-edit.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-options.php Network Admin, first pass. see #14435 2010-07-30 20:34:54 +00:00
ms-sites.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-themes.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-upgrade-network.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-users.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
my-sites.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
nav-menus.php Replace multiple wp_enqueue_script() calls in nav-menus.php with dependencies. props SergeyBiryukov. fixes #21777. 2012-09-03 15:35:22 +00:00
network.php Make Multisite work when WordPress is installed in a subdirectory. You can now have WordPress Multisite as an SVN external or a Git submodule! props johnjamesjacoby, evansolomon, duck_, jakemgold, nacin, markjaquith. see #19796 2012-09-27 06:07:21 +00:00
options-discussion.php Make 'Show Avatars' a checkbox rather than a yes/no radio button. props tmoorewp, fixes #20889. 2012-09-26 06:44:26 +00:00
options-general.php New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
options-head.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
options-media.php Always attempt to embed URLs in content, removing the Auto-embeds (autoembed_urls) option. 2012-09-25 07:10:09 +00:00
options-permalink.php @since for some internal functions. props SergeyBiryukov, fixes #21886. 2012-09-25 02:24:58 +00:00
options-privacy.php Fold Privacy Settings into Reading Settings, moving blog_public (search engine/robots) to options-reading and removing options-privacy. 2012-09-13 17:28:57 +00:00
options-reading.php Docs for options_reading_blog_charset(). props SergeyBiryukov, fixes #21886. 2012-09-16 18:33:19 +00:00
options-writing.php Remove the 'Size of the post box' (default_post_edit_rows) option. This will instead be handled by a user cookie tracking the resizing of both TinyMCE and the main textarea. see #21718. 2012-09-26 03:17:28 +00:00
options.php Remove the 'Size of the post box' (default_post_edit_rows) option. This will instead be handled by a user cookie tracking the resizing of both TinyMCE and the main textarea. see #21718. 2012-09-26 03:17:28 +00:00
plugin-editor.php Move the description for tabbing out of the plugin and theme editors textareas to the Help tab, fixes #21347 2012-07-27 16:49:48 +00:00
plugin-install.php Browse and install your wordpress.org plugin favorites from the plugin installer. props Otto42, Japh, DrewAPicture. fixes #22002. 2012-09-27 00:47:01 +00:00
plugins.php Only allow operations on network plugins through the network admin. see #21187, for trunk. 2012-09-04 20:51:33 +00:00
post-new.php Schedule auto-draft deletion from post-new.php instead of from admin.php. This provides better throttling for large multisite installs and reduces the risk of a delete avalanche. 2012-04-12 18:49:48 +00:00
post.php Use the regular post type UI for editing single media items (attachments). 2012-09-21 22:52:54 +00:00
press-this.php New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00
profile.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
revision.php Mid-page headers should be h3, not h2. 2010-10-22 00:27:12 +00:00
setup-config.php On setup-config step 2, default to focusing on the textarea and selecting its contents. fixes #21656. 2012-09-16 19:41:41 +00:00
theme-editor.php Always URL-encode a stylesheet directory value before using it in a URL. These situations are saved by wp_nonce_url(), but we should not depend on that. see #21749, for trunk only. 2012-09-04 22:35:12 +00:00
theme-install.php Fix help text on the Install Themes screen, props SergeyBiryukov, fixes #20925 2012-08-22 02:28:30 +00:00
themes.php Remove "This theme supports widgets..." from the theme activation notice. props ryanimel. fixes #19787. 2012-09-24 16:31:41 +00:00
tools.php Update contextual help for Tools screen. Props SergeyBiryukov, ajacommerce, DrewAPicture. fixes #19523 2012-05-05 19:09:08 +00:00
update-core.php Updates and fixes to the new button styles. By default, buttons are now the same size as they were in 3.4. Then there is a smaller button (designed for minor elements) and a larger button (designed for things like Publish and Save Changes). Better focus styles. props lessbloat. see #21598. 2012-09-21 19:34:23 +00:00
update.php Theme Customizer: Allow the customize iframe to be accessed directly (with full feature support). see #19910. 2012-04-16 14:02:28 +00:00
upgrade-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
upgrade.php Send nocache_headers() in the admin earlier, on the DB upgrade page. Prevents a potential redirect loop reproduced in Chrome from heavy caching of headers. props mdawaffe. see #21745. 2012-09-19 01:51:40 +00:00
upload.php Clean attachment cache after a manual update, not before. props mdawaffe. fixes #20786. 2012-08-24 15:32:23 +00:00
user-edit.php Remove unnecessary label. Props waclawjacek. fixes #17978 2012-09-20 13:59:39 +00:00
user-new.php s/newuserconfimation/newuserconfirmation/ 2012-07-30 16:13:18 +00:00
users.php Hide the link manager from the UI on upgrade, if the site has no links. New DB option, link_manager_enabled. 2012-08-13 16:18:42 +00:00
widgets.php New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00