Chapter 2 Flashcards

1
Q

3 folders at wordpress root

A

wp-admin, wp-content, wp-includes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

2 folders that make up wordpress core

A

wp-admin, wp-includes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Directory that holds custom themes, plugins, and site media

A

wp-content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

HTML content like Pages and posts and their tags are stored

A

In the MySQL DB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In wp-config, define option WP_SITEURL and WP_HOME

A

Allows you to temporarily change WP site URL. Does not alter DB value for siteURL.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In wp-config, define option WP_CONTENT_DIR and WP_CONTENT_URL

A

Path to wp-content dir. Allows you to move wp-content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In wp-config, define option WP_PLUGIN_DIR and WP_PLUGIN_URL

A

Path to plugin dir. Allows you to move where your plugins are

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In wp-config, define option WP_POST_REVISIONS

A

Set to false to not keep revisions. Set to a number to specify how many revisions to keep.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In wp-config, define option AUTOSAVE_INTERVAL

A

Number of seconds between autosaves in post writing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In wp-config, define option SAVEQUERIES

A

Set to true to populate array of queries made on page load. When debugging, you can print_r($array) to see what’s going on

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

In wp-config, define option FORCE_SSL_LOGIN

A

Force login over SSL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

In wp-config, define option FORCE_SSL_ADMIN

A

Force all admin pages to be SSL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Specific location of the plugins director

A

wp-content/plugins

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

purpose of wp-content/index.php

A

Prevent directory listings of /wp-content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Location of uploads

A

/wp-content/uploads/year/month/file.extension

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When is the upload folder created

A

As soon as your first upload

17
Q

purpose of wp-content/upgrade

A

When you upgrade WordPress for the first time. The folder will stick around for automatic updates