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

Visual Editor Biography

外掛說明

Replaces the Biographical Info profile field with the WordPress visual editor, TinyMCE, allowing you to editor an author’s biography using rich text.

Please note that this plugins modifies the output of get_the_author_meta('description') and the_author_meta('description'), apply the same filters used to format content in the main editor.

Multisite Compatibility

The Visual Editor Biography plugin is compatibly with WordPress Multisite, just use the Network Activate feature to enable a visual editor on every site. If you only want a visual editor for a specific site then activate the plugin for that site only.

螢幕擷圖

  • The TinyMCE visual editor added to the Users > Profile page
  • The formatted front end view for get_the_author_meta('description') and the_author_meta('description')

安裝方式

  1. Install easily with the WordPress plugin control panel or manually download the plugin and upload the folder visual-editor-biography to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

使用者評論

2018 年 1 月 18 日
It's a good plugin, but being so old it's got its share of problems already. Here's an updated version that adds Polylang compatibility (by Rocco Marco Guglielmi), composer.json and a hook to change passed WP_editor args.
2017 年 12 月 10 日
Nice, straightforward plugin. Replacing the public function save_filters() function with the following appears to sanitize the input: public function save_filters() { // Contributor level user or higher required if ( !current_user_can('edit_posts') ) return; //disable WordPress sanitization to allow more than just $allowedtags from /wp-includes/kses.php remove_filter('pre_user_description', 'wp_filter_kses'); //add sanitization add_filter( 'pre_user_description', 'wp_filter_post_kses'); } Credit for the sanitize snippet to: http://badlywired.com/2015/03/allow-html-in-user-description/ (although it may be seen on 1 or 2 other posts/sites).
2016 年 9 月 3 日
This plugin is extremely convenient but you should change a line of code before using it. File: visual-editor-biography.php Line 137: remove_all_filters('pre_user_description'); This allows you to use HTML by removing all filters, making it impossible for other plugins to adjust anything AND more important, it allows users to run <script> tags. Use this instead: remove_filter('pre_user_description', 'wp_filter_kses'); add_filter('pre_user_description', 'wp_filter_post_kses'); This removes only the strict HTML filter and replaces it with a less strict version, allowing links, images and markup including divs.
閱讀全部 11 則使用者評論

參與者及開發者

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

參與者

將〈Visual Editor Biography〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.4

  • Check for ‘edit_posts’ capability instead of ‘contributor’ for accurate role checks
  • Remove ‘the_content’ filters from get_the_author_description() function and instead add filters individually to avoid future conflicts with other plugins: wptexturize(), wpautop() and convert_chars(). Thanks to Matt Wiebe for making this great suggestion.

1.3

  • Restrict the rich text editing profile switch to contributor level users or higher for security
  • Add current_user_can() restrictions for added security throughout plugin

1.2

  • Fix issue with JS loading on user-edit.php; when administrators edit other people’s bio’s

1.1

  • Updates and bug fixes for older WordPress versions
  • Add plugin Banner to /assets/ folder for WordPress repository

1.0

  • Initial public release to the WordPress plugin repository