You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Twenty Eleven: Improve PHP DocBlock compliance with documentation standards
Updates PHP DocBlocks in Twenty Eleven theme to better align with WordPress PHP Documentation Standards.
Changes include:
- Use third-person singular verbs in function summaries
- Add missing @return tags for better type documentation
- Complete @param documentation for widget methods
- Ensure proper sentence structure with punctuation
- Add missing DocBlock for twentyeleven_theme_options_help()
* Adds help documentation to the theme options page.
112
+
*
113
+
* @since Twenty Eleven 1.0
114
+
*/
110
115
functiontwentyeleven_theme_options_help() {
111
116
112
117
$help = '<p>' . __( 'Some themes provide customization options that are grouped together on a Theme Options screen. If you change themes, options may change or disappear, as they are theme-specific. Your current theme, Twenty Eleven, provides the following Theme Options:', 'twentyeleven' ) . '</p>' .
@@ -144,6 +149,8 @@ function twentyeleven_theme_options_help() {
144
149
* Returns an array of color schemes registered for Twenty Eleven.
145
150
*
146
151
* @since Twenty Eleven 1.0
152
+
*
153
+
* @return array An associative array of color scheme options.
147
154
*/
148
155
functiontwentyeleven_color_schemes() {
149
156
$color_scheme_options = array(
@@ -175,6 +182,8 @@ function twentyeleven_color_schemes() {
175
182
* Returns an array of layout options registered for Twenty Eleven.
176
183
*
177
184
* @since Twenty Eleven 1.0
185
+
*
186
+
* @return array An associative array of layout options.
0 commit comments