Title: WPLib
Author: Mike Schinkel
Published: <strong>2018 年 5 月 16 日</strong>
Last modified: 2018 年 5 月 22 日

---

搜尋外掛

![](https://ps.w.org/wplib/assets/banner-772x250.jpg?rev=1878838)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/wplib/assets/icon.svg?rev=1881053)

# WPLib

 由 [Mike Schinkel](https://profiles.wordpress.org/mikeschinkel/) 開發

[下載](https://downloads.wordpress.org/plugin/wplib.0.14.5.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/wplib/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wplib/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/wplib/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/wplib/#developers)

 [技術支援](https://wordpress.org/support/plugin/wplib/)

## 外掛說明

WPLib is a plugin designed to be used as a Must-Use plugin or to be embedded in 
a theme to enable the development of complex yet robust and performant WordPress
applications and websites.

WPLib is a foundation library upon which robust applications can be developed. WPLib
is **not** intended for use by end-users but instead by professional PHP developers
who are tasked with building specific applications or sites on the WordPress platform
by their company or their clients.

Think of developing with WPLib to be somewhat like:

> _“The joy of programming in Lavarel while respecting everything about WordPress
> that makes it an ideal platform for developing content management solutions.”_

The WPLib source code is hosted and development occurs [on GitHub](https://github.com/wplib/wplib/)
and the documentation site will soon be located at [wplib.org](https://wplib.org).

### Documentation

You will find documentation in its current state on the [**wiki**](https://github.com/wplib/wplib/wiki).

## 安裝方式

See the [docs to come soon].

## 常見問題集

  Installation Instructions

See the [docs to come soon].

  I have installed it and it does not do anything

That is because it is for PHP developers, not end-users. If you are a PHP developer
see the [docs to come soon] to learn more.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈WPLib〉的開發相關工作。

參與者

 *   [ Mike Schinkel ](https://profiles.wordpress.org/mikeschinkel/)
 *   [ NewClarity ](https://profiles.wordpress.org/newclarity/)

[將〈WPLib〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/wplib)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/wplib/)、查看 
[SVN 存放庫](https://plugins.svn.wordpress.org/wplib/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/wplib/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/wplib/)。

## 變更記錄

#### 0.14.5

 * Allowed add_class_action() and add_class_filter() to transform periods in hook
   names to underscores in hook methods.
 * Changed from esc_attr() to sanitize_html_class() for class sanitization in _WPLib_Html_Helpers::
   get_link().
 * Wrapped numerous reflection calls with try {} catch {}.

#### 0.14.4

 * Unmasked extract() that were previously hidden from code reviewers. See https://
   github.com/wplib/wplib/issues/72

#### 0.14.3

 * Fixed wplib_define() to correctly set a non-default value

#### 0.14.2

 * Adding 2nd parameter (the $post object) to ‘get_the_excerpt’ hook inside Post_Model_Base-
   >excerpt()

#### 0.14.1

 * Changed WPLib_Post_List_Base constructor to support items of disparate post types
 * Moved docs to a wiki repository
 * Added a screenshot

#### 0.14.0

 * Fixed lots of edge case bugs related to posts, terms and lists.

#### 0.13.4

 * Fixed bugs related to auto-adding user roles; a regression bug from several revisions
   back.

#### 0.13.3

 * Fixed bugs in WPLib::get_html_attributes_html(), WPLib::get_contents() and WPLib::
   put_contents().
 * Fixed bugs in $post_model->excerpt(), $post_model->content().
 * Slightly improve TEMPLATE comments that are emitted to theme files in WPLIB_DEVELOPMENT
   mode.

#### 0.13.2

 * A series of bug fixes and error message improvements.
 * Fixed nasty bug in WPLib Commit Reviser.

#### 0.13.1

 * Had to disable object caching in WPLib::_find_autoload_files() because of difficult
   to track down bugs. The next major release (probably 0.14.0) will correct this.

## 中繼資料

 *  版本 **0.14.5**
 *  最後更新 **8 年前**
 *  啟用安裝數 **少於 10 次**
 *  已測試相容的 WordPress 版本 **4.9.33**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wplib/)
 * 標籤:
 * [library](https://tw.wordpress.org/plugins/tags/library/)[mvc](https://tw.wordpress.org/plugins/tags/mvc/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wplib/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/wplib/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/wplib/reviews/)

## 參與者

 *   [ Mike Schinkel ](https://profiles.wordpress.org/mikeschinkel/)
 *   [ NewClarity ](https://profiles.wordpress.org/newclarity/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/wplib/)