[wp-trac] [WordPress Trac] #12695: Inline docs for Twenty Ten
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 30 00:05:20 UTC 2010
#12695: Inline docs for Twenty Ten
----------------------------+-----------------------------------------------
Reporter: nacin | Owner: nacin
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.0
Component: Inline Docs | Version:
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
Comment(by nacin):
(In [13886]) Second pass on twentyten/functions.php inline documentation.
see #12695. Also:
rename twentyten_init() to twentyten_setup(), to reflect the hook it is
run on (init would be too late, it must be after_setup_theme). Remove
unnecessary twentyten_get_page_number() and transfer functionality to
twentyten_the_page_number(). Remove the function_exists() wrappers from
functions that are simply tied to a hook, as a better practice would be to
remove the hook instead of plugging the function. For architecture
changes, see #12748.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12695#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list