Merge lp:~knome/wordpress-teams-integration/avoid-deprecated into lp:wordpress-teams-integration

Proposed by Pasi Lallinaho on 2016-01-06
Status: Needs review
Proposed branch: lp:~knome/wordpress-teams-integration/avoid-deprecated
Merge into: lp:wordpress-teams-integration
Diff against target: 11 lines (+1/-1)
1 file modified
openid-teams.php (+1/-1)
To merge this branch: bzr merge lp:~knome/wordpress-teams-integration/avoid-deprecated
Reviewer Review Type Date Requested Status
Canonical ISD hackers 2016-01-06 Pending
Review via email: mp+281749@code.launchpad.net

Description of the change

Avoids deprecation messages.

To post a comment you must log in.

Unmerged revisions

32. By Pasi Lallinaho on 2016-01-06

Avoids a deprecation message, changing the old user level 8 (administrator) to the new capability 'add_users'.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'openid-teams.php'
2--- openid-teams.php 2015-01-14 16:21:38 +0000
3+++ openid-teams.php 2016-01-06 14:01:12 +0000
4@@ -39,7 +39,7 @@
5 function openid_teams_admin_panels() {
6 // trusted servers page
7 $hookname = add_options_page(__('OpenID teams', 'openid-teams'),
8- __('OpenID Teams', 'openid-teams'), 8,
9+ __('OpenID Teams', 'openid-teams'), 'add_users',
10 'openid-teams', 'openid_teams_page' );
11 }
12

Subscribers

People subscribed via source and target branches