Scott Taylor
bf04b211a4
Widgets: use `input[type="number"]` for the `number` prop in the Recent Posts and Recent Comments widget forms.
...
Props helen, obenland, mordauk.
Fixes #22965 .
Built from https://develop.svn.wordpress.org/trunk@34514
git-svn-id: http://core.svn.wordpress.org/trunk@34478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-24 19:53:26 +00:00
Scott Taylor
ad2ddad259
Recent Posts Widget: remove HTML fragment caching. The cache currently doesn't work cross-scheme and causes mixed content issues for links. The widget was written pre-`$split_the_query`, after which post objects can be served from the cache.
...
Fixes #27565 .
Built from https://develop.svn.wordpress.org/trunk@34464
git-svn-id: http://core.svn.wordpress.org/trunk@34428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-24 00:17:24 +00:00
Drew Jaynes
0608fc8dea
Docs: Add a file header to wp-includes/widgets/class-wp-widget-recent-posts.php, introduced in [33746].
...
Also clarifies the class DocBlock summary and tags for `WP_Widget_Recent_Posts`.
See #33413 . See #33701 .
Built from https://develop.svn.wordpress.org/trunk@34436
git-svn-id: http://core.svn.wordpress.org/trunk@34400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-22 14:54:25 +00:00
Scott Taylor
c1bb5b5ce3
After [33843], update the location of some files in `This filter is documented in` docs
...
Props dimadin.
See #33413 .
Built from https://develop.svn.wordpress.org/trunk@33954
git-svn-id: http://core.svn.wordpress.org/trunk@33923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-08 22:17:26 +00:00
Scott Taylor
0c97b3625e
After [33814], `checked()` outputs a leading space, so some extra spaces can be removed in the HTML for default widget forms.
...
See #23012 .
Built from https://develop.svn.wordpress.org/trunk@33951
git-svn-id: http://core.svn.wordpress.org/trunk@33920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-08 19:23:24 +00:00
Scott Taylor
9f8816c939
De-Jorbin [33814].
...
See #23012 .
Built from https://develop.svn.wordpress.org/trunk@33845
git-svn-id: http://core.svn.wordpress.org/trunk@33813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-01 15:48:22 +00:00
Scott Taylor
9b8169bd30
Move widget classes to their own files in `wp-includes/widgets`:
...
* `default-widgets.php` now requires all of the individual classes
* Move the functions scattered about this file to `widget-functions.php`, which loads before `default-widgets.php`, which only conditionally loads anyway in `wp_maybe_load_widgets()`, which is hooked on `plugins_loaded`
See #33413 , #23012 .
Built from https://develop.svn.wordpress.org/trunk@33843
git-svn-id: http://core.svn.wordpress.org/trunk@33811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-01 13:49:21 +00:00