Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/interact.../vendor/freemius/wordpres...
File: CONTRIBUTING.md
# Contributing to Freemius SDK for WordPress
[0] Fix | Delete
[1] Fix | Delete
We love to receive contributions from our community — you! There are many ways to contribute, from writing tutorials or blog posts, improving the documentation, submitting bug reports and feature requests or writing code which can be incorporated into Freemius SDK for WordPress itself.
[2] Fix | Delete
Please be sure to read our [contributing guide](https://freemius.com/help/documentation/wordpress-sdk/freemius-sdk-contribute/) before making a pull request.
[3] Fix | Delete
[4] Fix | Delete
## Setup Node.js
[5] Fix | Delete
[6] Fix | Delete
We make use of several Node.js packages to build and test the SDK. To install them, you need to have Node.js installed on your machine. We recommend using
[7] Fix | Delete
[nvm](https://github.com/nvm-sh/nvm). Once you have it installed, run the following commands to install the correct version of Node.js and the dependencies:
[8] Fix | Delete
[9] Fix | Delete
```bash
[10] Fix | Delete
# Make sure to use the latest LTS version of Node.js.
[11] Fix | Delete
nvm install --lts
[12] Fix | Delete
nvm use --lts
[13] Fix | Delete
[14] Fix | Delete
# Install with a frozen lockfile.
[15] Fix | Delete
npm ci
[16] Fix | Delete
````
[17] Fix | Delete
[18] Fix | Delete
Now you may check the available commands by running:
[19] Fix | Delete
[20] Fix | Delete
```bash
[21] Fix | Delete
npm run
[22] Fix | Delete
```
[23] Fix | Delete
[24] Fix | Delete
## Translations
[25] Fix | Delete
[26] Fix | Delete
We use a custom build to extract translations and generate the POT file. The prerequisites are:
[27] Fix | Delete
[28] Fix | Delete
- You must be a team member of Freemius.
[29] Fix | Delete
- You must have access to our [Transifex](https://app.transifex.com/freemius/wordpress-sdk/dashboard/) project.
[30] Fix | Delete
- You have set the `.env` file in the project with the needed variables. Check the `.env.example` file for reference.
[31] Fix | Delete
[32] Fix | Delete
Now, you can run the following commands:
[33] Fix | Delete
[34] Fix | Delete
[35] Fix | Delete
```bash
[36] Fix | Delete
# Run the script to extract translations and generate the POT file.
[37] Fix | Delete
npm run translate
[38] Fix | Delete
```
[39] Fix | Delete
[40] Fix | Delete
## Development and Build
[41] Fix | Delete
[42] Fix | Delete
To compile SASS and JS during development, run
[43] Fix | Delete
[44] Fix | Delete
```bash
[45] Fix | Delete
npm run dev
[46] Fix | Delete
```
[47] Fix | Delete
[48] Fix | Delete
This will watch for changes and compile changed files. The system is also hooked with
[49] Fix | Delete
live-reload, so you don't need to refresh the page to see the changes. Simply install the
[50] Fix | Delete
[LiveReload browser extension](https://chromewebstore.google.com/detail/livereload++/ciehpookapcdlakedibajeccomagbfab) and enable it.
[51] Fix | Delete
[52] Fix | Delete
To build the SDK for production, run
[53] Fix | Delete
[54] Fix | Delete
```bash
[55] Fix | Delete
npm run build
[56] Fix | Delete
```
[57] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function