你总结的完全正确 👍
我帮你把逻辑梳理一下,方便以后查阅:
---
### `git update-index --skip-worktree `
* 作用:告诉 Git **“这个文件的本地修改可以忽略,不要出现在 `git status` 中”**。
* 特点:
* 本地改了内容不会显示为修改,也不会被提交。
*...
``` php
function lyte_plugin_init() {
$plugin_dir = basename( dirname( __FILE__ ) ) . '/languages';
load_plugin_textdomain( 'wp-youtube-lyte', null, $plugin_dir );
//其他逻...