mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-24 01:57:53 +01:00
9db8f895a0
* Full inline documentation. * Enqueue scripts/styles on admin_enqueue_scripts and use hook_suffix rather than GET[page] * Add filters to twentyeleven_color_schemes(), twentyeleven_layouts(), which necessitates adding a thumbnail URL value here, rather than generating them in the form. * Add a twentyeleven_default_theme_options filter. * Remove manual check for REQUEST[settings-updated], instead using settings_errors(), since we're using options.php. * Abstract out the default link color, rather than hardcoding it in certain places. * Use checked(). * Rename some variables and functions for clarity. * Remove unnecessary functions twentyeleven_current_layout() and twentyeleven_current_color_scheme(), as we already have twentyeleven_get_theme_options(). * Add a twentyeleven_color_schemes action to allow for enqueueing custom color schemes. * Add a twentyeleven_layout_classes filter, to allow filtering what gets sent back to body_class(). * Hook into wp_enqueue_scripts rather than wp_print_styles for enqueueing the color stylesheet. * Rewrite the register_setting() callback to start from scratch with an empty array. Improve the link_color logic. * Use submit_button(). * Use esc_attr() rather than esc_attr_e() for non-translations. TODO: * Implement settings sections/fields logic to allow extension of the options page. * Consider re-doing this in a class. It'll be cleaner. * Store a DB version so we can do an add_option(), rather than calling get_option() with defaults. see #17198. git-svn-id: http://svn.automattic.com/wordpress/trunk@17733 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
colors | ||
images | ||
inc | ||
js | ||
languages | ||
404.php | ||
archive.php | ||
author.php | ||
category.php | ||
comments.php | ||
content-aside.php | ||
content-featured.php | ||
content-gallery.php | ||
content-intro.php | ||
content-link.php | ||
content-page.php | ||
content-single.php | ||
content.php | ||
footer.php | ||
functions.php | ||
header.php | ||
image.php | ||
index.php | ||
license.txt | ||
page.php | ||
readme.txt | ||
rtl.css | ||
screenshot.png | ||
search.php | ||
searchform.php | ||
showcase.php | ||
sidebar.php | ||
single.php | ||
style.css | ||
tag.php |
= TWENTY ELEVEN = * by the WordPress team, http://wordpress.org/ == ABOUT TWENTY ELEVEN ==