[wp-trac] [WordPress Trac] #34942: Add a filter for $index in dynamic_sidebar() function
WordPress Trac
noreply at wordpress.org
Fri Dec 11 17:33:00 UTC 2015
#34942: Add a filter for $index in dynamic_sidebar() function
-------------------------+------------------------------
Reporter: ShinichiN | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------------------
Comment (by DrewAPicture):
Replying to [comment:3 ShinichiN]:
> @azaozz Do we still need the other 2 arguments,
`$wp_registered_sidebars` and `$wp_registered_widgets` when we have the
`$sidebars_widgets`, which is a combination of the 2?
Yes, we still need the other two. `$wp_registered_sidebars` and
`$wp_registered_widgets` are stored in memory and `$sidebars_widgets` is
derived from the database. Fun times.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34942#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list