WordPress/wp-admin
Peter Westwood c05f6dc6dd Posting: Make it much harder to create posts with invalid dates by enforcing the post date tests in the UI and the backend code.
Previously you could quite easily send a new post into the back of beyond by specifying an invalid date like the 30th Feb and this was very confusing.
Sometimes it would seem to work and sometimes the post would end up very far in the past - depending on the mysql version and other factors.

Fixes #17180 props jkudish.


git-svn-id: http://core.svn.wordpress.org/trunk@21921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-19 21:43:35 +00:00
..
css Compress scripts/styles: 3.5-alpha-21920. 2012-09-19 18:59:36 +00:00
images Replace the dark spinner with the light on the widgets screen and retire wpspin_dark.gif, props helenyhou and lessbloat, fixes #20957 2012-08-22 02:02:37 +00:00
includes Posting: Make it much harder to create posts with invalid dates by enforcing the post date tests in the UI and the backend code. 2012-09-19 21:43:35 +00:00
js Posting: Make it much harder to create posts with invalid dates by enforcing the post date tests in the UI and the backend code. 2012-09-19 21:43:35 +00:00
maint Do not perform nonce checks in maint/repair.php. 2012-05-30 16:22:53 +00:00
network Remove unused edit-site nonce fields from site-users and site-themes. props jeremyfelt, fixes #21277. 2012-09-18 23:06:22 +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 Add get-attachment and query-attachments Ajax handlers. props koopersmith. see #21390. 2012-08-31 02:58:51 +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 Copy 3.4 about.php header text to credits and freedoms. props pavelevap. fixes #20794. 2012-06-07 15:34:21 +00:00
custom-background.php Pinking shears 2012-06-12 19:27:41 +00:00
custom-header.php Fix display issues in the custom header screen when height is not specified. Use get_header_image() instead of header_image() so that esc_url() can do its job. Props JarretC, SergeyBiryukov, georgestephanis. fixes #21130 #21433 2012-08-14 19:24:36 +00:00
customize.php Refresh nonces in the customizer. props koopersmith. see #20876. 2012-06-26 18:48:18 +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 New button styles. 2012-09-08 04:58: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 Give Add New button on edit taxonomy pages primary button styling. Props JustinSainton. fixes #21406 2012-07-30 18:41:42 +00:00
edit.php Remove return ref from all calls to get_post() 2012-08-23 20:01:10 +00:00
export.php Rename duplicately defined internal functions (add_js, display_header) for documentation purposes. props bpetty, fixes #21564. 2012-09-15 19:49:21 +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 setup-config.php must be parseable by PHP4 so we can show a sane error message. wp-admin/index.php should ideally be as well. props SergeyBiryukov, see #21316. 2012-09-04 02:46:01 +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 If a plugin triggers the WP_Scripts constructor prior to init, fire wp_default_scripts() 2012-06-26 05:33:19 +00:00
load-styles.php One newline is enough. 2012-01-05 20:10:39 +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 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
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 Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +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 Remove ms-files.php rewriting from WordPress multisite. fixes #19235. 2012-09-11 22:22:20 +00:00
options-discussion.php Add labels for all inputs in options-discussion. Props SergeyBiryukov, lessbloat, Latz. fixes #21373 2012-09-04 21:05:06 +00:00
options-general.php Rename duplicately defined internal functions (add_js, display_header) for documentation purposes. props bpetty, fixes #21564. 2012-09-15 19:49:21 +00:00
options-head.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
options-media.php Hide upload_path and upload_url_path from the Media Settings screen, assuming they are both set to their default values. 2012-09-14 21:00:39 +00:00
options-permalink.php Include the home URL before the custom permalink structure input, so it is clear we only care about the path. props solarissmoke, fixes #8952. 2012-09-18 17:58:54 +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 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.php Hide upload_path and upload_url_path from the Media Settings screen, assuming they are both set to their default values. 2012-09-14 21:00:39 +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 Have the correct screen icon in place when the top level Plugins menu is plugin-install.php. This occurs when the user can install but not activate plugins. see #19824. 2012-06-30 12:12:26 +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 Add tags_input, page_template, and post_category get magic to WP_Post. 2012-08-28 19:08:28 +00:00
press-this.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
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 Undo nested paragraphs added in [21816]. see #17944. 2012-09-11 19:16:53 +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 Fix placeholders in 'Welcome to WordPress' successful update messages. props SergeyBiryukov. see #21511. 2012-09-03 21:57:53 +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 Allow passing stdClass and WP_User to wp_insert_user() and wp_update_user(). Introduce WP_User::to_array(). Eliminate uses of get_object_vars() when passing to wp_*_user(). fixes #21429 2012-08-10 15:36:54 +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 Don't show Appearance > Widgets if the theme has no sidebars defined. props SergeyBiryukov for the initial patch. fixes #21761. 2012-09-12 02:16:46 +00:00