diff --git a/legacy/v2/forms.md b/legacy/v2/forms.md
index 493c13f..6f33a12 100644
--- a/legacy/v2/forms.md
+++ b/legacy/v2/forms.md
@@ -565,7 +565,7 @@ Take a look at a quick example of instancing a `Form` with a resource, action an
if( current_user_can( 'read' ) ) {
$form = tr_form('users', 'update', get_current_user_id());
$form->open();
- $form->text('Github Handle');
+ $form->text('GitHub Handle');
$form->close('Save Changes');
}
```
\ No newline at end of file
diff --git a/legacy/v3/builder.md b/legacy/v3/builder.md
index b4eb952..5d044d6 100644
--- a/legacy/v3/builder.md
+++ b/legacy/v3/builder.md
@@ -5,7 +5,7 @@ Description: Build modular designs in a slide deck style.
## About Page Builder
-The page builder plugin was designed to help developers and designers work together with clients to deliver the best experience when building [modular/component based designes](http://alistapart.com/article/language-of-modular-design).
+The page builder plugin was designed to help developers and designers work together with clients to deliver the best experience when building [modular/component based designs](http://alistapart.com/article/language-of-modular-design).

diff --git a/legacy/v3/field-types.md b/legacy/v3/field-types.md
index 6ff0715..3f9e8aa 100644
--- a/legacy/v3/field-types.md
+++ b/legacy/v3/field-types.md
@@ -32,7 +32,7 @@ $form->password('Your Password');
## Hidden
-This field should always go at the top or bottom of a form to prevent formating issues.
+This field should always go at the top or bottom of a form to prevent formatting issues.
```php
$form->hidden('Hidden Field');
@@ -360,7 +360,7 @@ Here is an example for a component named "Banner":
- `resources/components/page_builder/banner.php` - Backend fields.
- `wordpress/assets/components/page_builder/banner.png` - Thumbnail.
-### Using a compnent
+### Using a component
Once the files are created you can begin adding code to the front end and backend files. For example, the "Content" component.
diff --git a/legacy/v3/forms.md b/legacy/v3/forms.md
index dced675..c83f3c8 100644
--- a/legacy/v3/forms.md
+++ b/legacy/v3/forms.md
@@ -433,7 +433,7 @@ Take a look at a quick example of instancing a `Form` with a resource, action an
if( current_user_can( 'read' ) ) {
$form = tr_form('user', 'update', get_current_user_id());
$form->open();
- $form->text('Github Handle');
+ $form->text('GitHub Handle');
$form->close('Save Changes');
}
```
diff --git a/legacy/v3/ioc-resolver.md b/legacy/v3/ioc-resolver.md
index 69fb32f..58b94e6 100644
--- a/legacy/v3/ioc-resolver.md
+++ b/legacy/v3/ioc-resolver.md
@@ -1,11 +1,11 @@
Title: IoC Resolver
-Description: Inversion of control resolver automatically tries to instance a class with its dependancies.
+Description: Inversion of control resolver automatically tries to instance a class with its dependencies.
---
## IoC Resolver
-The inversion of control resolver automatically tries to instance a class with its dependancies. The `Resolver` object will look at a classes constructor and automatically inject its dependencies.
+The inversion of control resolver automatically tries to instance a class with its dependencies. The `Resolver` object will look at a classes constructor and automatically inject its dependencies.
## Resolving
diff --git a/legacy/v3/post-types.md b/legacy/v3/post-types.md
index 4cbef81..e28015b 100644
--- a/legacy/v3/post-types.md
+++ b/legacy/v3/post-types.md
@@ -265,7 +265,7 @@ $person->addColumn('Job Title');
*If the custom field is grouped then you need to use the base group name.*
-The `addColum()` method takes up to 5 aurguments.
+The `addColumn()` method takes up to 5 aurguments.
1. `field` - The name of the field to add. You can use any string format but lowercase letters and `_` (underscores) should be used for precision.
2. `sort` - The column is sortable `true` or `false`.
diff --git a/v1/automatic-updates.md b/v1/automatic-updates.md
index 4a77030..d93f9d1 100644
--- a/v1/automatic-updates.md
+++ b/v1/automatic-updates.md
@@ -47,7 +47,7 @@ The required endpoint format is JSON.
"sections": {
"description": "
My plugin
",
"installation": "Install things this way...
",
- "changelog": "1.0.0 "
+ "changelog": "1.0.0 "
},
"download_url": "https://example.com/downloads/latest-version.zip",
"last_updated": "2020-01-01 14:59:53"
diff --git a/v1/composer-install.md b/v1/composer-install.md
index 7b1b0d0..5db6c64 100644
--- a/v1/composer-install.md
+++ b/v1/composer-install.md
@@ -45,7 +45,7 @@ For beginners, the MU install is the fittest place to start.
### 2.1 MU Install
-From the command line, go to your `wordpress/wp-content/mu-plugins` folder. Then, replace `YOUR_URL_HERE` in the following command with the "Composer URL" from your acount page and run it:
+From the command line, go to your `wordpress/wp-content/mu-plugins` folder. Then, replace `YOUR_URL_HERE` in the following command with the "Composer URL" from your account page and run it:
```
composer create-project --prefer-dist typerocket/pro typerocket --add-repository --repository=YOUR_URL_HERE
diff --git a/v1/curl-client.md b/v1/curl-client.md
index 01079a6..8ffb088 100644
--- a/v1/curl-client.md
+++ b/v1/curl-client.md
@@ -10,10 +10,10 @@ Description: A simple cURL client.
TypeRocket provides a simple [cURL](https://www.php.net/manual/en/book.curl.php) Http client. Take a look at sending a POST request.
```php
-$url = 'https://exmaple.com';
+$url = 'https://example.com';
$data = [
'app' => 'TypeRocket',
- 'downlaods' => '10000',
+ 'downloads' => '10000',
];
$json = true; // Make request as JSON
diff --git a/v1/field-types.md b/v1/field-types.md
index 7986715..5560f2e 100644
--- a/v1/field-types.md
+++ b/v1/field-types.md
@@ -594,7 +594,7 @@ Here is an example of a component named "Banner":
- `resources/components/page_builder/banner.php` - Backend fields.
- `wordpress/assets/components/page_builder/banner.png` - Thumbnail.
-### Using a compnent
+### Using a component
Once the files are created, you can begin adding code to the front end and backend files. For example, the "Content" component.
diff --git a/v1/fields.md b/v1/fields.md
index 7a0b453..4e3bf59 100644
--- a/v1/fields.md
+++ b/v1/fields.md
@@ -81,7 +81,7 @@ $name = $field->getName();
## Groups
-*Note: Field and From groups are independant.*
+*Note: Field and From groups are independent.*
There are times when you want to have fields grouped together when being saved. A great case for this is when you are saving data to `wp_options` using the `OptionController`.
diff --git a/v1/forms.md b/v1/forms.md
index a595cd4..383b56d 100644
--- a/v1/forms.md
+++ b/v1/forms.md
@@ -219,7 +219,7 @@ echo $form->text('First Name');
### Setting the Model
-If you need to set the data resource after the a `Form` obejct is initalized use the `setModel()` method. You can pass and `array` or `Model` into this method. you can also pass the `string` class name or a model.
+If you need to set the data resource after the a `Form` object is initialized use the `setModel()` method. You can pass and `array` or `Model` into this method. you can also pass the `string` class name or a model.
```php
$form->setModel(['first_name' => 'John']);
@@ -251,7 +251,7 @@ You could also omit the `create` action because TypeRocket automatically reasons
```php
// Also, sends a POST request with the
-// action omited. TypeRocket magic.
+// action omitted. TypeRocket magic.
$form = tr_form('post');
```
@@ -708,7 +708,7 @@ echo $form->section([
In some cases, you want fields grouped into a ``. This can be for styling with CSS or when you want to toggle a group of fields with conditionals. To make a section use the `fieldset()` method.
```php
-echo $form->fieldset('Title', 'A desription.', [
+echo $form->fieldset('Title', 'A description.', [
$form->text('First'),
$form->text('Last')
]);
diff --git a/v1/front-end-mode.md b/v1/front-end-mode.md
index be50f80..495feef 100644
--- a/v1/front-end-mode.md
+++ b/v1/front-end-mode.md
@@ -31,7 +31,7 @@ You can use a [form](/docs/v1/forms/) on the front-end of your site and have it
For example, if you have the following route in your `routes/public.php` file.
```php
-tr_route()->put()->do('/seats/*', funcion($id) {
+tr_route()->put()->do('/seats/*', function($id) {
tr_frontend_enable();
$form = tr_form('seat', $id)->toUrl('/seats/'.$id.'/');
return tr_view('my.view.file', compact('id', 'form'));
diff --git a/v1/ioc-resolver.md b/v1/ioc-resolver.md
index a87b82a..7544ded 100644
--- a/v1/ioc-resolver.md
+++ b/v1/ioc-resolver.md
@@ -1,5 +1,5 @@
Title: Services & DI Container
-Description: Inversion of control resolver automatically tries to instance a class with its dependancies.
+Description: Inversion of control resolver automatically tries to instance a class with its dependencies.
---
@@ -63,7 +63,7 @@ You can then access the service instance using `tr_service('MyService')`. If you
Register a class to the DI Container.
```php
-// singlton and alias are both optional arguments
+// singleton and alias are both optional arguments
$singleton = true;
$alias = 'my.class';
diff --git a/v1/menu-fields.md b/v1/menu-fields.md
index 7505b1c..f7163e1 100644
--- a/v1/menu-fields.md
+++ b/v1/menu-fields.md
@@ -3,7 +3,7 @@ Description: Add custom fields to menu items in WordPress 5.4+.
---
-## Requirments
+## Requirements
Adding menu item fields is possible in **WordPress 5.4+** with the addition of the `wp_nav_menu_item_custom_fields` action hook. Prior to WordPress 5.4, adding custom fields to menu items was not possible without creating major conflicts between plugins.
diff --git a/v1/meta-boxes.md b/v1/meta-boxes.md
index f8ea35f..d64f2fe 100644
--- a/v1/meta-boxes.md
+++ b/v1/meta-boxes.md
@@ -191,7 +191,7 @@ To disable a metabox in Gutenberg.
$box->gutenbergOff();
```
-### Compatability Flags
+### Compatibility Flags
In WordPress 5.3 Gutenberg compatibility flags were added.
diff --git a/v1/models.md b/v1/models.md
index 148c154..f6a9af4 100644
--- a/v1/models.md
+++ b/v1/models.md
@@ -199,7 +199,7 @@ class Doc extends Model
## Format
-To format a model's values before it is saved, use the `$format` property. Formating can be used to sanitize data being saved to the database.
+To format a model's values before it is saved, use the `$format` property. Formatting can be used to sanitize data being saved to the database.
```php
class Doc extends Model
diff --git a/v1/nginx.md b/v1/nginx.md
index ed7638e..c37a377 100644
--- a/v1/nginx.md
+++ b/v1/nginx.md
@@ -12,4 +12,4 @@ We encountered an issue where TypeRocket’s page builder interface kept throwin
fastcgi_param PATH_INFO $fastcgi_path_info;
```
-This omission was resulting in the URL rewrite functionality, which Wordpress uses a great deal, to behave inconsistently. Adding the correct entry to the site’s Nginx config in the` location ~ \.php$ {}` block resolved the error. Alternatively, adding this entry to the server’s `fastcgi_params` file (usually located at `etc/nginx/fastcgi_params`), will also fix the problem for all Nginx & PHP-FPM sites on the server. Nginx & PHP-FPM will need to be restarted after this adjustment is made to either the site config or the global fastcgi_params config.
\ No newline at end of file
+This omission was resulting in the URL rewrite functionality, which WordPress uses a great deal, to behave inconsistently. Adding the correct entry to the site’s Nginx config in the` location ~ \.php$ {}` block resolved the error. Alternatively, adding this entry to the server’s `fastcgi_params` file (usually located at `etc/nginx/fastcgi_params`), will also fix the problem for all Nginx & PHP-FPM sites on the server. Nginx & PHP-FPM will need to be restarted after this adjustment is made to either the site config or the global fastcgi_params config.
\ No newline at end of file
diff --git a/v1/post-types-ui.md b/v1/post-types-ui.md
index bae51f8..d5599ab 100644
--- a/v1/post-types-ui.md
+++ b/v1/post-types-ui.md
@@ -19,6 +19,6 @@ You can also move the menu location of the Post Types UI to another location by
// Add to the tools menu
define('TR_POST_TYPES_MENU', 'tools');
-// Add to the setings menu
+// Add to the settings menu
define('TR_POST_TYPES_MENU', 'settings');
```
\ No newline at end of file
diff --git a/v1/post-types.md b/v1/post-types.md
index fb9e7f3..b02a283 100644
--- a/v1/post-types.md
+++ b/v1/post-types.md
@@ -298,7 +298,7 @@ $book->apply( [$bookDetails, $publisher] );
To apply a taxonomy that already exists use the `addTaxonomy()` method and pass the taxonomies ID as a parameter.
```php
-$book->addTaxonomy('categoy');
+$book->addTaxonomy('category');
$book->addTaxonomy('post_tag');
```
@@ -364,7 +364,7 @@ $person->addColumn('Job Title');
*If the custom field is grouped then you need to use the base group name.*
-The `addColum()` method takes up to 4 aurguments.
+The `addColumn()` method takes up to 4 aurguments.
1. `field` - The name of the field to add. You can use any string format but lowercase letters and `_` (underscores) should be used for precision.
2. `sort_by` - The column is sortable `true` or `false`. Doubles as order_by when string value is passed. String options include: `int`, `double`, `date`, `datetime`, `time`, and `str`.
diff --git a/v1/redirects.md b/v1/redirects.md
index 59a1e1f..c5ef5e8 100644
--- a/v1/redirects.md
+++ b/v1/redirects.md
@@ -147,7 +147,7 @@ tr_redirect_errors();
## With Flash
-Redirect with WordPresss admin flash message. Works with the TypeRocket REST API. Types include: `success`, `error`, and `warning`.
+Redirect with WordPress admin flash message. Works with the TypeRocket REST API. Types include: `success`, `error`, and `warning`.
```php
$type = 'success';
diff --git a/v1/requests.md b/v1/requests.md
index 961b304..9450dad 100644
--- a/v1/requests.md
+++ b/v1/requests.md
@@ -128,7 +128,7 @@ $request->getHeader('ACCEPT');
## Get Accepts
```php
-$rquest->getAccepts();
+$request->getAccepts();
// Returns and array
```
@@ -137,7 +137,7 @@ $rquest->getAccepts();
If you need to search the content type, a request accepts in return.
```php
-$rquest->acceptContains('application/json');
+$request->acceptContains('application/json');
```
Or, you can use the shorthand `wants()`. This method accepts the following options:
@@ -150,17 +150,17 @@ Or, you can use the shorthand `wants()`. This method accepts the following optio
- image
```php
-$rquest->wants('json');
+$request->wants('json');
```
## GET & POST Data
```php
-$all = $rquest->getDataPost();
-$single = $rquest->getDataPost('page');
+$all = $request->getDataPost();
+$single = $request->getDataPost('page');
-$all = $rquest->getDataGet();
-$single = $rquest->getDataGet('page');
+$all = $request->getDataGet();
+$single = $request->getDataGet('page');
```
## Get Input
@@ -198,14 +198,14 @@ $body = $request->getDataJson();
## Get Files
```php
-$rquest->getDataFiles();
+$request->getDataFiles();
```
## Get Cookies
```php
$all = $request->getDataCookies();
-$single = $rquest->getDataCookies('my_cookie');
+$single = $request->getDataCookies('my_cookie');
```
## Check Nonce
diff --git a/v1/routes.md b/v1/routes.md
index a924e8b..e5dc7a3 100644
--- a/v1/routes.md
+++ b/v1/routes.md
@@ -171,7 +171,7 @@ tr_route()->get()->match('login')->do('login@Member');
The action component, `login`, of this shorthand calls the `login()` method of the controller; and the `Member` string selects `\App\Controllers\MemberController` as the controller.
-#### Contoller Override
+#### Controller Override
You can override what controller is used by using the full class name of the controller.
diff --git a/v1/theme-templating.md b/v1/theme-templating.md
index ede0375..3adeb08 100644
--- a/v1/theme-templating.md
+++ b/v1/theme-templating.md
@@ -19,7 +19,7 @@ In WordPress, the theme templates do three things:
For example, if your theme has a `single-post.php` template file, all requests for a "single blog post" will be routed to that template file. The file will also control the logic flow and display the view for the page. This bundling of responsibilities is not ideal as it can lead to numerous bugs and scalability issues.
-On the other hand, TypeRocket's template router seamlessly integrates into the WordPress template hierarchy pattern allowing you to use the MVC pattern while maintaining backward compatibility withing WordPress. Using the TypeRocket template router has several advantages:
+On the other hand, TypeRocket's template router seamlessly integrates into the WordPress template hierarchy pattern allowing you to use the MVC pattern while maintaining backward compatibility within WordPress. Using the TypeRocket template router has several advantages:
- WordPress core templates only allow for 400 error handling. The template router allows for 500, 401, 403, or any other error templates to be used.
- Takes your view out of the global scope, greatly reducing your chances of variable naming collisions, thus reducing the odds for bugs.
@@ -134,7 +134,7 @@ The main benefit of using models over the WordPress loops, in our view, will be
## Replacing The WP Loop
-Now, we can begin replacing the WordPress loop and use the modern pattern of MVC. Back in the `BlogContoller` add the following constructor.
+Now, we can begin replacing the WordPress loop and use the modern pattern of MVC. Back in the `BlogController` add the following constructor.
```php
class BlogController extends TemplateController
diff --git a/v1/webpack.md b/v1/webpack.md
index d721406..fedd471 100644
--- a/v1/webpack.md
+++ b/v1/webpack.md
@@ -40,7 +40,7 @@ npm run prod
## Versioning
-TypeRocket Pro supports with versioning for Webpack files that use the `verson()` method. You can use the `tr_manifest_cache()` method to locate your `mix-manifest.json` file.
+TypeRocket Pro supports with versioning for Webpack files that use the `version()` method. You can use the `tr_manifest_cache()` method to locate your `mix-manifest.json` file.
```php
// Define Theme Directory
diff --git a/v4/builder.md b/v4/builder.md
index dc73650..eba7c91 100644
--- a/v4/builder.md
+++ b/v4/builder.md
@@ -20,7 +20,7 @@ If you installed TypeRocket manually follow these steps:
## About Page Builder
-The page builder plugin was designed to help developers and designers work together with clients to deliver the best experience when building [modular/component based designes](http://alistapart.com/article/language-of-modular-design).
+The page builder plugin was designed to help developers and designers work together with clients to deliver the best experience when building [modular/component based designs](http://alistapart.com/article/language-of-modular-design).

diff --git a/v4/custom-composer-packages.md b/v4/custom-composer-packages.md
index 1b2709b..4e9ccda 100644
--- a/v4/custom-composer-packages.md
+++ b/v4/custom-composer-packages.md
@@ -3,7 +3,7 @@ Description: Make your own TypeRocket composer packages.
---
-## TypeRocket Compatable Composer Packages
+## TypeRocket Compatible Composer Packages
You can create your own custom composer pages that are compatible with TypeRocket. When you do TypeRocket comes with a Galaxy CLI command to help you publish your plugin (this is like activating a plugin in WordPress).
diff --git a/v4/custom-resources.md b/v4/custom-resources.md
index b109caa..cf4b20a 100644
--- a/v4/custom-resources.md
+++ b/v4/custom-resources.md
@@ -283,7 +283,7 @@ public function add() {
}
```
-If you encouter issues keep in mind the TypeRocket JSON API requires strict adherence to the controller action naming scheme: `showRest`, `create`, `update`, and `destroy`.
+If you encounter issues keep in mind the TypeRocket JSON API requires strict adherence to the controller action naming scheme: `showRest`, `create`, `update`, and `destroy`.
diff --git a/v4/field-types.md b/v4/field-types.md
index f426a95..4c1ab3c 100644
--- a/v4/field-types.md
+++ b/v4/field-types.md
@@ -473,7 +473,7 @@ Here is an example of a component named "Banner":
- `resources/components/page_builder/banner.php` - Backend fields.
- `wordpress/assets/components/page_builder/banner.png` - Thumbnail.
-### Using a compnent
+### Using a component
Once the files are created you can begin adding code to the front end and backend files. For example, the "Content" component.
diff --git a/v4/forms.md b/v4/forms.md
index c2b4503..94a0b15 100644
--- a/v4/forms.md
+++ b/v4/forms.md
@@ -436,7 +436,7 @@ Take a look at a quick example of instancing a `Form` with a resource, action an
if( current_user_can( 'read' ) ) {
$form = tr_form('user', 'update', get_current_user_id());
$form->open();
- $form->text('Github Handle');
+ $form->text('GitHub Handle');
$form->close('Save Changes');
}
```
diff --git a/v4/ioc-resolver.md b/v4/ioc-resolver.md
index 953201f..56132b5 100644
--- a/v4/ioc-resolver.md
+++ b/v4/ioc-resolver.md
@@ -1,5 +1,5 @@
Title: DI Container
-Description: Inversion of control resolver automatically tries to instance a class with its dependancies.
+Description: Inversion of control resolver automatically tries to instance a class with its dependencies.
---
@@ -8,7 +8,7 @@ Description: Inversion of control resolver automatically tries to instance a cla
Register a class to the DI Container.
```php
-// singlton and alias are both optional arguments
+// singleton and alias are both optional arguments
$singleton = true;
$alias = 'my.class';
diff --git a/v4/json-api.md b/v4/json-api.md
index e3311a9..7c437c2 100644
--- a/v4/json-api.md
+++ b/v4/json-api.md
@@ -17,7 +17,7 @@ tr_form('book', 'create')->useJson();
The JSON API passes through the [Kernel](https://typerocket.com/docs/v4/kernel/) [middleware](https://typerocket.com/docs/v4/middleware/) for enhanced security. Modifications made to the Kernel will impact the JSON API.
-If you encouter issues keep in mind the TypeRocket JSON API requires strict adherence to the controller action naming scheme: `showRest`, `create`, `update`, and `destroy`.
+If you encounter issues keep in mind the TypeRocket JSON API requires strict adherence to the controller action naming scheme: `showRest`, `create`, `update`, and `destroy`.
## Register Resources
diff --git a/v4/post-types.md b/v4/post-types.md
index ebdcf04..bfdf6ed 100644
--- a/v4/post-types.md
+++ b/v4/post-types.md
@@ -238,7 +238,7 @@ $book->apply( [$bookDetails, $publisher] );
To apply a taxonomy that already exists use the `addTaxonomy()` method and pass the taxonomies ID as a parameter.
```php
-$book->addTaxonomy('categoy');
+$book->addTaxonomy('category');
$book->addTaxonomy('post_tag');
```
@@ -304,7 +304,7 @@ $person->addColumn('Job Title');
*If the custom field is grouped then you need to use the base group name.*
-The `addColum()` method takes up to 5 aurguments.
+The `addColumn()` method takes up to 5 aurguments.
1. `field` - The name of the field to add. You can use any string format but lowercase letters and `_` (underscores) should be used for precision.
2. `sort` - The column is sortable `true` or `false`.
diff --git a/v4/routes.md b/v4/routes.md
index 3b2f77f..2794ac9 100644
--- a/v4/routes.md
+++ b/v4/routes.md
@@ -156,7 +156,7 @@ tr_route()
In many cases, the regex capture group `(.+)` will be aggressively greedy. It is better to use a stricter capture group pattern like `([^\/]+)`.
-The capture group `([^\/]+)` is the recommened regex pattern.
+The capture group `([^\/]+)` is the recommended regex pattern.
*Note: The capture group `(.+)` is used in our examples for help readability of the documentation.*
@@ -292,7 +292,7 @@ tr_route()->get()->match('login')->do('login@Member');
The action component, `login`, of this quick route declaration calls the `login()` method of the controller; and the resource component, `Member`, selects `\App\Controllers\MemberController` as the controller and set the middleware group to `member` in the `Kernel`.
-### Contoller Override
+### Controller Override
By default, TypeRocket uses the resource declaration of in the route `do()` method to automatically load the correct controller for that route. For example, `tr_route()->do('index@Post')` load the `\App\Controllers\PostController` controller. However, you can override what controller is used by including the controller component of the quick route declaration.
diff --git a/v5/automatic-updates.md b/v5/automatic-updates.md
index ae9beec..af5113b 100644
--- a/v5/automatic-updates.md
+++ b/v5/automatic-updates.md
@@ -52,7 +52,7 @@ The required endpoint format is JSON.
"sections": {
"description": "My plugin
",
"installation": "Install things this way...
",
- "changelog": "1.0.0 "
+ "changelog": "1.0.0 "
},
"download_url": "https://example.com/downloads/latest-version.zip",
"last_updated": "2020-01-01 14:59:53"
diff --git a/v5/curl-client.md b/v5/curl-client.md
index e20df5d..5b448b1 100644
--- a/v5/curl-client.md
+++ b/v5/curl-client.md
@@ -12,10 +12,10 @@ Description: A simple cURL client.
TypeRocket provides a simple [cURL](https://www.php.net/manual/en/book.curl.php) Http client. Take a look at sending a POST request.
```php
-$url = 'https://exmaple.com';
+$url = 'https://example.com';
$data = [
'app' => 'TypeRocket',
- 'downlaods' => '10000',
+ 'downloads' => '10000',
];
$json = true; // Make request as JSON
diff --git a/v5/extension-typerocket-ui.md b/v5/extension-typerocket-ui.md
index 89d8ff4..3e9844f 100644
--- a/v5/extension-typerocket-ui.md
+++ b/v5/extension-typerocket-ui.md
@@ -17,6 +17,6 @@ You can also move the menu location of the Post Types UI to another location by
// Add to the tools menu
define('TYPEROCKET_UI_MENU', 'tools');
-// Add to the setings menu
+// Add to the settings menu
define('TYPEROCKET_UI_MENU', 'settings');
```
diff --git a/v5/field-types.md b/v5/field-types.md
index d0dbdbe..8891b6c 100644
--- a/v5/field-types.md
+++ b/v5/field-types.md
@@ -285,7 +285,7 @@ $form->range('Years')->setMax(100)->setMin(0)->setStep(1);
$form->date('Release Date');
```
-You can set the date pickets format using `setFromat()` and passing any valid [jQuery date format](https://jqueryui.com/datepicker/#date-formats) setting.
+You can set the date pickets format using `setFormat()` and passing any valid [jQuery date format](https://jqueryui.com/datepicker/#date-formats) setting.
```php
$form->date('Release Date')->setFormat('mm/dd/yy');
diff --git a/v5/forms.md b/v5/forms.md
index 55fbd8a..7115788 100644
--- a/v5/forms.md
+++ b/v5/forms.md
@@ -219,7 +219,7 @@ echo $form->text('First Name');
### Setting the Model
-If you need to set the data resource after the a `Form` obejct is initalized use the `setModel()` method. You can pass and `array` or `Model` into this method. you can also pass the `string` class name or a model.
+If you need to set the data resource after the a `Form` object is initialized use the `setModel()` method. You can pass and `array` or `Model` into this method. you can also pass the `string` class name or a model.
```php
$form->setModel(['first_name' => 'John']);
@@ -251,7 +251,7 @@ You could also omit the `create` action because TypeRocket automatically reasons
```php
// Also, sends a POST request with the
-// action omited. TypeRocket magic.
+// action omitted. TypeRocket magic.
$form = tr_form('post');
```
diff --git a/v5/front-end-mode.md b/v5/front-end-mode.md
index bb24860..0d93b89 100644
--- a/v5/front-end-mode.md
+++ b/v5/front-end-mode.md
@@ -31,7 +31,7 @@ You can use a [form](/docs/v5/forms/) on the front-end of your site and have it
For example, if you have the following route in your `routes/public.php` file.
```php
-tr_route()->put()->do('/seats/*', funcion($id) {
+tr_route()->put()->do('/seats/*', function($id) {
tr_frontend_enable();
$form = tr_form('seat', $id)->toUrl('/seats/'.$id.'/');
return tr_view('my.view.file', compact('id', 'form'));
diff --git a/v5/ioc-resolver.md b/v5/ioc-resolver.md
index 1b13679..3a2e873 100644
--- a/v5/ioc-resolver.md
+++ b/v5/ioc-resolver.md
@@ -1,5 +1,5 @@
Title: Services & DI Container
-Description: Inversion of control resolver automatically tries to instance a class with its dependancies.
+Description: Inversion of control resolver automatically tries to instance a class with its dependencies.
---
@@ -64,7 +64,7 @@ You can then access the service instance using `tr_service('MyService')`. If you
Register a class to the DI Container.
```php
-// singlton and alias are both optional arguments
+// singleton and alias are both optional arguments
$singleton = true;
$alias = 'my.class';
diff --git a/v5/mail.md b/v5/mail.md
index d29db02..7ba9582 100644
--- a/v5/mail.md
+++ b/v5/mail.md
@@ -7,7 +7,7 @@ Description: Custom email system.
## Getting Started
-To WordPress send email WordPress provides the `wp_mail()` function. With new service `\TypeRocket\Services\MailerService` loaded in your `app.servies` config file you can extend the WordPress email system with additional mail drivers.
+To WordPress send email WordPress provides the `wp_mail()` function. With new service `\TypeRocket\Services\MailerService` loaded in your `app.services` config file you can extend the WordPress email system with additional mail drivers.
## Configuration
diff --git a/v5/models.md b/v5/models.md
index c9d8e98..1da6c13 100644
--- a/v5/models.md
+++ b/v5/models.md
@@ -244,7 +244,7 @@ class Doc extends Model
## Format
-To format a model's values before it is saved, use the `$format` property. Formating can be used to sanitize data being saved to the database.
+To format a model's values before it is saved, use the `$format` property. Formatting can be used to sanitize data being saved to the database.
```php
class Doc extends Model
diff --git a/v5/nginx.md b/v5/nginx.md
index ed7638e..c37a377 100644
--- a/v5/nginx.md
+++ b/v5/nginx.md
@@ -12,4 +12,4 @@ We encountered an issue where TypeRocket’s page builder interface kept throwin
fastcgi_param PATH_INFO $fastcgi_path_info;
```
-This omission was resulting in the URL rewrite functionality, which Wordpress uses a great deal, to behave inconsistently. Adding the correct entry to the site’s Nginx config in the` location ~ \.php$ {}` block resolved the error. Alternatively, adding this entry to the server’s `fastcgi_params` file (usually located at `etc/nginx/fastcgi_params`), will also fix the problem for all Nginx & PHP-FPM sites on the server. Nginx & PHP-FPM will need to be restarted after this adjustment is made to either the site config or the global fastcgi_params config.
\ No newline at end of file
+This omission was resulting in the URL rewrite functionality, which WordPress uses a great deal, to behave inconsistently. Adding the correct entry to the site’s Nginx config in the` location ~ \.php$ {}` block resolved the error. Alternatively, adding this entry to the server’s `fastcgi_params` file (usually located at `etc/nginx/fastcgi_params`), will also fix the problem for all Nginx & PHP-FPM sites on the server. Nginx & PHP-FPM will need to be restarted after this adjustment is made to either the site config or the global fastcgi_params config.
\ No newline at end of file
diff --git a/v5/plugins-making.md b/v5/plugins-making.md
index 2509253..3d470f7 100644
--- a/v5/plugins-making.md
+++ b/v5/plugins-making.md
@@ -56,7 +56,7 @@ The `app/MyPluginTypeRocketPlugin.php` class is where all of your custom code an
1. `init()` - Place all of your custom plugin code like WordPress hooks here. By default, TypeRocket includes the hooks needed to load your plugin's front-end assets and settings page.
2. `routes()` - Place your custom routes here instead of the main TypeRocket `public.php` routes file.
-3. `policies()` - If you are using policies in your plugin add them here not the `AuthSerivce` class (`AuthSerivce` can override your policies).
+3. `policies()` - If you are using policies in your plugin add them here not the `AuthService` class (`AuthService` can override your policies).
4. `activate()` - Place any activation code you need here. By default, any migrations will be run when the plugin is activated because of `migrateUp()` and permalink flushed because of `tr_update_site_state()`.
5. `deactivate()` - Place any deactivation code here. By default, permalinks will be flushed because of `tr_update_site_state()`.
6. `uninstall()` - Place nay uninstallation code here. By default, any migrations will be unwound because of `migrateDown()`. You may want to add your own `tr_update_site_state()` here as well.
diff --git a/v5/post-types.md b/v5/post-types.md
index 09595a3..ec52cde 100644
--- a/v5/post-types.md
+++ b/v5/post-types.md
@@ -434,7 +434,7 @@ $person->addColumn('Job Title');
*If the custom field is grouped then you need to use the base group name.*
-The `addColum()` method takes up to 4 aurguments.
+The `addColumn()` method takes up to 4 aurguments.
1. `field` - The name of the field to add. You can use any string format but lowercase letters and `_` (underscores) should be used for precision.
2. `sort_by` - The column is sortable `true` or `false`. Doubles as order_by when string value is passed. String options include: `int`, `double`, `date`, `datetime`, `time`, and `str`.
diff --git a/v5/redirects.md b/v5/redirects.md
index 3902ae7..3b121e0 100644
--- a/v5/redirects.md
+++ b/v5/redirects.md
@@ -157,7 +157,7 @@ tr_redirect_errors();
## With Flash
-Redirect with WordPresss admin flash message. Works with the TypeRocket REST API. Types include: `success`, `error`, and `warning`.
+Redirect with WordPress admin flash message. Works with the TypeRocket REST API. Types include: `success`, `error`, and `warning`.
```php
$type = 'success';
diff --git a/v5/requests.md b/v5/requests.md
index 82a3218..e37866a 100644
--- a/v5/requests.md
+++ b/v5/requests.md
@@ -152,7 +152,7 @@ $request->getHeader('ACCEPT');
## Get Accepts
```php
-$rquest->getAccepts();
+$request->getAccepts();
// Returns and array
```
@@ -161,7 +161,7 @@ $rquest->getAccepts();
If you need to search the content type, a request accepts in return.
```php
-$rquest->acceptContains('application/json');
+$request->acceptContains('application/json');
```
Or, you can use the shorthand `wants()`. This method accepts the following options:
@@ -174,17 +174,17 @@ Or, you can use the shorthand `wants()`. This method accepts the following optio
- image
```php
-$rquest->wants('json');
+$request->wants('json');
```
## GET & POST Data
```php
-$all = $rquest->getDataPost();
-$single = $rquest->getDataPost('page');
+$all = $request->getDataPost();
+$single = $request->getDataPost('page');
-$all = $rquest->getDataGet();
-$single = $rquest->getDataGet('page');
+$all = $request->getDataGet();
+$single = $request->getDataGet('page');
```
## Get Input
@@ -222,14 +222,14 @@ $body = $request->getDataJson();
## Get Files
```php
-$rquest->getDataFiles();
+$request->getDataFiles();
```
## Get Cookies
```php
$all = $request->getDataCookies();
-$single = $rquest->getDataCookies('my_cookie');
+$single = $request->getDataCookies('my_cookie');
```
## Check Nonce
diff --git a/v5/roles-capabilities.md b/v5/roles-capabilities.md
index 9a5d190..d51177c 100644
--- a/v5/roles-capabilities.md
+++ b/v5/roles-capabilities.md
@@ -17,7 +17,7 @@ tr_roles()->all();
## List Capabilities
-Get a list of all capabilities and their asigned roles.
+Get a list of all capabilities and their assigned roles.
```php
tr_roles()->capabilities();
diff --git a/v5/routes.md b/v5/routes.md
index ab30eec..c80e7ef 100644
--- a/v5/routes.md
+++ b/v5/routes.md
@@ -175,7 +175,7 @@ tr_route()->get()->match('login')->do('login@Member');
The action component, `login`, of this shorthand calls the `login()` method of the controller; and the `Member` string selects `\App\Controllers\MemberController` as the controller.
-#### Contoller Override
+#### Controller Override
You can override what controller is used by using the full class name of the controller.
diff --git a/v5/theme-templating.md b/v5/theme-templating.md
index 41bc60c..a4fb408 100644
--- a/v5/theme-templating.md
+++ b/v5/theme-templating.md
@@ -21,7 +21,7 @@ In WordPress, the theme templates do three things:
For example, if your theme has a `single-post.php` template file, all requests for a "single blog post" will be routed to that template file. The file will also control the logic flow and display the view for the page. This bundling of responsibilities is not ideal as it can lead to numerous bugs and scalability issues.
-On the other hand, TypeRocket's template router seamlessly integrates into the WordPress template hierarchy pattern allowing you to use the MVC pattern while maintaining backward compatibility withing WordPress. Using the TypeRocket template router has several advantages:
+On the other hand, TypeRocket's template router seamlessly integrates into the WordPress template hierarchy pattern allowing you to use the MVC pattern while maintaining backward compatibility within WordPress. Using the TypeRocket template router has several advantages:
- WordPress core templates only allow for 400 error handling. The template router allows for 500, 401, 403, or any other error templates to be used.
- Takes your view out of the global scope, greatly reducing your chances of variable naming collisions, thus reducing the odds for bugs.
@@ -168,7 +168,7 @@ The main benefit of using models over the WordPress loops, in our view, will be
## Replacing The WP Loop
-Now, we can begin replacing the WordPress loop and use the modern pattern of MVC. Back in the `BlogContoller` add the following constructor.
+Now, we can begin replacing the WordPress loop and use the modern pattern of MVC. Back in the `BlogController` add the following constructor.
```php
class BlogController extends TemplateController
@@ -306,7 +306,7 @@ The Tachyon template system also provides an includes system for partial templat
The `include()` method takes up to 3 arguments:
-1. **View** - View's dot syntax path or a full file path wth file extension.
+1. **View** - View's dot syntax path or a full file path with file extension.
2. **Data** (optional) - An associative array with the data to pass into the included view.
3. **Extension** (optional) - A replacement file extension for the dot syntax path. This is only useful in very custom situations.
diff --git a/v5/webpack.md b/v5/webpack.md
index d721406..fedd471 100644
--- a/v5/webpack.md
+++ b/v5/webpack.md
@@ -40,7 +40,7 @@ npm run prod
## Versioning
-TypeRocket Pro supports with versioning for Webpack files that use the `verson()` method. You can use the `tr_manifest_cache()` method to locate your `mix-manifest.json` file.
+TypeRocket Pro supports with versioning for Webpack files that use the `version()` method. You can use the `tr_manifest_cache()` method to locate your `mix-manifest.json` file.
```php
// Define Theme Directory
diff --git a/v6/automatic-updates.md b/v6/automatic-updates.md
index 1e11762..f21bd65 100644
--- a/v6/automatic-updates.md
+++ b/v6/automatic-updates.md
@@ -52,7 +52,7 @@ The required endpoint format is JSON.
"sections": {
"description": "My plugin
",
"installation": "Install things this way...
",
- "changelog": "1.0.0 "
+ "changelog": "1.0.0 "
},
"download_url": "https://example.com/downloads/latest-version.zip",
"last_updated": "2020-01-01 14:59:53"
diff --git a/v6/curl-client.md b/v6/curl-client.md
index edfa70b..baeec52 100644
--- a/v6/curl-client.md
+++ b/v6/curl-client.md
@@ -12,10 +12,10 @@ Description: A simple cURL client.
TypeRocket provides a simple [cURL](https://www.php.net/manual/en/book.curl.php) Http client. Take a look at sending a POST request.
```php
-$url = 'https://exmaple.com';
+$url = 'https://example.com';
$data = [
'app' => 'TypeRocket',
- 'downlaods' => '10000',
+ 'downloads' => '10000',
];
$json = true; // Make request as JSON
diff --git a/v6/extension-typerocket-ui.md b/v6/extension-typerocket-ui.md
index 89d8ff4..3e9844f 100644
--- a/v6/extension-typerocket-ui.md
+++ b/v6/extension-typerocket-ui.md
@@ -17,6 +17,6 @@ You can also move the menu location of the Post Types UI to another location by
// Add to the tools menu
define('TYPEROCKET_UI_MENU', 'tools');
-// Add to the setings menu
+// Add to the settings menu
define('TYPEROCKET_UI_MENU', 'settings');
```
diff --git a/v6/field-types.md b/v6/field-types.md
index 6aef0da..890f30c 100644
--- a/v6/field-types.md
+++ b/v6/field-types.md
@@ -285,7 +285,7 @@ $form->range('Years')->setMax(100)->setMin(0)->setStep(1);
$form->date('Release Date');
```
-You can set the date pickets format using `setFromat()` and passing any valid [jQuery date format](https://jqueryui.com/datepicker/#date-formats) setting.
+You can set the date pickets format using `setFormat()` and passing any valid [jQuery date format](https://jqueryui.com/datepicker/#date-formats) setting.
```php
$form->date('Release Date')->setFormat('mm/dd/yy');
diff --git a/v6/forms.md b/v6/forms.md
index 9cf7ab5..e1342bf 100644
--- a/v6/forms.md
+++ b/v6/forms.md
@@ -219,7 +219,7 @@ echo $form->text('First Name');
### Setting the Model
-If you need to set the data resource after the a `Form` obejct is initalized use the `setModel()` method. You can pass and `array` or `Model` into this method. you can also pass the `string` class name or a model.
+If you need to set the data resource after the a `Form` object is initialized use the `setModel()` method. You can pass and `array` or `Model` into this method. you can also pass the `string` class name or a model.
```php
$form->setModel(['first_name' => 'John']);
@@ -251,7 +251,7 @@ You could also omit the `create` action because TypeRocket automatically reasons
```php
// Also, sends a POST request with the
-// action omited. TypeRocket magic.
+// action omitted. TypeRocket magic.
$form = tr_form('post');
```
diff --git a/v6/front-end-mode.md b/v6/front-end-mode.md
index af19149..57b86d1 100644
--- a/v6/front-end-mode.md
+++ b/v6/front-end-mode.md
@@ -31,7 +31,7 @@ You can use a [form](/docs/v6/forms/) on the front-end of your site and have it
For example, if you have the following route in your `routes/public.php` file.
```php
-tr_route()->put()->do('/seats/*', funcion($id) {
+tr_route()->put()->do('/seats/*', function($id) {
tr_frontend_enable();
$form = tr_form('seat', $id)->toUrl('/seats/'.$id.'/');
return tr_view('my.view.file', compact('id', 'form'));
diff --git a/v6/ioc-resolver.md b/v6/ioc-resolver.md
index 1b13679..3a2e873 100644
--- a/v6/ioc-resolver.md
+++ b/v6/ioc-resolver.md
@@ -1,5 +1,5 @@
Title: Services & DI Container
-Description: Inversion of control resolver automatically tries to instance a class with its dependancies.
+Description: Inversion of control resolver automatically tries to instance a class with its dependencies.
---
@@ -64,7 +64,7 @@ You can then access the service instance using `tr_service('MyService')`. If you
Register a class to the DI Container.
```php
-// singlton and alias are both optional arguments
+// singleton and alias are both optional arguments
$singleton = true;
$alias = 'my.class';
diff --git a/v6/mail.md b/v6/mail.md
index 045ad08..fd55a35 100644
--- a/v6/mail.md
+++ b/v6/mail.md
@@ -7,7 +7,7 @@ Description: Custom email system.
## Getting Started
-To WordPress send email WordPress provides the `wp_mail()` function. With new service `\TypeRocket\Services\MailerService` loaded in your `app.servies` config file you can extend the WordPress email system with additional mail drivers.
+To WordPress send email WordPress provides the `wp_mail()` function. With new service `\TypeRocket\Services\MailerService` loaded in your `app.services` config file you can extend the WordPress email system with additional mail drivers.
## Configuration
diff --git a/v6/models.md b/v6/models.md
index 6853306..26cf0e5 100644
--- a/v6/models.md
+++ b/v6/models.md
@@ -244,7 +244,7 @@ class Doc extends Model
## Format
-To format a model's values before it is saved, use the `$format` property. Formating can be used to sanitize data being saved to the database.
+To format a model's values before it is saved, use the `$format` property. Formatting can be used to sanitize data being saved to the database.
```php
class Doc extends Model
diff --git a/v6/nginx.md b/v6/nginx.md
index ed7638e..c37a377 100644
--- a/v6/nginx.md
+++ b/v6/nginx.md
@@ -12,4 +12,4 @@ We encountered an issue where TypeRocket’s page builder interface kept throwin
fastcgi_param PATH_INFO $fastcgi_path_info;
```
-This omission was resulting in the URL rewrite functionality, which Wordpress uses a great deal, to behave inconsistently. Adding the correct entry to the site’s Nginx config in the` location ~ \.php$ {}` block resolved the error. Alternatively, adding this entry to the server’s `fastcgi_params` file (usually located at `etc/nginx/fastcgi_params`), will also fix the problem for all Nginx & PHP-FPM sites on the server. Nginx & PHP-FPM will need to be restarted after this adjustment is made to either the site config or the global fastcgi_params config.
\ No newline at end of file
+This omission was resulting in the URL rewrite functionality, which WordPress uses a great deal, to behave inconsistently. Adding the correct entry to the site’s Nginx config in the` location ~ \.php$ {}` block resolved the error. Alternatively, adding this entry to the server’s `fastcgi_params` file (usually located at `etc/nginx/fastcgi_params`), will also fix the problem for all Nginx & PHP-FPM sites on the server. Nginx & PHP-FPM will need to be restarted after this adjustment is made to either the site config or the global fastcgi_params config.
\ No newline at end of file
diff --git a/v6/plugins-making.md b/v6/plugins-making.md
index 2509253..3d470f7 100644
--- a/v6/plugins-making.md
+++ b/v6/plugins-making.md
@@ -56,7 +56,7 @@ The `app/MyPluginTypeRocketPlugin.php` class is where all of your custom code an
1. `init()` - Place all of your custom plugin code like WordPress hooks here. By default, TypeRocket includes the hooks needed to load your plugin's front-end assets and settings page.
2. `routes()` - Place your custom routes here instead of the main TypeRocket `public.php` routes file.
-3. `policies()` - If you are using policies in your plugin add them here not the `AuthSerivce` class (`AuthSerivce` can override your policies).
+3. `policies()` - If you are using policies in your plugin add them here not the `AuthService` class (`AuthService` can override your policies).
4. `activate()` - Place any activation code you need here. By default, any migrations will be run when the plugin is activated because of `migrateUp()` and permalink flushed because of `tr_update_site_state()`.
5. `deactivate()` - Place any deactivation code here. By default, permalinks will be flushed because of `tr_update_site_state()`.
6. `uninstall()` - Place nay uninstallation code here. By default, any migrations will be unwound because of `migrateDown()`. You may want to add your own `tr_update_site_state()` here as well.
diff --git a/v6/post-types.md b/v6/post-types.md
index 45826b8..ffec708 100644
--- a/v6/post-types.md
+++ b/v6/post-types.md
@@ -434,7 +434,7 @@ $person->addColumn('Job Title');
*If the custom field is grouped then you need to use the base group name.*
-The `addColum()` method takes up to 4 aurguments.
+The `addColumn()` method takes up to 4 aurguments.
1. `field` - The name of the field to add. You can use any string format but lowercase letters and `_` (underscores) should be used for precision.
2. `sort_by` - The column is sortable `true` or `false`. Doubles as order_by when string value is passed. String options include: `int`, `double`, `date`, `datetime`, `time`, and `str`.
diff --git a/v6/redirects.md b/v6/redirects.md
index 42bd028..4d66610 100644
--- a/v6/redirects.md
+++ b/v6/redirects.md
@@ -157,7 +157,7 @@ tr_redirect_errors();
## With Flash
-Redirect with WordPresss admin flash message. Works with the TypeRocket REST API. Types include: `success`, `error`, and `warning`.
+Redirect with WordPress admin flash message. Works with the TypeRocket REST API. Types include: `success`, `error`, and `warning`.
```php
$type = 'success';
diff --git a/v6/requests.md b/v6/requests.md
index 82a3218..e37866a 100644
--- a/v6/requests.md
+++ b/v6/requests.md
@@ -152,7 +152,7 @@ $request->getHeader('ACCEPT');
## Get Accepts
```php
-$rquest->getAccepts();
+$request->getAccepts();
// Returns and array
```
@@ -161,7 +161,7 @@ $rquest->getAccepts();
If you need to search the content type, a request accepts in return.
```php
-$rquest->acceptContains('application/json');
+$request->acceptContains('application/json');
```
Or, you can use the shorthand `wants()`. This method accepts the following options:
@@ -174,17 +174,17 @@ Or, you can use the shorthand `wants()`. This method accepts the following optio
- image
```php
-$rquest->wants('json');
+$request->wants('json');
```
## GET & POST Data
```php
-$all = $rquest->getDataPost();
-$single = $rquest->getDataPost('page');
+$all = $request->getDataPost();
+$single = $request->getDataPost('page');
-$all = $rquest->getDataGet();
-$single = $rquest->getDataGet('page');
+$all = $request->getDataGet();
+$single = $request->getDataGet('page');
```
## Get Input
@@ -222,14 +222,14 @@ $body = $request->getDataJson();
## Get Files
```php
-$rquest->getDataFiles();
+$request->getDataFiles();
```
## Get Cookies
```php
$all = $request->getDataCookies();
-$single = $rquest->getDataCookies('my_cookie');
+$single = $request->getDataCookies('my_cookie');
```
## Check Nonce
diff --git a/v6/roles-capabilities.md b/v6/roles-capabilities.md
index 334f44d..9c51114 100644
--- a/v6/roles-capabilities.md
+++ b/v6/roles-capabilities.md
@@ -17,7 +17,7 @@ tr_roles()->all();
## List Capabilities
-Get a list of all capabilities and their asigned roles.
+Get a list of all capabilities and their assigned roles.
```php
tr_roles()->capabilities();
diff --git a/v6/routes.md b/v6/routes.md
index e511088..dcb0ee5 100644
--- a/v6/routes.md
+++ b/v6/routes.md
@@ -177,7 +177,7 @@ tr_route()->get()->match('login')->do('login@Member');
The action component, `login`, of this shorthand calls the `login()` method of the controller; and the `Member` string selects `\App\Controllers\MemberController` as the controller.
-#### Contoller Override
+#### Controller Override
You can override what controller is used by using the full class name of the controller.
diff --git a/v6/theme-templating.md b/v6/theme-templating.md
index 48494c7..7084ea4 100644
--- a/v6/theme-templating.md
+++ b/v6/theme-templating.md
@@ -21,7 +21,7 @@ In WordPress, the theme templates do three things:
For example, if your theme has a `single-post.php` template file, all requests for a "single blog post" will be routed to that template file. The file will also control the logic flow and display the view for the page. This bundling of responsibilities is not ideal as it can lead to numerous bugs and scalability issues.
-On the other hand, TypeRocket's template router seamlessly integrates into the WordPress template hierarchy pattern allowing you to use the MVC pattern while maintaining backward compatibility withing WordPress. Using the TypeRocket template router has several advantages:
+On the other hand, TypeRocket's template router seamlessly integrates into the WordPress template hierarchy pattern allowing you to use the MVC pattern while maintaining backward compatibility within WordPress. Using the TypeRocket template router has several advantages:
- WordPress core templates only allow for 400 error handling. The template router allows for 500, 401, 403, or any other error templates to be used.
- Takes your view out of the global scope, greatly reducing your chances of variable naming collisions, thus reducing the odds for bugs.
@@ -168,7 +168,7 @@ The main benefit of using models over the WordPress loops, in our view, will be
## Replacing The WP Loop
-Now, we can begin replacing the WordPress loop and use the modern pattern of MVC. Back in the `BlogContoller` add the following constructor.
+Now, we can begin replacing the WordPress loop and use the modern pattern of MVC. Back in the `BlogController` add the following constructor.
```php
class BlogController extends TemplateController
@@ -306,7 +306,7 @@ The Tachyon template system also provides an includes system for partial templat
The `include()` method takes up to 3 arguments:
-1. **View** - View's dot syntax path or a full file path wth file extension.
+1. **View** - View's dot syntax path or a full file path with file extension.
2. **Data** (optional) - An associative array with the data to pass into the included view.
3. **Extension** (optional) - A replacement file extension for the dot syntax path. This is only useful in very custom situations.
diff --git a/v6/upgrade-guide-v5-to-v6.md b/v6/upgrade-guide-v5-to-v6.md
index e9d67e9..b37699c 100644
--- a/v6/upgrade-guide-v5-to-v6.md
+++ b/v6/upgrade-guide-v5-to-v6.md
@@ -13,7 +13,7 @@ After and before upgrading, you will have access to both `v5` and `v6`. However,
## TypeRocket Pro Namespace Change
-Update all instances of `TypeRocketPro` to `TypeRocket\Pro`. For example, if you are accessing the class `TypeRocketPro\Elements\Fields\Gallery` you must now call the class `TypeRocket\Pro\Elements\Fields\Gallery`. It is NOT recommended that you run a find and replace. Find and replace will not account for escapping needed withing strings. For example, a find and replace of `TypeRocketPro` to `TypeRocket\Pro` on these strings will cause errors:
+Update all instances of `TypeRocketPro` to `TypeRocket\Pro`. For example, if you are accessing the class `TypeRocketPro\Elements\Fields\Gallery` you must now call the class `TypeRocket\Pro\Elements\Fields\Gallery`. It is NOT recommended that you run a find and replace. Find and replace will not account for escapping needed within strings. For example, a find and replace of `TypeRocketPro` to `TypeRocket\Pro` on these strings will cause errors:
```
# Targets
diff --git a/v6/webpack.md b/v6/webpack.md
index d721406..fedd471 100644
--- a/v6/webpack.md
+++ b/v6/webpack.md
@@ -40,7 +40,7 @@ npm run prod
## Versioning
-TypeRocket Pro supports with versioning for Webpack files that use the `verson()` method. You can use the `tr_manifest_cache()` method to locate your `mix-manifest.json` file.
+TypeRocket Pro supports with versioning for Webpack files that use the `version()` method. You can use the `tr_manifest_cache()` method to locate your `mix-manifest.json` file.
```php
// Define Theme Directory