Test checklist

  • Plugin activates with no errors
  • A new Articles menu item appears in the wp-admin sidebar (with a document icon)
  • Inside it, Categories and Tags submenus appear (empty for now — that’s expected)
  • As your admin account: create a new test article, and you should see a normal Publish button — publishing it should work
  • Create a test user with role Narrazo Publisher (Individual), log in as them (or use an incognito window), go to Articles → Add New — you should see a Submit for Review button instead of “Publish.” Submitting should set the article’s status to Pending (visible back on the Articles list when logged in as admin)
  • As that same publisher, try to open/edit an article authored by someone else (e.g. by guessing its edit URL) — WordPress should block this with a permissions error
  • As admin, open a Pending-status article and change its status manually to each of Approved, then Published — both should be selectable in the status dropdown (Approved will show in the dropdown as a custom status option)
  • Visit Settings → Permalinks and click Save once, then visit the article’s front-end permalink — it should load without a 404

Possible errors

Leave a Reply

Your email address will not be published. Required fields are marked *