Для оформления сообщения коммита следует использовать следующий шаблон:
<type>(<scope>): <subject>
<BLANK LINE>
<body>
Route::middleware([ | |
'tenant-api', | |
InitializeTenancyByRequestData::class, | |
PreventAccessFromCentralDomains::class, | |
])->group(function () { | |
Route::get('tenants/current', 'TenantController@show'); | |
Route::post('users/token', 'UserController@token'); | |
Route::middleware(['auth:sanctum'])->group(function () { | |
Route::get('users/current', 'UserController@show'); | |
}); |
{ | |
"data": { | |
"articles": { | |
"data": [ | |
{ | |
"id": "1", | |
"deleted_at": null, | |
"title": "First Article", | |
"categories": [ | |
{ |
snake_case
(prr_page
, created_at
, system_name
,...)ISO 8601
(формат: YYYY-MM-DDTHH:MM:SSZ)data
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
input:not([type=checkbox]):not([type=radio]), | |
textarea, | |
select { | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
appearance: none; | |
} | |
input, select { | |
border: none; | |
&:focus { |
window.onload = function () { | |
document.getElementById('rest-api-test').onclick = function() { | |
axios({ | |
method: 'post', | |
url: '/wp-json/forms/v1/send/1', | |
headers: { | |
'Content-Type': 'application/json', | |
'X-WP-Nonce': window.themeVars._wpnonce | |
}, | |
}); |
# MariaDB database server configuration file. | |
# | |
# You can copy this file to one of: | |
# - "/etc/mysql/my.cnf" to set global options, | |
# - "~/.my.cnf" to set user-specific options. | |
# | |
# One can use all long options that the program supports. | |
# Run program with --help to get a list of available options and with | |
# --print-defaults to see which it would actually understand and use. | |
# |
[client] | |
port = 3306 | |
socket = /var/run/mysqld/mysqld.sock | |
[mysqld_safe] | |
socket = /var/run/mysqld/mysqld.sock | |
nice = 0 | |
[mysqld] | |
user = mysql |
function parleys_links() { | |
$args = array( | |
'post_type' => array('parley'), | |
'post_status' => 'publish', | |
'order' => 'ASC', | |
'orderby' => 'date', | |
'posts_per_page' => -1 | |
); | |
// WP_Query |