WordPress Help
Official documentation, learning resources, and contributor guides collected from WordPress.org.
-
WP_CLIUtilsnormalize_path()
फ़ाइल सिस्टम पथ को सामान्यीकृत करें। उपयोग WP_CLI\Utils\normalize_path( $path ) $path (स्ट्रिंग) सामान्यीकृत करने के लिए पथ। @return (स्ट्रिंग) पथ। टिप्पणियाँ Windows सिस्टम पर, बैकस्लैश को फ़ॉरवर्ड स्लैश से बदलता है और ड्राइव अक्षरों को बड़े अक्षरों में करता है। Windows नेटवर्क शेयर के लिए दो अग्रणी स्लैश की अनुमति देता है, लेकिन यह सुनिश्चित…
-
WP_CLIUtilsnormalize_path()
تطبيع مسار نظام الملفات. الاستخدام WP_CLI\Utils\normalize_path( $path ) $path (سلسلة نصية) المسار المراد تطبيعه. @return (سلسلة نصية) المسار. ملاحظات في أنظمة Windows، تستبدل الشرطات المائلة العكسية بشرطات مائلة أمامية وتفرض استخدام أحرف كبيرة لأحرف محركات الأقراص. تسمح بوجود شرطتين مائلتين في البداية لمشاركات الشبكة في Windows، ولكن تضمن اختزال جميع الشرطات المائلة المكررة الأخرى إلى…
-
WP_CLIUtilsnormalize_path()
ファイルシステムのパスを正規化します。 使用方法 WP_CLI\Utils\normalize_path( $path ) $path (string) 正規化するパス。 @return (string) パス。 注記 Windows システムでは、バックスラッシュをスラッシュに置き換え、 ドライブ文字を大文字にします。 Windows のネットワーク共有用に先頭のスラッシュを 2 つまで許可しますが、 その他の重複するスラッシュはすべて 1 つにまとめます。 Windows システムではドライブ文字を大文字にします。 内部 APIAPI API(アプリケーション・プログラミング・インターフェース)とは、プログラム同士が相互にやり取りし、限定された明確な方法でデータを共有できるようにするソフトウェア仲介機能です。ドキュメントは、リリースごとにWP-CLIWP-CLI WP-CLI は WordPress 用のコマンドラインインターフェースで、管理や開発のタスクをプログラムから実行するために使用されます。プロジェクトページは http://wp-cli.org/ https://make.wordpress.org/cli/ です。コードベースから生成されます。改善案がある場合は、プルリクエストを送信してください。 関連項目 WP_CLI\Utils\get_home_dir() – ホームディレクトリを取得します。 WP_CLI\Utils\trailingslashit() – 末尾にスラッシュを追加します。 WP_CLI\Utils\get_temp_dir() – システムの一時ディレクトリを取得します。書き込み可能でない場合はユーザーに警告します。 WP_CLI\Utils\get_php_binary() – WP-CLI の実行時に使用されるPHPPHP PHP(PHP: Hypertext Preprocessor の再帰的頭字語)は、広く使用されているオープンソースの汎用スクリプト言語で、特に Web 開発に適しており、HTML に埋め込むことができます。…
-
WP_CLIUtilsnormalize_path()
规范化文件系统路径。 用法 WP_CLI\Utils\normalize_path( $path ) $path(字符串)要规范化的路径。 @return(字符串)路径。 注意事项 在 Windows 系统上,将反斜杠替换为正斜杠 并强制使用大写驱动器号。 允许 Windows 网络共享使用两个前导斜杠,但 确保所有其他重复的斜杠都缩减为单个斜杠。 确保 Windows 系统上的驱动器号为大写。 内部 APIAPI API(应用程序编程接口)是一种软件中介,允许程序以有限且明确定义的方式彼此交互并共享数据。文档在每次发布时都会根据 WP-CLIWP-CLI WP-CLI 是 WordPress 的命令行界面,用于以编程方式执行管理和开发任务。项目页面为 http://wp-cli.org/ https://make.wordpress.org/cli/代码库生成。如需提出改进建议,请提交拉取请求。 相关内容 WP_CLI\Utils\get_home_dir() – 获取主目录。 WP_CLI\Utils\trailingslashit() – 添加尾部斜杠。 WP_CLI\Utils\get_temp_dir() – 获取系统的临时目录。如果该目录不可写,则向用户发出警告。 WP_CLI\Utils\get_php_binary() – 获取执行 WP-CLI 时所使用的 PHPPHP PHP(PHP:超文本预处理器的递归缩写)是一种广泛使用的开源通用脚本语言,尤其适用于 Web 开发,并且可以嵌入 HTML。https://www.php.net/manual/en/index.php二进制文件。 WP_CLI::get_php_binary() – 获取执行 WP-CLI 时所使用的 PHP…
-
WP_CLIUtilsnormalize_path()
Normalize um caminho do sistema de arquivos. Uso WP_CLI\Utils\normalize_path( $path ) $path (string) Caminho a ser normalizado. @return (string) caminho. Observações Em sistemas Windows, substitui barras invertidas por barras normais e força letras de unidade em maiúsculas. Permite duas barras iniciais para compartilhamentos de rede do Windows, mas garante que todas as outras barras duplicadas…
-
WP_CLIUtilsnormalize_path()
Einen Dateisystempfad normalisieren. Verwendung WP_CLI\Utils\normalize_path( $path ) $path (string) Zu normalisierender Pfad. @return (string) Pfad. Hinweise Ersetzt auf Windows-Systemen umgekehrte Schrägstriche durch normale Schrägstriche und erzwingt Großbuchstaben für Laufwerksbuchstaben. Erlaubt zwei führende Schrägstriche für Windows-Netzwerkfreigaben, stellt jedoch
-
WP_CLIUtilsnormalize_path()
Normaliser un chemin de système de fichiers. Utilisation WP_CLI\Utils\normalize_path( $path ) $path (chaîne) Chemin à normaliser. @return (chaîne) chemin. Remarques Sur les systèmes Windows, remplace les barres obliques inverses par des barres obliques et force les lettres de lecteur en majuscules. Autorise deux barres obliques initiales pour les partages réseau Windows, mais veille à ce…
-
WP_CLIUtilsnormalize_path()
Normaliza una ruta del sistema de archivos. Uso WP_CLI\Utils\normalize_path( $path ) $path (string) Ruta que se normalizará. @return (string) ruta. Notas En sistemas Windows, reemplaza las barras inversas por barras diagonales y fuerza las letras de unidad a mayúsculas. Permite dos barras diagonales iniciales para recursos compartidos de red de Windows, pero garantiza que todas…
-
WP_CLIUtilsget_php_binary()
Get the path to the PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. https://www.php.net/manual/en/index.php binary used when executing WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks…
-
WP_CLIUtilsget_named_sem_ver()
Compare two version strings to get the named semantic version. Usage WP_CLI\Utils\get_named_sem_ver( $new_version, $original_version ) $new_version (string) $original_version (string) @return (string) ‘minor’, ‘patch’ Internal APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways. documentation is generated from…