<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ohesotori</author_name>
  <author_url>https://blog.hatena.ne.jp/ohesotori/</author_url>
  <blog_title>ここはちょっと見せられない</blog_title>
  <blog_url>https://ohesotori.hateblo.jp/</blog_url>
  <categories>
    <anon>WordPress</anon>
  </categories>
  <description>has_cap 云々の古いプラグインではよくエラーがでている権限の話。 警告されるのもうざい。 しょうがないから各関数で $capability として与える権限名がわからないので調べてみた。そもそも数値で与えると一応処理は通してはくれるけど、Notice が出て、「もう使わないようにしてね」って言われていた。*1追記*2権限は細かく区切られていて、どれを選ぶのかよくわからないよね。参考： ＞ http://codex.wordpress.org/Roles_and_Capabilities各権限に相当するlevelは下記の通り。 Administrator / Level_10 Editor…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fohesotori.hateblo.jp%2Fentry%2F20120827%2F1346052204&quot; title=&quot;has_cap で使う権限名と数値で表す Level の記述方法について - ここはちょっと見せられない&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-08-27 16:23:24</published>
  <title>has_cap で使う権限名と数値で表す Level の記述方法について</title>
  <type>rich</type>
  <url>https://ohesotori.hateblo.jp/entry/20120827/1346052204</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
