Skip to content
Commit ae8961be authored by Andrew Nacin's avatar Andrew Nacin
Browse files

In Twenty Eleven: Register the widget from functions.php. Kill...

In Twenty Eleven: Register the widget from functions.php. Kill create_function. Attach twentyeleven_widgets_init() to widgets_init, rather than init. Eliminate use of the $post global in the widget. see #17198.

git-svn-id: https://core.svn.wordpress.org/trunk@17738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 6e5f7d1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment