File tree Expand file tree Collapse file tree
src/wp-content/themes/twentyseventeen Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212/**
1313 * Twenty Seventeen only works in WordPress 4.7 or later.
14+ *
15+ * @global string $wp_version The WordPress version string.
1416 */
1517if ( version_compare ( $ GLOBALS ['wp_version ' ], '4.7-alpha ' , '< ' ) ) {
1618 require get_template_directory () . '/inc/back-compat.php ' ;
2325 * Note that this function is hooked into the after_setup_theme hook, which
2426 * runs before the init hook. The init hook is too late for some features, such
2527 * as indicating support for post thumbnails.
28+ *
29+ * @since Twenty Seventeen 1.0
30+ *
31+ * @global int $content_width Content width.
2632 */
2733function twentyseventeen_setup () {
2834
@@ -248,7 +254,7 @@ function twentyseventeen_setup() {
248254 *
249255 * Priority 0 to make it available to lower priority callbacks.
250256 *
251- * @global int $content_width
257+ * @global int $content_width Content width.
252258 */
253259function twentyseventeen_content_width () {
254260
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ function twentyseventeen_switch_theme() {
3333 *
3434 * @since Twenty Seventeen 1.0
3535 *
36- * @global string $wp_version WordPress version.
36+ * @global string $wp_version The WordPress version string .
3737 */
3838function twentyseventeen_upgrade_notice () {
3939 printf (
@@ -51,7 +51,7 @@ function twentyseventeen_upgrade_notice() {
5151 *
5252 * @since Twenty Seventeen 1.0
5353 *
54- * @global string $wp_version WordPress version.
54+ * @global string $wp_version The WordPress version string .
5555 */
5656function twentyseventeen_customize () {
5757 wp_die (
@@ -73,7 +73,7 @@ function twentyseventeen_customize() {
7373 *
7474 * @since Twenty Seventeen 1.0
7575 *
76- * @global string $wp_version WordPress version.
76+ * @global string $wp_version The WordPress version string .
7777 */
7878function twentyseventeen_preview () {
7979 if ( isset ( $ _GET ['preview ' ] ) ) {
Original file line number Diff line number Diff line change 88 * @version 1.0
99 */
1010
11+ /**
12+ * @global int|string $twentyseventeencounter Front page section counter.
13+ */
1114global $ twentyseventeencounter ;
1215
1316?>
You can’t perform that action at this time.
0 commit comments