Ian Stewart
15485e1945
Twenty Fifteen: Use the new archive template tags and make archive template titling way simpler!
...
Props obenland, fixes #30246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30236 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-04 21:00:20 +00:00
Ian Stewart
c8d11a139f
Twenty Fifteen: adding licensing info for the image used in the screenshot.
...
Props sakinshrestha, fixes #30156 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30235 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-04 20:54:05 +00:00
Scott Taylor
f251fde34e
Add some docs to wp.media.view.EditorUploader
.
...
Props ericlewis.
See #29951 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30234 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-04 20:47:17 +00:00
Ian Stewart
b70707b4c1
Twenty Fifteen: Formatting cleanup for documentation, crossing eyes, dotting tees.
...
Props lancewillett, MikeHansenMe, fixes #30149 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30233 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-04 20:25:04 +00:00
Ian Stewart
be2a929e4e
Twenty Fifteen: missing spaces for code standards.
...
Props Jayjdk, fixes #30076 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30232 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-04 20:15:05 +00:00
Ian Stewart
94db67ffa7
Twenty Fifteen: accessible alt text for post thumbnail links.
...
Props joedolson, fixes #30076 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30231 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-04 18:56:10 +00:00
Ian Stewart
47c5c58e47
Twenty Fifteen: Simplify the header, sidebar, background controls and make customization faster for users to do. This has the added benefit of fixing our bug where hidden header text wasn't being updated on color scheme switch. Nice.
...
Props celloexpressions, iamtakashi, fixes #30164 and #29980 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30230 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-04 18:41:56 +00:00
Ian Stewart
2045e94fc2
Twenty Fifteen: Crashing chrome if you don't have Noto installed probably isn't the best experience -- removing font kerning.
...
Props iamtakashi, fixes #30195
git-svn-id: https://develop.svn.wordpress.org/trunk@30229 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-04 17:40:45 +00:00
Drew Jaynes (DrewAPicture)
d40e689fe1
Ensure the requires for the admin bootstrap are documented in all wp-admin/user/ files.
...
Props NikV for the initial patch.
Fixes #29111 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30228 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-04 16:31:31 +00:00
Drew Jaynes (DrewAPicture)
155561f631
Fix a couple of typos in the hook documentation for the $option
filter in wp-admin/includes/class-wp-list-table.php.
...
Props bobbingwide.
Fixes #30229 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30227 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-04 16:04:37 +00:00
Drew Jaynes (DrewAPicture)
9cbffbdb44
Merge a multi-line comment into a single-line comment in wp-includes/link-template.php.
...
See [30166]. See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30226 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-04 15:58:44 +00:00
Drew Jaynes (DrewAPicture)
ecec9d3595
Add parameter and return descriptions to the WP_List_Table::get_pagination_arg()
DocBlock.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30225 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-04 15:54:50 +00:00
Drew Jaynes (DrewAPicture)
73a79a8160
Cross reference get_the_archive_title()
and get_the_archive_description()
in the inline documentation for their corresponding template tags.
...
Also define the default values for `$before` and `$after` in the template tag documentation.
See [30223]. See #21995 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30224 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-04 06:51:06 +00:00
John Blackbourn
2599e32a67
Introduce some new template functions for archive titles and descriptions:
...
* `get_the_archive_title()` and `the_archive_title()` for returning/displaying the title of the current term, date, post type, post format, or author archive.
* `get_the_archive_description()` and `the_archive_description()` for returning/displaying the description associated with the current term archive.
Fixes #21995
Props obenland, DrewAPicture
git-svn-id: https://develop.svn.wordpress.org/trunk@30223 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-04 00:35:00 +00:00
Ian Stewart
2203ed4ca5
Twenty Fifteen: correct image alignment for RTL.
...
Props iamtakashi, fixes #30239 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30222 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 23:11:11 +00:00
Ian Stewart
ed459a0b4e
Twenty Fifteen: check if user-selected custom colors are the same as default so we're not duplicating styles.
...
Props iamtakashi, fixes #30234
git-svn-id: https://develop.svn.wordpress.org/trunk@30221 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 21:58:56 +00:00
Ian Stewart
d3a237962c
Twenty Fifteen: Remove a gap between content and footer when the sidebar is longer than the content.
...
Props iamtakashi, fixes #30228 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30220 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 21:48:40 +00:00
Dominik Schilling (ocean90)
5d87d2c5d2
Customizer: Bind input
and propertychange
events for range input types.
...
props voldemortensen, westonruter.
fixes #30223 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30219 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 21:48:22 +00:00
Ian Stewart
0dcb810a91
Twenty Fifteen: escaping for the HTML5 shiv call.
...
Props philiparthurmoore, fixes #30212
git-svn-id: https://develop.svn.wordpress.org/trunk@30218 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 21:46:02 +00:00
Ian Stewart
17f38859e5
Twenty Fifteen: kern everything -- it reads better.
...
Props afercia, fixes #30195 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30217 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 21:42:11 +00:00
Ian Stewart
688d75c18f
Twenty Fifteen: Use new core navigation tags.
...
Props obenland, iamtakashi, fixes #30189
git-svn-id: https://develop.svn.wordpress.org/trunk@30216 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 21:39:37 +00:00
Ian Stewart
1faa0f1622
Twenty Fifteen: Make sure that the edit link will always be right of it's icon.
...
Props iamtakashi, fixes #30171 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30215 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 21:35:31 +00:00
Dominik Schilling (ocean90)
507243a3e2
Customizer: Add stable sorting for panels, sections and controls in JS. Improve sorting in PHP.
...
props westonruter.
fixes #30225 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30214 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 21:34:44 +00:00
Ian Stewart
bd07bf4575
Twenty Fifteen: nicer styles for playlists.
...
Props iamtakashi, fixes #30163
git-svn-id: https://develop.svn.wordpress.org/trunk@30213 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 19:32:10 +00:00
Ian Stewart
0d1cd76c06
Twenty Fifteen: add a fallback icon for social links where we don't have an icon
...
Props iamtakashi, fixes #30148
git-svn-id: https://develop.svn.wordpress.org/trunk@30212 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 19:01:53 +00:00
Ian Stewart
0788bccc0c
Twenty Fifteen: prevent a flash of visible sub menus before scripts load.
...
Props mattwiebe, aferica, fixes #30056 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30211 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 18:57:22 +00:00
Boone Gorges
67871ba641
Improve docblocks for get_the_taxonomies()
and the_taxonomies()
.
...
* In `the_taxonomies()`, only document those arguments that are specific to the function. Arguments shared with `get_the_taxonomies()` should be documented in the later function's docblock.
* Add $args hash documentation to `get_the_taxonomies()`.
* Remove the redundant default argument definition in `the_taxonomies()`.
Fixes #27238 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30210 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 18:48:50 +00:00
Boone Gorges
9c13546518
Introduce term_template
param to get_the_taxonomies()
.
...
This parameter allows theme and plugin authors to specify the formatting they
would like on the term links as they are parsed into the taxonomy list.
Props hereswhatidid, dlh, davidjlaietta.
See #27238 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30209 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 18:48:42 +00:00
Ian Stewart
48c4599347
Twenty Fifteen: make it clear that a link is a link in post and comment meta by underlining it on hover or focus
...
Props morganestes, iamtakashi, fixes #30108
git-svn-id: https://develop.svn.wordpress.org/trunk@30208 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 17:00:06 +00:00
Boone Gorges
2b6df5f8ce
Ignore case when checking string 'false' in wp_validate_boolean()
.
...
Props TobiasBg, kitchin.
Fixes #30238 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30207 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 15:54:42 +00:00
Boone Gorges
1219355f2b
Add unit tests for wp_validate_boolean()
.
...
Props TobiasBg.
See #30238 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30206 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 15:51:11 +00:00
Boone Gorges
f744ee189e
In in_object_in_term()
, only check numeric string values against term_id.
...
The previous `in_array()` check was playing too loose with mixed types, such
that a string like '10_term_name' would incorrectly match a term_id 10.
Props nobinobi, realloc.
Fixes #29467 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30205 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 14:24:23 +00:00
Boone Gorges
fc8da37358
Add some unit tests for is_object_in_term()
.
...
These tests check a number of the ways that different kinds of values for
`$terms` (integers that match term_id, strings that match term_id or name or
slug) are handled.
See #29467 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30204 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 14:24:17 +00:00
Scott Taylor
6c5e90eaa5
Correct some types in wp-admin/*
-location files' doc blocks.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30203 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 07:08:16 +00:00
Scott Taylor
3942ff4616
Correct all @return unknown
instances.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30202 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 06:16:34 +00:00
Scott Taylor
ba85fbacba
Fill in the @param
types for the args for functions missing them in wp-admin/includes/deprecated.php
(pour one out).
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30201 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 06:07:26 +00:00
Scott Taylor
e4b0a71ebd
Fill in the @param
types for the args for functions missing them in wp-admin/includes/misc.php
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30200 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 06:00:25 +00:00
Scott Taylor
884d27ea00
Fill in the @param
types for the args for functions missing them in wp-admin/includes/plugin.php
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30199 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 05:58:14 +00:00
Scott Taylor
8ddca875b5
Fill in the @param
types for the args for functions missing them in wp-admin/includes/post.php
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30198 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 05:54:04 +00:00
Scott Taylor
53df5b1a61
Fill in the @param
types for the args for functions missing them in wp-admin/includes/taxonomy.php
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30197 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 05:49:57 +00:00
Scott Taylor
43d027f2af
Fill in the @param
types for the args for functions missing them in wp-admin/includes/template.php
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30196 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 05:44:33 +00:00
Scott Taylor
aff2817015
Fill in the @param
types for the args for make_site_theme_from_default()
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30195 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 05:42:06 +00:00
Scott Taylor
00d5b388c3
Fill in the @param
types for the args for make_site_theme_from_oldschool()
, which is actually the name of a function?
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30194 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 05:40:30 +00:00
Scott Taylor
fa5b45c42a
Fill in the @param
types for the args for dbDelta()
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30193 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 05:39:08 +00:00
Scott Taylor
d3d38505ea
Fill in the @param
types for the args in WP_Text_Diff_Renderer_Table->interleave_changed_lines()
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30192 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 05:38:34 +00:00
Scott Taylor
2443090c23
Correct the @param
type for the $query
arg for remove_query_arg()
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30191 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 05:28:47 +00:00
Scott Taylor
7ea8e0cb6a
Fill in types for the @param
s for wp_comment_reply()
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30190 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 05:20:43 +00:00
Scott Taylor
30e637cd93
Correct type in the doc block for get_theme_support()
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30189 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 05:17:05 +00:00
Scott Taylor
cd8f6b881c
Correct the return value doc block for get_theme_support()
.
...
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30188 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 05:16:33 +00:00
Scott Taylor
c502804272
In Custom_Image_Header
:
...
* In `->process_default_headers()`, remove check on non-existent `$headers` property. Introduced in [13403].
* Declare `$updated` as a property.
See #30224 .
git-svn-id: https://develop.svn.wordpress.org/trunk@30187 602fd350-edb4-49c9-b593-d223f7449a82
2014-11-03 05:14:11 +00:00