WordPress/wp-admin
Mark Jaquith ef5e733dbf Revisions: Bunch of refactoring and code cleanup
* Extracted a lot of model-y stuff from the view code.
* Slider now has a proper model, with communication with other models.
* Use of `get( foo )` instead of `findWhere({ id: foo })`.
* Properly set the `from` diff when routing single mode.
* Bind `prev()` and `next()` to their model.
* Tick marks are now percentage based, which means the slider resizes with the browser, without JS resize events.
* When scrubbing, the position of the scrubber is considered a hover, so you can fall off the timeline while still scrubbing and the tooltips will persist.
* Tooltips fade in and out.
* Tooltips hang around for a grace period instead of immediately going away. More forgiving.
* Unused code paths removed.
* Got rid of a bunch of view-to-view communication.
* Use `_.times()` instead of a `for` loop.
* Removed premature `Math.floor()` and `Math.ceil()` calls that were making things not add up to 100%.

See #24425.

git-svn-id: http://core.svn.wordpress.org/trunk@24658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-11 09:14:14 +00:00
..
css Revisions: Bunch of refactoring and code cleanup 2013-07-11 09:14:14 +00:00
images Add post format icons to the radio chooser. This also trims empty margins from the sprites to make them usable in RTL and make positioning numbers more sane. props ryelle, kovshenin for the initial patch. fixes #24519. 2013-06-07 17:15:53 +00:00
includes Modify todo in wp_ajax_autosave(). fixes #23665. 2013-07-11 00:06:52 +00:00
js Revisions: Bunch of refactoring and code cleanup 2013-07-11 09:14:14 +00:00
maint Use correct escaping function. fixes #23334. 2013-02-14 05:52:23 +00:00
network Keep the theme update thickbox from being obscured by the toolbar. 2013-07-05 15:15:58 +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 Remove 'Insert Multiple Images' from the about page as it is now completely invisible in the UI. Requiring shift-click but not mentioning it is a bad omen. props helenyhou. fixes #22455. 2012-12-07 20:58:34 +00:00
admin-ajax.php Cleanup of the revisions screen, both on the PHP API side, and the JS. 2013-06-26 21:06:50 +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
admin-header.php First pass at removing Post Format UI. 2013-05-30 21:33:46 +00:00
admin-post.php
admin.php Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes(). 2013-03-01 17:00:25 +00:00
async-upload.php Use meta caps edit_post, read_post, and delete_post directly, rather than consulting the post type object. map_meta_cap() handles that for us. props markjaquith, kovshenin. fixes #23226. 2013-07-08 20:05:42 +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 Reorganize and polish the About WordPress 3.5 screen. Offer strings for translation. 2012-11-28 21:00:09 +00:00
custom-background.php When generating a background image thumbnail URL, escape percent signs for the eventual sprintf() call inside get_theme_mod(). 2013-07-10 04:42:03 +00:00
custom-header.php Sanity checks on image metadata to avoid warnings, etc. 2013-03-29 20:51:35 +00:00
customize.php Refactor the Customizer accordion so that it can be used in other locations. 2013-02-14 22:58:04 +00:00
edit-comments.php * Pass ellipsis as a parameter to wp_html_excerpt() instead of appending it manually. 2013-05-09 00:22:02 +00:00
edit-form-advanced.php Remove the conditional wrappers for the edit_form_after_* hooks. Using the .edit-form-section class will still add a 20px bottom margin; devs will just want to add wrapping containers as appropriate. fixes #24334; see #23240. 2013-07-08 15:45:53 +00:00
edit-form-comment.php Remove ancient 'lookup' quicktag from the text editor. This had called up answers.com. 2013-04-22 20:17:25 +00:00
edit-link-form.php Remove dead code. Removed in [23445], accidentally reinstated in [23554]. This was found during wp_reset_vars() cleanup. see #21767. 2013-04-06 20:47:12 +00:00
edit-tag-form.php Enter the semicolon. Props F J Kaiser, SergeyBiryukov. fixes #21393 2012-10-18 13:06:39 +00:00
edit-tags.php Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes(). 2013-03-01 17:00:25 +00:00
edit.php Use meta caps edit_post, read_post, and delete_post directly, rather than consulting the post type object. map_meta_cap() handles that for us. props markjaquith, kovshenin. fixes #23226. 2013-07-08 20:05:42 +00:00
export.php Rename filter on $args sent to export_wp() for clarity. See #19863. 2012-11-06 14:51:45 +00:00
freedoms.php Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389. 2013-05-22 21:01:57 +00:00
import.php Pull the list of popular importers from WordPress.org. 2012-11-17 07:20:04 +00:00
index.php We no longer care if wp-admin/index.php is parseable by PHP 4. (And it's not, anyway.) If a user hits the root or wp-admin/install.php, they do get a proper warning. 2012-12-11 16:08:58 +00:00
install-helper.php Deprecate ancient "debugging" tools. 2012-02-17 00:02:42 +00:00
install.php Install: Fix the value of the for attribute for the label of the username field. 2013-06-30 11:18:35 +00:00
link-add.php Remove unused variables reset by wp_reset_vars(). Many of these haven't been used since b2. see #21767. 2013-02-16 18:28:41 +00:00
link-manager.php Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes(). 2013-03-01 17:14:09 +00:00
link-parse-opml.php
link.php Remove unused variables reset by wp_reset_vars(). Many of these haven't been used since b2. see #21767. 2013-02-16 18:28:41 +00:00
load-scripts.php Script loader: Chunk the script names as passed to load-scripts.php into 128-character pieces. Avoids hitting a limit for the length of a single variable, such as suhosin.get.max_value_length which defaults to 512. fixes #22757. 2012-12-05 18:57:56 +00:00
load-styles.php Fix minified RTL style loading via load-styles.php. props ocean90. fixes #22482. 2012-11-16 22:18:33 +00:00
media-new.php Escape form action urls with esc_url() rather than esc_attr(). 2013-03-18 14:01:25 +00:00
media-upload.php Split media-new.php and media-upload.php into distinct files. 2012-11-21 12:19:40 +00:00
media.php Revert 23416, 23419, 23445 except for wp_reset_vars() changes. We are going a different direction with the slashing cleanup, so resetting to a clean slate. see #21767 2013-03-01 16:28:40 +00:00
menu-header.php Revert [23871] - Customize should be added to the menu, but not hacked in as first. see #21413. 2013-04-22 19:33:39 +00:00
menu.php Customize requires edit_theme_options. If you only have switch_themes (rare, but a case that core supports), you should not have access. fixes #21413. 2013-04-22 19:37:26 +00:00
moderation.php
ms-admin.php
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
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
my-sites.php
nav-menus.php Recombine a fragmented help paragraph so its integrity does not depend on translaters noticing a trailing space in the first sentence. 2013-07-05 18:39:27 +00:00
network.php Avoid scrollbar on network.php's wp-config.php textarea. 2013-07-10 21:57:15 +00:00
options-discussion.php Consistently apply class="title" to our options page h3 tags. 2013-04-16 20:19:29 +00:00
options-general.php Don't show the same time or date format twice on the General Settings page. This can occur if a translated format is the same as an existing default format. fixes #21060. 2012-10-25 20:15:47 +00:00
options-head.php Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes(). 2013-03-01 17:14:09 +00:00
options-media.php Consistently apply class="title" to our options page h3 tags. 2013-04-16 20:19:29 +00:00
options-permalink.php Some more RTL improvements for permalink settings. props SergeyBiryukov. fixes #16834. 2013-05-22 17:58:10 +00:00
options-reading.php Revert page on front changes. Reverts [22127] [22129] [22135] [22136]. see #16379. 2012-11-19 01:28:32 +00:00
options-writing.php Allow any post format to be default, not just ones with explicit support. 2013-04-25 06:08:29 +00:00
options.php Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes(). 2013-03-01 17:14:09 +00:00
plugin-editor.php Don't unslash variables that came from wp_reset_vars(). see #21767. 2013-03-01 18:59:54 +00:00
plugin-install.php Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389. 2013-05-22 21:01:57 +00:00
plugins.php Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389. 2013-05-22 21:01:57 +00:00
post-new.php Post locks: load the post locked dialog html in post-new.php too, see #23697. 2013-07-03 01:50:39 +00:00
post.php Use meta caps edit_post, read_post, and delete_post directly, rather than consulting the post type object. map_meta_cap() handles that for us. props markjaquith, kovshenin. fixes #23226. 2013-07-08 20:05:42 +00:00
press-this.php Consistently use get_post_format_string() to get Standard post format name with the correct context. props johnbillion. fixes #23503. 2013-06-27 06:56:45 +00:00
profile.php
revision.php Proper translation of '<time> ago' in revisions. props johnbillion, fixes #24721. 2013-07-10 16:15:18 +00:00
setup-config.php Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes(). 2013-03-01 17:14:09 +00:00
theme-editor.php Use ellipsis instead of three dots. props tjsingleton, jordie23, wojtek.szkutnik, DrewAPicture, SergeyBiryukov. see #8714. 2013-05-08 21:27:31 +00:00
theme-install.php Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389. 2013-05-22 21:01:57 +00:00
themes.php Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389. 2013-05-22 21:01:57 +00:00
tools.php Make sure .widefat border and background coloring only applies to tables. props MikeHansenMe. fixes #21936. 2013-01-22 14:44:04 +00:00
update-core.php Escape form action urls with esc_url() rather than esc_attr(). 2013-03-18 14:01:25 +00:00
update.php More robust escaping in the plugin/theme upgrader. 2013-06-21 05:54:40 +00:00
upgrade-functions.php
upgrade.php Always wp_unslash() the return of wp_get_referer(). 2013-03-01 17:20:32 +00:00
upload.php Use ellipsis instead of three dots. props tjsingleton, jordie23, wojtek.szkutnik, DrewAPicture, SergeyBiryukov. see #8714. 2013-05-08 21:27:31 +00:00
user-edit.php Combat Chrome's insanely aggressive user/pass autofilling ಠ_ಠ 2013-07-03 21:24:02 +00:00
user-new.php Combat Chrome's insanely aggressive user/pass autofilling ಠ_ಠ 2013-07-03 21:24:02 +00:00
users.php Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes(). 2013-03-03 16:30:38 +00:00
widgets.php Fix various typos and omissions across a number of help tabs. props DrewAPicture, Ipstenu. see #22451. 2012-11-22 08:45:15 +00:00