콘텐츠로 바로가기
WordPress.org

한국어

  • 테마
  • 플러그인
  • 소식
    • 문서
    • 포럼
  • About
    • WordPress 6.9
    • 워드프레스 6.8
    • 워드프레스와 40% 웹을 위한 여정
    • 워드프레스 번역 핸드북
  • 워드프레스 한국팀
  • 워드프레스 받기
워드프레스 받기
WordPress.org

Plugin Directory

MetaBench

  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인
  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인

MetaBench

작성자: Silver222
다운로드
  • 세부사항
  • 평가
  • 설치
  • 개발
지원

설명

MetaBench replaces the cramped core Custom Fields box with a panel built for
sites that actually have a lot of metadata.

  • Search across both keys and values, with matches highlighted as you type.
  • Filter by value type — text, number, long text, array, JSON or empty.
  • Sort by key, by value size, or by raw database order.
  • Edit in place, with a textarea for long values and JSON editing for
    serialised arrays.
  • Rename, create and delete fields, each independently switchable.
  • Works on posts and terms, on whichever post types and taxonomies you
    enable.
  • Works in the block editor and the classic editor with no duplicated UI.

Permissions

For ordinary meta keys, every read and write goes through the per-key
capabilities that core derives from register_meta() auth callbacks. A user who
cannot edit such a field through core cannot edit it through MetaBench either.

Protected keys — those beginning with an underscore, where ACF, SEO plugins and
WooCommerce keep their data — work differently, and the difference is worth
understanding.

map_meta_cap() denies `edit_post_meta` on a protected key for *every* role,

including administrators, unless a plugin has registered an auth_..._meta_...
filter for that specific key. That blanket denial is aimed at untrusted REST and
XML-RPC callers, and it makes the core capability unusable as a gate for a
deliberate administrative tool.

MetaBench therefore gates protected keys separately. They are listed and
editable only when both:

  1. “Show protected fields” is switched on in the settings, and
  2. the user holds manage_options (filterable via
    metabench_protected_capability).

This is an intentional step past the core denial, kept as narrow and explicit as
possible. If you do not want that behaviour on your site, leave the setting off
— which is the default — and MetaBench will never touch a protected key.

Translations

MetaBench ships translated into German, Spanish, French, Italian, Japanese,
Dutch, Polish, Brazilian Portuguese, Russian, Ukrainian and Simplified Chinese,
covering all 119 translatable strings.

Every string the JavaScript panel displays is defined in PHP and handed to the
browser through wp_localize_script(), so the whole interface translates from a
single .po file with no JavaScript build step and no separate JSON language
packs.

To retranslate or add a locale, edit the .po file in languages/ with Poedit
or any gettext editor, then recompile:

wp i18n make-mo languages/ languages/
wp i18n make-php languages/

After changing translatable strings in the source, regenerate the template with
wp i18n make-pot . languages/metabench.pot –domain=metabench.

For developers

Filters:

  • metabench_settings — the effective settings array.
  • metabench_required_capability — the capability gating the panel.
  • metabench_protected_capability — the capability gating protected keys.
  • metabench_available_post_types / metabench_available_taxonomies — the
    choices offered on the settings screen.
  • metabench_get_items — the rows returned for an object.
  • metabench_validate_key — return a WP_Error to block a write.

REST routes, all under metabench/v1:

  • GET /fields/<object_type>/<object_id>
  • POST /fields/<object_type>/<object_id>
  • POST /fields/<object_type>/<object_id>/<meta_id>
  • DELETE /fields/<object_type>/<object_id>/<meta_id>

설치

  1. Upload the metabench folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins screen.
  3. Visit Settings → MetaBench and enable the post types and taxonomies you
    want the panel on.

FAQ

Do changes save when I update the post?

No. Each field saves immediately over the REST API, independently of the post.
That means you can fix one meta value without publishing unrelated draft edits,
but it also means there is no undo — the panel says so beneath the table.

Why can I not see my ACF fields?

ACF stores its values in protected keys beginning with an underscore. Enable
“Show protected fields” under Settings → MetaBench, and note that only users
with manage_options will see them. Editing those by hand can desynchronise
ACF’s own field references, so change them only when you know what a key does.

Why is one of my fields read only?

Either you lack the capability for that key, or the stored value is a
serialised PHP object. Objects cannot round-trip through the JSON editor
without risking data loss, so MetaBench shows them but refuses to write them.

Does it handle duplicate meta keys?

Yes. Rows are addressed by meta_id, so several rows sharing one key are
listed and edited individually rather than collapsed into one.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“MetaBench”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자
  • Silver222

자국어로 “MetaBench”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록을 RSS로 구독하세요.

변경이력

1.0.1

  • Hardened deserialization of stored meta values so a protected-key payload
    can no longer instantiate arbitrary PHP objects on read.
  • Corrected a docblock that claimed object-cache caching the code doesn’t do.

1.0.0

  • Initial release.

기초

  • 버전 1.0.1
  • 최근 업데이트: 1주 전
  • 활성화된 설치 10보다 적음
  • 워드프레스 버전 6.0 또는 그 이상
  • 다음까지 시험됨: 7.0.4
  • PHP 버전 7.4 또는 그 이상
  • 언어
    English (US)
  • 태그:
    custom fieldsdevelopermetadatapost metaterm-meta
  • 고급 보기

평점

아직 제출된 리뷰가 없습니다.

Your review

모든 리뷰 보기

기여자

  • Silver222

지원

할 말 있으신가요? 도움이 필요하신가요?

지원 포럼 보기

  • 소개
  • 뉴스
  • 호스팅
  • 개인정보
  • 쇼케이스
  • 테마
  • 플러그인
  • 패턴
  • 배우기
  • 지원
  • 개발자 도구
  • WordPress.tv ↗
  • 참여하기
  • 이벤트
  • 기부하기 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

한국어

  • X(이전 트위터) 계정 방문하기
  • 블루스카이 계정 방문하기
  • 마스토돈 계정 방문하기
  • 스레드 계정 방문하기
  • 페이스북 페이지 방문하기
  • 인스타그램 계정 방문하기
  • LinkedIn 계정 방문하기
  • 틱톡 계정 방문하기
  • 유튜브 채널 방문하기
  • 텀블러 계정 방문하기
코드는 詩다
The WordPress® trademark is the intellectual property of the WordPress Foundation.