Admin Menu Editor - Version 1.10.3

Version Description

  • Increased the minimum required PHP version to 5.6.
  • Fixed a number of deprecation warnings related to PHP 8.
  • Fixed a conflict with "Anti-Spam by CleanTalk" that could potentially cause a fatal error.
  • Fixed a conflict with "Admin Theme - Musik" where the menu order settings in the other plugin would override the menu order configured in AME.
  • Fixed missing padding in the "edit plugin details" panel (in the "Plugins" tab). Also updated the button layout to match the changed button layout of the "Quick Edit" panel introduced in WP 6.0.
  • Fixed a visual issue where some form fields might briefly show up and then disappear if the settings page stylesheet(s) took a while to load.
  • Removed dependency on the "icon16" CSS class.
Download this release

Release Info

Developer whiteshadow
Plugin Icon 128x128 Admin Menu Editor
Version 1.10.3
Comparing to
See all releases

Code changes from version 1.10.2 to 1.10.3

css/_form-validation.scss ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $invalidColor: #d63638; //Matches the Theme Customizer.
2
+
3
+ @mixin ame-invalid-input-styles {
4
+ select, input {
5
+ &:invalid {
6
+ border-color: $invalidColor;
7
+
8
+ //Override the box shadow that WordPress adds on focus.
9
+ &:focus {
10
+ box-shadow: 0 0 0 1px $invalidColor;
11
+ }
12
+ }
13
+ }
14
+ }
15
+
css/_input-group.scss ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .ame-input-group {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+
5
+ > :not(:first-child) {
6
+ margin-left: -1px;
7
+ border-top-left-radius: 0;
8
+ border-bottom-left-radius: 0;
9
+ }
10
+
11
+ > :not(:last-child) {
12
+ margin-right: 0;
13
+ border-top-right-radius: 0;
14
+ border-bottom-right-radius: 0;
15
+ }
16
+ }
css/menu-editor.css CHANGED
@@ -1,5 +1,20 @@
1
  @charset "UTF-8";
2
  /* Admin Menu Editor CSS file */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  #ws_menu_editor {
4
  min-width: 780px;
5
  }
@@ -760,9 +775,14 @@ select.ws_dropdown optgroup option {
760
  background-image: none;
761
  }
762
 
763
- #ws_icon_selector .icon16 {
764
  float: none;
765
  margin: 0;
 
 
 
 
 
766
  }
767
 
768
  #ws_icon_selector .ws_icon_option .ws_icon_image.dashicons {
@@ -799,22 +819,15 @@ select.ws_dropdown optgroup option {
799
  margin-top: 1px;
800
  }
801
 
802
- /* Current icon node (CSS class version, for the built-in WP icon sprites) */
803
- .ws_select_icon .icon16 {
804
- margin: 0;
805
- float: none;
806
  padding: 3px;
807
- /*
808
- The default .icon16 style has a 6px padding which would normally make it too large
809
- to fit in the button. We can't change the padding without making the background-position
810
- look wrong, so lets offset the icon so that it fits.
811
- */
812
- position: relative;
813
- top: -3px;
814
- left: -3px;
815
  }
816
- .ame-is-wp53-plus .ws_select_icon .icon16 {
817
- top: -1px;
 
 
 
818
  }
819
 
820
  /* Current icon node (image version) */
@@ -839,17 +852,6 @@ select.ws_dropdown optgroup option {
839
  overflow-y: auto;
840
  }
841
 
842
- /* MP6 admin style compatibility */
843
- #ws_icon_selector .ws_icon_option .icon16::before {
844
- margin: 0;
845
- padding: 0;
846
- }
847
-
848
- .ws_select_icon .icon16::before {
849
- padding: 0;
850
- margin: 1px 0 0 2px;
851
- }
852
-
853
  #ws_choose_icon_from_media {
854
  margin: 2px;
855
  }
1
  @charset "UTF-8";
2
  /* Admin Menu Editor CSS file */
3
+ .ame-input-group {
4
+ display: flex;
5
+ flex-wrap: wrap;
6
+ }
7
+ .ame-input-group > :not(:first-child) {
8
+ margin-left: -1px;
9
+ border-top-left-radius: 0;
10
+ border-bottom-left-radius: 0;
11
+ }
12
+ .ame-input-group > :not(:last-child) {
13
+ margin-right: 0;
14
+ border-top-right-radius: 0;
15
+ border-bottom-right-radius: 0;
16
+ }
17
+
18
  #ws_menu_editor {
19
  min-width: 780px;
20
  }
775
  background-image: none;
776
  }
777
 
778
+ #ws_icon_selector .ws_icon_option .ws_icon_image {
779
  float: none;
780
  margin: 0;
781
+ padding: 0;
782
+ }
783
+ #ws_icon_selector .ws_icon_option .ws_icon_image:before {
784
+ color: #85888c;
785
+ display: inline-block;
786
  }
787
 
788
  #ws_icon_selector .ws_icon_option .ws_icon_image.dashicons {
819
  margin-top: 1px;
820
  }
821
 
822
+ .ws_select_icon .ws_icon_image {
823
+ color: #85888c;
 
 
824
  padding: 3px;
 
 
 
 
 
 
 
 
825
  }
826
+ .ws_select_icon .ws_icon_image.dashicons {
827
+ padding: 3px 2px;
828
+ }
829
+ .ws_select_icon .ws_icon_image.dashicons:before {
830
+ width: 20px;
831
  }
832
 
833
  /* Current icon node (image version) */
852
  overflow-y: auto;
853
  }
854
 
 
 
 
 
 
 
 
 
 
 
 
855
  #ws_choose_icon_from_media {
856
  margin: 2px;
857
  }
css/menu-editor.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["menu-editor.scss","_indeterminate-checkbox.scss","_test-access-screen.scss","_main-tabs.scss"],"names":[],"mappings":";AAAA;AAIA;EACC;;;AAGD;EACC;;;AAQD;EACC;EACA,OAPoB;EAQpB;EACA;EAEA;EACA;EACA;EAEA,eAb2B;EAc3B,oBAd2B;EAe3B,uBAf2B;;;AAkB5B;EACC;EACA;EACA;;;AAGD;EACC;EACA;;;AASD;EACC;EACA;EAEA;EACA;EAEA;;;AAGD;AAAA;AAAA;EAGC;;;AAGD;AAAA;EAEC;;;AAGD;AAAA;AAAA;AAGA;EACI;;;AAGJ;EACI;;;AAIH;EACC;EACA;;AAGD;EACC;EACA;EACA;EAEA;EACA;EACA;EACA;;;AAIF;EACC;;;AAGD;AAAA;AAAA;AAKA;AAAA;EAGI;EACA;EACA;EACA;;ACjHH;AAAA;EACC;EACA,OAH4C;EAU5C;EACA;EAMA;EACA;EACA;EACA;EACA;;AAGD;EACC;AAAA;IAEC,QADU;IAEV,OAFU;IAGV,aAHU;IAIV;IAEA;IACA;IACA;;;;ADqFH;EAEE;IACC;IACA;;;AAKH;AACA;EACI;;;AAGJ;EACI;;;AAGJ;A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A;;;AAGD;EACC;;;AAGD;EACC;;AAEA;EACC,YAlCqB;;;AAsCvB;AAGA;AAAA;EAGC;EACA,OANqB;EAOrB;EACA;EAEA;EACA;EAEA;EAEA;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;EACA;;;AAGD;AAAA;EAGC,QAtEsB;EAwEtB;EACA;EACA;EAEA;EACA;EACA;;AAEA;AAAA;EACC;;;AAIF;EACC;EACA;;;AAGD;EACC;;;AAGD;EACC;EACA;;;AAGD;AAAA;AAAA;AAAA;AAIA;AAAA;EAGC;EACA;EAEA;EACA;;;AAGD;EACC;EACA;EACA;EACA;;;AAGD;EACC;;;AAGD;EACC;;;AAGD;AACA;EACC;;;AAGD;AAAA;AAAA;AAGA;EACC;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;;;AAGD;EACC;EACA;;;AAGD;AAAA;AAAA;AAIA;EACC;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;;;AAGD;AACA;EACC;;;AAGD;AACA;EACC;EACA;;;AAGD;AACA;EACC;;;AAGD;AACA;EACC;;;AAED;AACC;AAAsB;EACtB;AAAkB;EAClB;EAEA;AAA2B;EAC3B;;;AAGD;AACA;EACC;;;AAGD;AACA;EACC;EACA;EACA;EAEA;AAA2B;EAC3B;;;AAGD;AAMA;AAAA;AAAA;AAIA;EACC;EAEA;EACA;EACA;EAEA;EACA;;;AASD;EACC;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;;AAEA;EACC;;;AAIF;EACC;EACA;;;AAID;EACC;;;AAED;EACC;EACA;;;AAED;EACC;EACA;EACA;;;AAGD;EACC;EACA;;;AAGD;EACC;;;AAGD;AAAA;AAAA;AAIA;EACC;EACA;EAEA;EACA;EACA;EAEA;EACA;;;AAID;EACC;EACA;EACA,SAJ0B;;;AAO3B;EACC;;;AAGD;AAAA;AAAA;AAAA;AAAA;AAQA;EACC;EACA;EACA;;AAEA;EACC;EAEA;EACA;EACA;EACA;EAEA;;AAGD;EACC;EACA,qBApBwB;EAqBxB;;AAGD;EACC;;AAGD;EACC;;;AAIF;EACC;EACA;EACA,kBApCyB;;;AAyC1B;AAAA;AAAA;AAIA;EACC;EACA;EACA;EAEA;EACA;EACG;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAIJ;EACC;EACA;EAEA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGD;AACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;;;AAGD;EACI;EACA;EACA;;;AAGJ;EACC;EACA;EACA;EAEA;EACA;;;AAGD;EACC;EACA;;;AAGD;AACA;EACC;EACA;EACA;EAEG;EACA;EACH;;AAEA;EACC,QAvdqB;EAwdrB,YAxdqB;EAydrB;;;AAIF;AACA;EACC;EACA;EACA;AAEA;AAAA;AAAA;AAAA;AAAA;EAKA;EACA;EACA;;AAEA;EACC;;;AAIF;AACA;EACC;EACA;EACA;EACA;;;AAOA;EACC;EACA;EAMA;;AAJA;EACC;;AAMF;EACC;EACA;EACA;;;AAIF;AACA;EACC;EACA;;;AAED;EACC;EACA;;;AAGD;EACC;;;AAGD;AAAA;AAAA;AAIA;EACC;EACA;EAEA;EACA;EACA;EAEA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EAEA;EACA;EACA;EACA;EAEA;;;AAGD;EACC;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;;;AAGD;EACC;EACA;AAAe;EACf;EACA;EAEA;EACA;;;AAGD;EACC;EACA;EACA;EAEA;EACA;;;AAGD;EACC;EACA;;;AAGD;EACC;;;AAGD;AAAA;AAAA;AAAA;AAIA;EACC;;;AAID;AAAA;AAAA;AAIA;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EAEA;EACA;EACA;EAEA;;;AAGJ;EACI;;AAEH;EACC;;;AAIF;EACI;;;AAGJ;EACC;EACA;EACA;;;AAGD;AACA;EACC;EAEA;EACA;EACA;EAEA;;;AAGD;EACC;EACA;;;AAGD;AACC;;;AAGD;EACC;EACA;;;AAED;EACC;;;AAGD;AAKA;EAGI;EACH;EACG,QAJgB;EAKhB,OATc;EAWd,cAVoB;EAWvB;EACG;EAEH;EACG;EACA;EACA;EAEH;;AAEA;EACC;EACA;EAEA;EACA;EAEA;EACA;EACA;;;AAIF;EACC;;;AAGD;EACI;EACA;EACA;EAEA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;AAAA;AAAA;AAIA;EACC;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEG;EACA;;;AAGJ;EACI;;;AAIH;EACC;EACA;EAEA;EAEA;EACA;EACA;;AAEA;EACC;EACA;;AAGD;EACC;EACA;EACA;;AAIF;EACC;EACA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EAEA;EACA;EAEA;EACA;EAEA;;AAGD;EACC;EACA;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;;AAGD;AACC;EACA;;AAQF;EACC;;;AAGD;EACC;;;AAIA;EACC;EACA;;AAGD;EACC;;AAGD;EACC;EACA;EACA;;AAEA;EACC;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;;;AAKH;EACC;EACA;;;AAGD;EACC;EACA;EACG;EACA;;;AAGJ;EACC;EACA;EACA;;;AAGD;EACC;;;AAGD;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACC;EACA;EAEA;;;AAGD;EACC;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;;;AAGD;EACI;EACA;;;AAGJ;AAAA;AAAA;AAIA;AAGA;EAEC,OAJuB;EAKvB,cAJwB;;;AAOzB;EACC;EACA;;;AAGD;EACC;EACA;;;AAGD;EACC;;AAEA;EACC;EACA;;;AAIF;EACC;EACA;EACA;EACA;;;AAGD;AAAA;EAEC;EACA;EACA;;;AAGD;AAAA;EAEC;;;AAGD;EACC;;;AAGD;AACC;AAAA;EAEA;EACA;;;AAGD;EACC;EACA;;;AAGD;EACC;EAEA;EACA;EACA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;;;AAGD;EACC;;;AAGD;EACC;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;EACA;EAEA;EAEA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;;;AAGD;AAAA;AAAA;AAIA;AAAA;AAAA;AAGA;AAuBC;;AArBA;EACC;;AAGD;EACC;;AAGD;EACC;;AAIA;EACC;;AAED;EACC;;AAKF;EACC;;AAEA;EACC;;AAGD;EACC;;AAGD;EACC;;;AAKH;EACC;EACA;EACA;;;AAKD;EACC,cAH0B;EAI1B;EACA;EACA;;;AAGD;EACC;;AAEA;EACC,cAbyB;;AAgB1B;EACC;EACA;;AAGD;AAAA;EAEC;EACA;;AAGD;EACC;EACA;;AAGD;EACC;;AAIA;EACC;;;AAQF;EACC;EACA;EACA;EACA;;AAGD;EACC;;AAID;EACC;;AAED;EACC;;AAKA;EACC;;AAED;EACC;;;AAQF;EACC;;;AAIF;AACA;EACC;EACA;EAEA;EACA;EACA;EAEA;EACA;EAGA;EAEA;EACA;;;AAGD;EACC;EAEA;EACA;EACA;EACA;EACA;EAEA;EAEA;;;AAGD;EACC;;;AAID;EAGC,WAFgB;EAGhB,QAHgB;EAIhB,OAJgB;EAOhB;EAEA;EACA;EACA;;;AAGD;EACC;;;AAGD;AAAA;AAAA;AAQA;EAEC;EACA,SAFoB;;;AAKrB;EACC;;AAEA;EACC;EACA;EACA;EAEA;EACA;EACA;EAEA,OAtBwB;EAuBxB,QAtByB;EAwBzB;EACA;EACA;;AAGD;EACC;;AAGD;EACC;EACA;EACA;EACA;EACA;;AAGD;EACC;EAGA,KAFc;EAGd,MA7C0B;EA8C1B,OA9C0B;EAiD1B;EAEA;EACA;;AAGD;EACC;EAGA;EACA;EACA;EACA;;AAEA;EACC;EACA;EAEA;EACA;;AAGD;EACC;EACA;;AAGD;EACC;;AAGD;EACC;;AAKD;EACC;;AAGD;EACC;;AAID;EACC;;AAMD;EACC;;AAED;EACC;;AAED;EACC;;AAGD;EACC;;AAKA;EACC;;AAaH;EACC;EACA;EACA;EAEA;EACA;;AAGD;EACC;EACA;EACA;EACA;EACA;;;AAIF;EACC;EACA,OAzJ2B;EA0J3B,QA1J2B;EA4J3B;EACA;;;AAKD;AAAA;AAAA;AAIA;EACI;;;AAMJ;AAAA;AAAA;AAIA;EACC;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;;;AAID;EACC;;;AAID;EACC;EACA;EACA;;;AAGD;EACC;;;AAGD;EACC;;;AAGD;EACC;EACA;EAEA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;;;AAGD;EACC;EACA;EACA;;;AAIA;EACC;EACA;;AAGD;EACC;EACA;;AAGD;EACC;;AAGD;EACC;EACA;;AAGD;EACC;;AAGD;EACC;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;;AAGD;EACC;;;AAIF;EAEC;EACA;;;AAGD;EACC;;AAEA;EACC;EACA;EACA;;AAGD;EACC;;AAGD;EACC;EACA;EACA;;;AAIF;AAAA;AAAA;AAGA;EACC;;;AAGD;AAAA;AAAA;AAIA;EACC;EACA;EAEA;EACA;EACA;EAEA;EACA;;AAEA;EACC;EACA;;AAGD;EAEC,aA90CyB;EA+0CzB,gBA/0CyB;;AAk1C1B;EACC;;AAGD;EACC;;AAEA;EACC;;;AAKH;AAAA;AAAA;AAIA;EACC;EACA;EACA;;;AAIA;EACC;EACA;;AAGD;EACC;EACA;;AAGD;EACC;;;AAIF;EACC;;;AAGD;AACC;AAAA;;;AAID;AAAA;AAAA;AAIA;EACC;;;AAGD;AAAA;AAAA;AAKC;EACC;;AAGD;EACC;EACA;EACA;;AAGD;EACC;EACA;EACA;;;AAIF;AAAA;AAAA;AAIA;EACI;EAEH;EACA;EAEA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;EAEA;;;AAGD;EACC;EAEA;;;AAGD;EACC;;;AAGD;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EAEA;EACA;EAEA;;;AAGJ;EACI;EACA;EAEA;EACA;;;AAGJ;EACI;;;AE1sEJ;AAAA;AAAA;AAIA;EACC;EACA;;;AAGD;EAEC;;;AAGD;EACC;EACA;EAEA;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;EAEA;EACA;EACA;;;AAGD;EACC;EACA;EACA;EAEA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;AAEA;EACC;EACA;EACA;EACA;;;AAIF;EACC;EACA;EAEA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EAEA;EACA;;;AAGD;EACC;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;;;AAGD;EACC;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EAEA;EACA;;AAEA;EACC;;;AAIF;EACC;EACA;;;AAGD;EACC;;;ACjID;AAAA;AAAA;AAKC;EACC;;AAGD;EACC;EACA;EACA;;;AAIF;;AAAA;AAAA;AAAA;AAMA;EACC;;;AAIA;EACC;;;AAIF;AAAA;AAEA;EACC","file":"menu-editor.css"}
1
+ {"version":3,"sourceRoot":"","sources":["menu-editor.scss","_input-group.scss","_indeterminate-checkbox.scss","_test-access-screen.scss","_main-tabs.scss"],"names":[],"mappings":";AAAA;ACAA;EACC;EACA;;AAEA;EACC;EACA;EACA;;AAGD;EACC;EACA;EACA;;;ADRF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;EACC;;;AAGD;AACA;EACC;EACA;;;AAGD;AACA;EACC;;;AAGD;AACA;EACC;;;AAED;AACC;AAAsB;EACtB;AAAkB;EAClB;EAEA;AAA2B;EAC3B;;;AAGD;AACA;EACC;;;AAGD;AACA;EACC;EACA;EACA;EAEA;AAA2B;EAC3B;;;AAGD;AAMA;AAAA;AAAA;AAIA;EACC;EAEA;EACA;EACA;EAEA;EACA;;;AASD;EACC;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;;AAEA;EACC;;;AAIF;EACC;EACA;;;AAID;EACC;;;AAED;EACC;EACA;;;AAED;EACC;EACA;EACA;;;AAGD;EACC;EACA;;;AAGD;EACC;;;AAGD;AAAA;AAAA;AAIA;EACC;EACA;EAEA;EACA;EACA;EAEA;EACA;;;AAID;EACC;EACA;EACA,SAJ0B;;;AAO3B;EACC;;;AAGD;AAAA;AAAA;AAAA;AAAA;AAQA;EACC;EACA;EACA;;AAEA;EACC;EAEA;EACA;EACA;EACA;EAEA;;AAGD;EACC;EACA,qBApBwB;EAqBxB;;AAGD;EACC;;AAGD;EACC;;;AAIF;EACC;EACA;EACA,kBApCyB;;;AAyC1B;AAAA;AAAA;AAMA;EACC;EACA;EACA;EAEA;EACA;EACG;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAIJ;EACC;EACA;EAEA;EACA;EACA;EACA;AAEA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGD;AACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;EACA;;AAEA;EACC,OAnEc;EAoEd;;;AAIF;EACI;EACA;EACA;;;AAGJ;EACC;EACA;EACA;EAEA;EACA;;;AAGD;EACC;EACA;;;AAGD;AACA;EACC;EACA;EACA;EAEG;EACA;EACH;;AAEA;EACC,QA/dqB;EAgerB,YAheqB;EAierB;;;AAIF;EACC,OA9Ge;EA+Gf;;AAEA;EACC;;AAEA;EACC;;;AAKH;AACA;EACC;EACA;EACA;EACA;;;AAOA;EACC;EACA;EAMA;;AAJA;EACC;;AAMF;EACC;EACA;EACA;;;AAIF;EACC;;;AAGD;AAAA;AAAA;AAIA;EACC;EACA;EAEA;EACA;EACA;EAEA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EAEA;EACA;EACA;EACA;EAEA;;;AAGD;EACC;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;;;AAGD;EACC;EACA;AAAe;EACf;EACA;EAEA;EACA;;;AAGD;EACC;EACA;EACA;EAEA;EACA;;;AAGD;EACC;EACA;;;AAGD;EACC;;;AAGD;AAAA;AAAA;AAAA;AAIA;EACC;;;AAID;AAAA;AAAA;AAIA;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EAEA;EACA;EACA;EAEA;;;AAGJ;EACI;;AAEH;EACC;;;AAIF;EACI;;;AAGJ;EACC;EACA;EACA;;;AAGD;AACA;EACC;EAEA;EACA;EACA;EAEA;;;AAGD;EACC;EACA;;;AAGD;AACC;;;AAGD;EACC;EACA;;;AAED;EACC;;;AAGD;AAKA;EAGI;EACH;EACG,QAJgB;EAKhB,OATc;EAWd,cAVoB;EAWvB;EACG;EAEH;EACG;EACA;EACA;EAEH;;AAEA;EACC;EACA;EAEA;EACA;EAEA;EACA;EACA;;;AAIF;EACC;;;AAGD;EACI;EACA;EACA;EAEA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;AAAA;AAAA;AAIA;EACC;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEG;EACA;;;AAGJ;EACI;;;AAIH;EACC;EACA;EAEA;EAEA;EACA;EACA;;AAEA;EACC;EACA;;AAGD;EACC;EACA;EACA;;AAIF;EACC;EACA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EAEA;EACA;EAEA;EACA;EAEA;;AAGD;EACC;EACA;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;;AAGD;AACC;EACA;;AAQF;EACC;;;AAGD;EACC;;;AAIA;EACC;EACA;;AAGD;EACC;;AAGD;EACC;EACA;EACA;;AAEA;EACC;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;;;AAKH;EACC;EACA;;;AAGD;EACC;EACA;EACG;EACA;;;AAGJ;EACC;EACA;EACA;;;AAGD;EACC;;;AAGD;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACC;EACA;EAEA;;;AAGD;EACC;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;;;AAGD;EACI;EACA;;;AAGJ;AAAA;AAAA;AAIA;AAGA;EAEC,OAJuB;EAKvB,cAJwB;;;AAOzB;EACC;EACA;;;AAGD;EACC;EACA;;;AAGD;EACC;;AAEA;EACC;EACA;;;AAIF;EACC;EACA;EACA;EACA;;;AAGD;AAAA;EAEC;EACA;EACA;;;AAGD;AAAA;EAEC;;;AAGD;EACC;;;AAGD;AACC;AAAA;EAEA;EACA;;;AAGD;EACC;EACA;;;AAGD;EACC;EAEA;EACA;EACA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;;;AAGD;EACC;;;AAGD;EACC;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;EACA;EAEA;EAEA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;EAEA;EACA;EAEA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;;;AAGD;AAAA;AAAA;AAIA;AAAA;AAAA;AAGA;AAuBC;;AArBA;EACC;;AAGD;EACC;;AAGD;EACC;;AAIA;EACC;;AAED;EACC;;AAKF;EACC;;AAEA;EACC;;AAGD;EACC;;AAGD;EACC;;;AAKH;EACC;EACA;EACA;;;AAKD;EACC,cAH0B;EAI1B;EACA;EACA;;;AAGD;EACC;;AAEA;EACC,cAbyB;;AAgB1B;EACC;EACA;;AAGD;AAAA;EAEC;EACA;;AAGD;EACC;EACA;;AAGD;EACC;;AAIA;EACC;;;AAQF;EACC;EACA;EACA;EACA;;AAGD;EACC;;AAID;EACC;;AAED;EACC;;AAKA;EACC;;AAED;EACC;;;AAQF;EACC;;;AAIF;AACA;EACC;EACA;EAEA;EACA;EACA;EAEA;EACA;EAGA;EAEA;EACA;;;AAGD;EACC;EAEA;EACA;EACA;EACA;EACA;EAEA;EAEA;;;AAGD;EACC;;;AAID;EAGC,WAFgB;EAGhB,QAHgB;EAIhB,OAJgB;EAOhB;EAEA;EACA;EACA;;;AAGD;EACC;;;AAGD;AAAA;AAAA;AAQA;EAEC;EACA,SAFoB;;;AAKrB;EACC;;AAEA;EACC;EACA;EACA;EAEA;EACA;EACA;EAEA,OAtBwB;EAuBxB,QAtByB;EAwBzB;EACA;EACA;;AAGD;EACC;;AAGD;EACC;EACA;EACA;EACA;EACA;;AAGD;EACC;EAGA,KAFc;EAGd,MA7C0B;EA8C1B,OA9C0B;EAiD1B;EAEA;EACA;;AAGD;EACC;EAGA;EACA;EACA;EACA;;AAEA;EACC;EACA;EAEA;EACA;;AAGD;EACC;EACA;;AAGD;EACC;;AAGD;EACC;;AAKD;EACC;;AAGD;EACC;;AAID;EACC;;AAMD;EACC;;AAED;EACC;;AAED;EACC;;AAGD;EACC;;AAKA;EACC;;AAaH;EACC;EACA;EACA;EAEA;EACA;;AAGD;EACC;EACA;EACA;EACA;EACA;;;AAIF;EACC;EACA,OAzJ2B;EA0J3B,QA1J2B;EA4J3B;EACA;;;AAKD;AAAA;AAAA;AAIA;EACI;;;AAMJ;AAAA;AAAA;AAIA;EACC;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;;;AAID;EACC;;;AAID;EACC;EACA;EACA;;;AAGD;EACC;;;AAGD;EACC;;;AAGD;EACC;EACA;EAEA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;;;AAGD;EACC;EACA;EACA;;;AAIA;EACC;EACA;;AAGD;EACC;EACA;;AAGD;EACC;;AAGD;EACC;EACA;;AAGD;EACC;;AAGD;EACC;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;;AAGD;EACC;;;AAIF;EAEC;EACA;;;AAGD;EACC;;AAEA;EACC;EACA;EACA;;AAGD;EACC;;AAGD;EACC;EACA;EACA;;;AAIF;AAAA;AAAA;AAGA;EACC;;;AAGD;AAAA;AAAA;AAIA;EACC;EACA;EAEA;EACA;EACA;EAEA;EACA;;AAEA;EACC;EACA;;AAGD;EAEC,aAr0CyB;EAs0CzB,gBAt0CyB;;AAy0C1B;EACC;;AAGD;EACC;;AAEA;EACC;;;AAKH;AAAA;AAAA;AAIA;EACC;EACA;EACA;;;AAIA;EACC;EACA;;AAGD;EACC;EACA;;AAGD;EACC;;;AAIF;EACC;;;AAGD;AACC;AAAA;;;AAID;AAAA;AAAA;AAIA;EACC;;;AAGD;AAAA;AAAA;AAKC;EACC;;AAGD;EACC;EACA;EACA;;AAGD;EACC;EACA;EACA;;;AAIF;AAAA;AAAA;AAIA;EACI;EAEH;EACA;EAEA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;EAEA;;;AAGD;EACC;EAEA;;;AAGD;EACC;;;AAGD;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EAEA;EACA;EAEA;;;AAGJ;EACI;EACA;EAEA;EACA;;;AAGJ;EACI;;;AGlsEJ;AAAA;AAAA;AAIA;EACC;EACA;;;AAGD;EAEC;;;AAGD;EACC;EACA;EAEA;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;EAEA;EACA;EACA;;;AAGD;EACC;EACA;EACA;EAEA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;;AAGD;EACC;EACA;EACA;EACA;;;AAGD;EACC;EACA;EACA;;AAEA;EACC;EACA;EACA;EACA;;;AAIF;EACC;EACA;EAEA;EACA;EACA;EACA;;;AAGD;EACC;EACA;EAEA;EACA;;;AAGD;EACC;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA;EACA;;;AAGD;EACC;EACA;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EAEA;EACA;;AAEA;EACC;;;AAIF;EACC;EACA;;;AAGD;EACC;;;ACjID;AAAA;AAAA;AAKC;EACC;;AAGD;EACC;EACA;EACA;;;AAIF;;AAAA;AAAA;AAAA;AAMA;EACC;;;AAIA;EACC;;;AAIF;AAAA;AAEA;EACC","file":"menu-editor.css"}
css/menu-editor.scss CHANGED
@@ -1,6 +1,7 @@
1
  /* Admin Menu Editor CSS file */
2
 
3
  @import "boxes";
 
4
 
5
  #ws_menu_editor {
6
  min-width: 780px;
@@ -196,7 +197,7 @@ $mainContainerBorderColor: $amePostboxBorderColor; //Was #cdd5d5 before WP 5.3.
196
 
197
  display: block;
198
  width: $itemWidth;
199
-
200
  padding : $itemPadding;
201
  margin: 2px 0 2px $itemHorizontalMargin;
202
 
@@ -237,8 +238,8 @@ $mainContainerBorderColor: $amePostboxBorderColor; //Was #cdd5d5 before WP 5.3.
237
  cursor: pointer;
238
  display:block;
239
  width: 40px;
240
- height: 22px;
241
-
242
  border-radius: 3px;
243
  -moz-border-radius: 3px;
244
  -webkit-border-radius: 3px;
@@ -337,7 +338,7 @@ $mainContainerBorderColor: $amePostboxBorderColor; //Was #cdd5d5 before WP 5.3.
337
  border-radius: 2px;
338
  border-top-right-radius: 0;
339
 
340
- -moz-border-radius: 2px;
341
  -moz-border-radius-topright: 0;
342
 
343
  -webkit-border-radius: 2px;
@@ -399,7 +400,7 @@ $mainContainerBorderColor: $amePostboxBorderColor; //Was #cdd5d5 before WP 5.3.
399
  .ws_reset_button {
400
  display: block;
401
  float: right;
402
-
403
  margin-left: 4px;
404
  margin-top: 2px;
405
  margin-right: 6px;
@@ -436,7 +437,7 @@ $mainContainerBorderColor: $amePostboxBorderColor; //Was #cdd5d5 before WP 5.3.
436
  $basicInputWidth: 254px;
437
  $basicInputWp53Height: 28px;
438
 
439
- #ws_menu_editor .ws_editbox input[type="text"],
440
  #ws_menu_editor .ws_editbox select {
441
  display: block;
442
  float: left;
@@ -482,10 +483,10 @@ $dropdownButtonWidth: 25px;
482
  width: $dropdownButtonWidth;
483
  height: 25px;
484
  min-height: 25px;
485
-
486
  margin: 1px 1px 1px 0;
487
  padding: 0 1px 0 0;
488
-
489
  text-align: center;
490
 
491
  font-family: dashicons;
@@ -494,7 +495,7 @@ $dropdownButtonWidth: 25px;
494
 
495
  border-color: #dfdfdf;
496
  box-shadow: none;
497
-
498
  border-top-right-radius: 3px;
499
  border-bottom-right-radius: 3px;
500
  border-top-left-radius: 0;
@@ -542,7 +543,7 @@ to accommodate the drop-down button.
542
  {
543
  margin-right: 0;
544
  border-right: 0;
545
-
546
  border-top-right-radius: 0;
547
  border-bottom-right-radius: 0;
548
  }
@@ -694,7 +695,7 @@ to accommodate the drop-down button.
694
 
695
  width: 16px;
696
  height: 16px;
697
-
698
  border-radius: 3px;
699
  -moz-border-radius: 3px;
700
  -webkit-border-radius: 3px;
@@ -739,11 +740,11 @@ a.ws_button.ws_button_disabled:hover {
739
  select.ws_dropdown {
740
  width: 252px;
741
  height: 20em;
742
-
743
  z-index: 1002;
744
  position: absolute;
745
  display: none;
746
-
747
  font-family : "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;
748
  font-size: 12px;
749
  }
@@ -810,6 +811,8 @@ $activeToolTabBackground: #FDFDFD;
810
  Icon selector
811
  *************************************/
812
 
 
 
813
  #ws_icon_selector {
814
  border: 1px solid silver;
815
  border-radius: 3px;
@@ -869,9 +872,15 @@ $activeToolTabBackground: #FDFDFD;
869
  background-image: none;
870
  }
871
 
872
- #ws_icon_selector .icon16 {
873
  float: none;
874
  margin: 0;
 
 
 
 
 
 
875
  }
876
 
877
  #ws_icon_selector .ws_icon_option .ws_icon_image.dashicons {
@@ -911,23 +920,16 @@ $activeToolTabBackground: #FDFDFD;
911
  }
912
  }
913
 
914
- /* Current icon node (CSS class version, for the built-in WP icon sprites) */
915
- .ws_select_icon .icon16 {
916
- margin: 0;
917
- float: none;
918
  padding: 3px;
919
 
920
- /*
921
- The default .icon16 style has a 6px padding which would normally make it too large
922
- to fit in the button. We can't change the padding without making the background-position
923
- look wrong, so lets offset the icon so that it fits.
924
- */
925
- position: relative;
926
- top: -3px;
927
- left: -3px;
928
 
929
- .ame-is-wp53-plus & {
930
- top: -1px;
 
931
  }
932
  }
933
 
@@ -961,16 +963,6 @@ $activeToolTabBackground: #FDFDFD;
961
  }
962
  }
963
 
964
- /* MP6 admin style compatibility */
965
- #ws_icon_selector .ws_icon_option .icon16::before {
966
- margin: 0;
967
- padding: 0;
968
- }
969
- .ws_select_icon .icon16::before {
970
- padding: 0;
971
- margin: 1px 0 0 2px;
972
- }
973
-
974
  #ws_choose_icon_from_media {
975
  margin: 2px;
976
  }
@@ -1749,7 +1741,7 @@ $userSelectionPanelPadding: 10px;
1749
 
1750
  #ws_user_selection_panels {
1751
  min-width: $userSelectionPanelWidth * 2 + $userSelectionPanelPadding;
1752
-
1753
  .ws_user_selection_panel {
1754
  display: block;
1755
  float: left;
1
  /* Admin Menu Editor CSS file */
2
 
3
  @import "boxes";
4
+ @import "input-group";
5
 
6
  #ws_menu_editor {
7
  min-width: 780px;
197
 
198
  display: block;
199
  width: $itemWidth;
200
+
201
  padding : $itemPadding;
202
  margin: 2px 0 2px $itemHorizontalMargin;
203
 
238
  cursor: pointer;
239
  display:block;
240
  width: 40px;
241
+ height: 22px;
242
+
243
  border-radius: 3px;
244
  -moz-border-radius: 3px;
245
  -webkit-border-radius: 3px;
338
  border-radius: 2px;
339
  border-top-right-radius: 0;
340
 
341
+ -moz-border-radius: 2px;
342
  -moz-border-radius-topright: 0;
343
 
344
  -webkit-border-radius: 2px;
400
  .ws_reset_button {
401
  display: block;
402
  float: right;
403
+
404
  margin-left: 4px;
405
  margin-top: 2px;
406
  margin-right: 6px;
437
  $basicInputWidth: 254px;
438
  $basicInputWp53Height: 28px;
439
 
440
+ #ws_menu_editor .ws_editbox input[type="text"],
441
  #ws_menu_editor .ws_editbox select {
442
  display: block;
443
  float: left;
483
  width: $dropdownButtonWidth;
484
  height: 25px;
485
  min-height: 25px;
486
+
487
  margin: 1px 1px 1px 0;
488
  padding: 0 1px 0 0;
489
+
490
  text-align: center;
491
 
492
  font-family: dashicons;
495
 
496
  border-color: #dfdfdf;
497
  box-shadow: none;
498
+
499
  border-top-right-radius: 3px;
500
  border-bottom-right-radius: 3px;
501
  border-top-left-radius: 0;
543
  {
544
  margin-right: 0;
545
  border-right: 0;
546
+
547
  border-top-right-radius: 0;
548
  border-bottom-right-radius: 0;
549
  }
695
 
696
  width: 16px;
697
  height: 16px;
698
+
699
  border-radius: 3px;
700
  -moz-border-radius: 3px;
701
  -webkit-border-radius: 3px;
740
  select.ws_dropdown {
741
  width: 252px;
742
  height: 20em;
743
+
744
  z-index: 1002;
745
  position: absolute;
746
  display: none;
747
+
748
  font-family : "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif;
749
  font-size: 12px;
750
  }
811
  Icon selector
812
  *************************************/
813
 
814
+ $iconFontColor: #85888c;
815
+
816
  #ws_icon_selector {
817
  border: 1px solid silver;
818
  border-radius: 3px;
872
  background-image: none;
873
  }
874
 
875
+ #ws_icon_selector .ws_icon_option .ws_icon_image {
876
  float: none;
877
  margin: 0;
878
+ padding: 0;
879
+
880
+ &:before {
881
+ color: $iconFontColor;
882
+ display: inline-block;
883
+ }
884
  }
885
 
886
  #ws_icon_selector .ws_icon_option .ws_icon_image.dashicons {
920
  }
921
  }
922
 
923
+ .ws_select_icon .ws_icon_image {
924
+ color: $iconFontColor;
 
 
925
  padding: 3px;
926
 
927
+ &.dashicons {
928
+ padding: 3px 2px;
 
 
 
 
 
 
929
 
930
+ &:before {
931
+ width: 20px;
932
+ }
933
  }
934
  }
935
 
963
  }
964
  }
965
 
 
 
 
 
 
 
 
 
 
 
966
  #ws_choose_icon_from_media {
967
  margin: 2px;
968
  }
1741
 
1742
  #ws_user_selection_panels {
1743
  min-width: $userSelectionPanelWidth * 2 + $userSelectionPanelPadding;
1744
+
1745
  .ws_user_selection_panel {
1746
  display: block;
1747
  float: left;
includes/access-test-runner.php CHANGED
@@ -217,6 +217,7 @@ class ameAccessTestRunner implements ArrayAccess {
217
  * The return value will be casted to boolean if non-boolean was returned.
218
  * @since 5.0.0
219
  */
 
220
  public function offsetExists($offset) {
221
  return array_key_exists($offset, $this->access_test_results);
222
  }
@@ -231,6 +232,7 @@ class ameAccessTestRunner implements ArrayAccess {
231
  * @return mixed Can return all value types.
232
  * @since 5.0.0
233
  */
 
234
  public function offsetGet($offset) {
235
  return $this->access_test_results[$offset];
236
  }
@@ -248,6 +250,7 @@ class ameAccessTestRunner implements ArrayAccess {
248
  * @return void
249
  * @since 5.0.0
250
  */
 
251
  public function offsetSet($offset, $value) {
252
  $this->access_test_results[$offset] = $value;
253
  }
@@ -262,6 +265,7 @@ class ameAccessTestRunner implements ArrayAccess {
262
  * @return void
263
  * @since 5.0.0
264
  */
 
265
  public function offsetUnset($offset) {
266
  unset($this->access_test_results[$offset]);
267
  }
217
  * The return value will be casted to boolean if non-boolean was returned.
218
  * @since 5.0.0
219
  */
220
+ #[\ReturnTypeWillChange]
221
  public function offsetExists($offset) {
222
  return array_key_exists($offset, $this->access_test_results);
223
  }
232
  * @return mixed Can return all value types.
233
  * @since 5.0.0
234
  */
235
+ #[\ReturnTypeWillChange]
236
  public function offsetGet($offset) {
237
  return $this->access_test_results[$offset];
238
  }
250
  * @return void
251
  * @since 5.0.0
252
  */
253
+ #[\ReturnTypeWillChange]
254
  public function offsetSet($offset, $value) {
255
  $this->access_test_results[$offset] = $value;
256
  }
265
  * @return void
266
  * @since 5.0.0
267
  */
268
+ #[\ReturnTypeWillChange]
269
  public function offsetUnset($offset) {
270
  unset($this->access_test_results[$offset]);
271
  }
includes/ame-option.php ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace YahnisElsts\AdminMenuEditor\Options;
4
+
5
+ /**
6
+ * A simplified PHP version of the Option class from Scala.
7
+ *
8
+ * It is also heavily inspired by the phpoption/phpoption package by Johannes M. Schmitt,
9
+ * though this version is designed to support PHP 5.6 and does not require PHP 7.0+.
10
+ *
11
+ * @template T
12
+ */
13
+ abstract class Option implements \IteratorAggregate {
14
+ /**
15
+ * @return boolean
16
+ */
17
+ abstract public function isDefined();
18
+
19
+ /**
20
+ * @return boolean
21
+ */
22
+ public function isEmpty() {
23
+ return !$this->isDefined();
24
+ }
25
+
26
+ public function nonEmpty() {
27
+ return $this->isDefined();
28
+ }
29
+
30
+ /**
31
+ * @return T
32
+ * @throws \RuntimeException If the option is empty.
33
+ */
34
+ abstract public function get();
35
+
36
+ /**
37
+ * @param T $default
38
+ * @return T
39
+ */
40
+ abstract public function getOrElse($default);
41
+
42
+ /**
43
+ * @param callable():T $callable
44
+ * @return T
45
+ */
46
+ abstract public function getOrCall($callable);
47
+
48
+ /**
49
+ * @param Option<T> $alternative
50
+ * @return Option<T>
51
+ */
52
+ abstract public function orElse(self $alternative);
53
+
54
+ /**
55
+ * @template R
56
+ * @param callable(T):R $callable
57
+ * @return Option<R>
58
+ */
59
+ abstract public function map($callable);
60
+
61
+ /**
62
+ * @template R
63
+ * @param callable(T):Option<R> $callable
64
+ * @return Option<R>
65
+ */
66
+ abstract public function flatMap($callable);
67
+
68
+ /**
69
+ * Apply the given function to the option's value, if it's not empty.
70
+ *
71
+ * This is called "each" and not "forEach" because "foreach" is a keyword,
72
+ * which means it can't be used as a function name before PHP 7.0.
73
+ *
74
+ * @param callable(T):void $callable
75
+ * @return $this The same option instance.
76
+ */
77
+ abstract public function each($callable);
78
+
79
+ /**
80
+ * Check if the option contains the specified value.
81
+ *
82
+ * @param mixed $value
83
+ * @return boolean
84
+ */
85
+ abstract public function contains($value);
86
+
87
+
88
+ /**
89
+ * @template A
90
+ * @param A $value
91
+ * @param mixed $emptyValue
92
+ * @return Option<A>
93
+ */
94
+ public static function fromValue($value, $emptyValue = null) {
95
+ if ( $value === $emptyValue ) {
96
+ return None::getInstance();
97
+ } else {
98
+ return new Some($value);
99
+ }
100
+ }
101
+
102
+ /**
103
+ * @template A
104
+ * @param callable():A $callable
105
+ * @return Option<A>
106
+ */
107
+ public static function fromCallable($callable, $arguments = array()) {
108
+ return new LazyOption($callable, $arguments);
109
+ }
110
+ }
111
+
112
+ /**
113
+ * @template T
114
+ * @extends Option<T>
115
+ */
116
+ final class Some extends Option {
117
+ /**
118
+ * @var mixed
119
+ */
120
+ private $value;
121
+
122
+ public function __construct($value) {
123
+ $this->value = $value;
124
+ }
125
+
126
+ public function isDefined() {
127
+ return true;
128
+ }
129
+
130
+ public function get() {
131
+ return $this->value;
132
+ }
133
+
134
+ public function getOrElse($default) {
135
+ return $this->value;
136
+ }
137
+
138
+ public function getOrCall($callable) {
139
+ return $this->value;
140
+ }
141
+
142
+ public function orElse(Option $alternative) {
143
+ return $this;
144
+ }
145
+
146
+ public function map($callable) {
147
+ return new self($callable($this->value));
148
+ }
149
+
150
+ public function flatMap($callable) {
151
+ return $callable($this->value);
152
+ }
153
+
154
+ public function each($callable) {
155
+ $callable($this->value);
156
+ return $this;
157
+ }
158
+
159
+ public function contains($value) {
160
+ return ($this->value === $value);
161
+ }
162
+
163
+ #[\ReturnTypeWillChange]
164
+ public function getIterator() {
165
+ return new \ArrayIterator([$this->value]);
166
+ }
167
+ }
168
+
169
+ final class None extends Option {
170
+ /**
171
+ * @var null|self
172
+ */
173
+ private static $instance = null;
174
+
175
+ private function __construct() {
176
+ //Prevent others from instantiating this class.
177
+ }
178
+
179
+ public static function getInstance() {
180
+ if ( self::$instance === null ) {
181
+ self::$instance = new self();
182
+ }
183
+ return self::$instance;
184
+ }
185
+
186
+ public function isDefined() {
187
+ return false;
188
+ }
189
+
190
+ public function get() {
191
+ throw new \RuntimeException('Option is empty.');
192
+ }
193
+
194
+ public function getOrElse($default) {
195
+ return $default;
196
+ }
197
+
198
+ public function getOrCall($callable) {
199
+ return $callable();
200
+ }
201
+
202
+ public function orElse(Option $alternative) {
203
+ return $alternative;
204
+ }
205
+
206
+ public function map($callable) {
207
+ return $this;
208
+ }
209
+
210
+ public function flatMap($callable) {
211
+ return $this;
212
+ }
213
+
214
+ public function each($callable) {
215
+ //Intentionally does nothing.
216
+ return $this;
217
+ }
218
+
219
+ public function contains($value) {
220
+ return false;
221
+ }
222
+
223
+ #[\ReturnTypeWillChange]
224
+ public function getIterator() {
225
+ return new \EmptyIterator();
226
+ }
227
+ }
228
+
229
+ /**
230
+ * Lazy version of the Option class.
231
+ *
232
+ * This class just has an internal, lazy-initialized option, and it forwards all
233
+ * method calls to that option.
234
+ *
235
+ * @template T
236
+ * @extends Option<T>
237
+ */
238
+ class LazyOption extends Option {
239
+ /**
240
+ * @var callable
241
+ */
242
+ private $callback;
243
+ /**
244
+ * @var array
245
+ */
246
+ private $arguments;
247
+
248
+ /**
249
+ * @var Option<T>|null
250
+ */
251
+ private $innerOption = null;
252
+
253
+ public function __construct($callback, $arguments = array()) {
254
+ if ( !is_callable($callback) ) {
255
+ throw new \InvalidArgumentException('$callback must be a valid callable.');
256
+ }
257
+
258
+ $this->callback = $callback;
259
+ $this->arguments = $arguments;
260
+ }
261
+
262
+ private function resolve() {
263
+ if ( $this->innerOption === null ) {
264
+ $value = call_user_func_array($this->callback, $this->arguments);
265
+ if ( $value instanceof Option ) {
266
+ $this->innerOption = $value;
267
+ } else {
268
+ $this->innerOption = Option::fromValue($value);
269
+ }
270
+ }
271
+ return $this->innerOption;
272
+ }
273
+
274
+ public function isDefined() {
275
+ return $this->resolve()->isDefined();
276
+ }
277
+
278
+ public function get() {
279
+ return $this->resolve()->get();
280
+ }
281
+
282
+ public function getOrElse($default) {
283
+ return $this->resolve()->getOrElse($default);
284
+ }
285
+
286
+ public function getOrCall($callable) {
287
+ return $this->resolve()->getOrCall($callable);
288
+ }
289
+
290
+ public function orElse(Option $alternative) {
291
+ return $this->resolve()->orElse($alternative);
292
+ }
293
+
294
+ public function map($callable) {
295
+ return $this->resolve()->map($callable);
296
+ }
297
+
298
+ public function flatMap($callable) {
299
+ return $this->resolve()->flatMap($callable);
300
+ }
301
+
302
+ public function each($callable) {
303
+ $this->resolve()->each($callable);
304
+ return $this;
305
+ }
306
+
307
+ public function contains($value) {
308
+ return $this->resolve()->contains($value);
309
+ }
310
+
311
+ #[\ReturnTypeWillChange]
312
+ public function getIterator() {
313
+ return $this->resolve()->getIterator();
314
+ }
315
+ }
includes/ame-utils.php CHANGED
@@ -4,13 +4,42 @@
4
  * Miscellaneous utility functions.
5
  */
6
  class ameUtils {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
 
8
  /**
9
  * Get a value from a nested array or object based on a path.
10
  *
11
  * @param array|object $array Get an entry from this array.
12
  * @param array|string $path A list of array keys in hierarchy order, or a string path like "foo.bar.baz".
13
- * @param mixed $default The value to return if the specified path is not found.
14
  * @param string $separator Path element separator. Only applies to string paths.
15
  * @return mixed
16
  */
@@ -91,7 +120,7 @@ class ameUtils {
91
 
92
  if ( $hasUnicodeSupport ) {
93
  $totalLength = mb_strlen($input);
94
- $words = preg_split('/([\s\-_]++)/u', $input, null, PREG_SPLIT_DELIM_CAPTURE);
95
  $output = array();
96
  foreach ($words as $word) {
97
  $firstCharacter = mb_substr($word, 0, 1, $charset);
@@ -120,6 +149,104 @@ class ameUtils {
120
  $sameItems = array_intersect_assoc($a, $b);
121
  return count($sameItems) === $secondArraySize;
122
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  }
124
 
125
  class ameFileLock {
@@ -347,28 +474,34 @@ class ameOrderedMap implements Iterator, Countable {
347
  return $this;
348
  }
349
 
 
350
  public function current() {
351
  return $this->currentNode->value;
352
  }
353
 
 
354
  public function next() {
355
  if ( $this->currentNode !== null ) {
356
  $this->currentNode = $this->currentNode->next;
357
  }
358
  }
359
 
 
360
  public function key() {
361
  return $this->currentNode->key;
362
  }
363
 
 
364
  public function valid() {
365
  return ($this->currentNode !== null);
366
  }
367
 
 
368
  public function rewind() {
369
  $this->currentNode = $this->head;
370
  }
371
 
 
372
  public function count() {
373
  return count($this->nodesByKey);
374
  }
4
  * Miscellaneous utility functions.
5
  */
6
  class ameUtils {
7
+ /**
8
+ * HTML tags allowed in WP_Error messages and titles.
9
+ *
10
+ * This is based on the default list of allowed tags in /wp-includes/kses.php.
11
+ */
12
+ const ALLOWED_WP_ERROR_TAGS = array(
13
+ 'abbr' => array(
14
+ 'title' => true,
15
+ ),
16
+ 'acronym' => array(
17
+ 'title' => true,
18
+ ),
19
+ 'b' => array(),
20
+ 'blockquote' => array(
21
+ 'cite' => true,
22
+ ),
23
+ 'cite' => array(),
24
+ 'code' => array(),
25
+ 'del' => array(
26
+ 'datetime' => true,
27
+ ),
28
+ 'em' => array(),
29
+ 'i' => array(),
30
+ 'q' => array(
31
+ 'cite' => true,
32
+ ),
33
+ 's' => array(),
34
+ 'strong' => array(),
35
+ );
36
 
37
  /**
38
  * Get a value from a nested array or object based on a path.
39
  *
40
  * @param array|object $array Get an entry from this array.
41
  * @param array|string $path A list of array keys in hierarchy order, or a string path like "foo.bar.baz".
42
+ * @param mixed $default The value to return if the specified path is not found. Defaults to NULL.
43
  * @param string $separator Path element separator. Only applies to string paths.
44
  * @return mixed
45
  */
120
 
121
  if ( $hasUnicodeSupport ) {
122
  $totalLength = mb_strlen($input);
123
+ $words = preg_split('/([\s\-_]++)/u', $input, -1, PREG_SPLIT_DELIM_CAPTURE);
124
  $output = array();
125
  foreach ($words as $word) {
126
  $firstCharacter = mb_substr($word, 0, 1, $charset);
149
  $sameItems = array_intersect_assoc($a, $b);
150
  return count($sameItems) === $secondArraySize;
151
  }
152
+
153
+ /**
154
+ * Escape a WP_Error object for passing it to wp_die().
155
+ *
156
+ * Converts special characters in error messages to HTML entities.
157
+ * Returns a new WP_Error instance. Does not modify the input object.
158
+ *
159
+ * @param WP_Error $error
160
+ * @return WP_Error New WP_Error instance.
161
+ */
162
+ public static function escapeWpError($error) {
163
+ return self::copyErrorWithFilter($error, 'esc_html');
164
+ }
165
+
166
+ /**
167
+ * Strip disallowed HTML from a WP_Error object.
168
+ *
169
+ * @param WP_Error $error
170
+ * @return WP_Error New WP_Error instance.
171
+ */
172
+ public static function ksesWpError($error) {
173
+ return self::copyErrorWithFilter($error, array(__CLASS__, 'ksesCallbackForErrors'));
174
+ }
175
+
176
+ protected static function ksesCallbackForErrors($message) {
177
+ return wp_kses($message, self::ALLOWED_WP_ERROR_TAGS);
178
+ }
179
+
180
+ /**
181
+ * Copy a WP_Error object and apply a filter callback to each message.
182
+ *
183
+ * Also, if an error has a data item that's an array with a 'title' key,
184
+ * this escapes HTML in the title.
185
+ *
186
+ * @param \WP_Error $error
187
+ * @param callable $callback
188
+ * @return \WP_Error
189
+ */
190
+ protected static function copyErrorWithFilter($error, $callback) {
191
+ $result = new WP_Error();
192
+ $canGetAllData = method_exists($error, 'get_all_error_data'); //WP 5.6+
193
+
194
+ foreach ($error->get_error_codes() as $code) {
195
+ foreach ($error->get_error_messages($code) as $message) {
196
+ $result->add($code, call_user_func($callback, $message));
197
+ }
198
+
199
+ if ( $canGetAllData ) {
200
+ $dataItems = $error->get_all_error_data($code);
201
+ } else {
202
+ $data = $error->get_error_data($code);
203
+ if ( $data !== null ) {
204
+ $dataItems = array($data);
205
+ } else {
206
+ $dataItems = array();
207
+ }
208
+ }
209
+
210
+ foreach ($dataItems as $data) {
211
+ //Page titles should never contain unescaped HTML tags.
212
+ //As of this writing, this plugin doesn't put titles in error data,
213
+ //but other code might, and wp_die() supports it.
214
+ if ( isset($data['title']) ) {
215
+ $data['title'] = esc_html($data['title']);
216
+ }
217
+ $result->add_data($data, $code);
218
+ }
219
+ }
220
+
221
+ return $result;
222
+ }
223
+
224
+ /**
225
+ * Get the first element of an iterable collection.
226
+ *
227
+ * @param iterable $collection Array, Traversable, Generator, etc.
228
+ * @param mixed $defaultValue Value to return if the collection is empty.
229
+ * @return mixed
230
+ */
231
+ public static function getFirstItem($collection, $defaultValue = null) {
232
+ foreach ($collection as $value) {
233
+ return $value;
234
+ }
235
+ return $defaultValue;
236
+ }
237
+ }
238
+
239
+ /**
240
+ * @see ameUtils::escapeWpError
241
+ *
242
+ * This function exists because the "EscapeOutput" sniff in the WordPress coding standards
243
+ * doesn't understand class methods.
244
+ *
245
+ * @param \WP_Error $error
246
+ * @return \WP_Error
247
+ */
248
+ function wsAmeEscapeWpError($error) {
249
+ return ameUtils::escapeWpError($error);
250
  }
251
 
252
  class ameFileLock {
474
  return $this;
475
  }
476
 
477
+ #[\ReturnTypeWillChange]
478
  public function current() {
479
  return $this->currentNode->value;
480
  }
481
 
482
+ #[\ReturnTypeWillChange]
483
  public function next() {
484
  if ( $this->currentNode !== null ) {
485
  $this->currentNode = $this->currentNode->next;
486
  }
487
  }
488
 
489
+ #[\ReturnTypeWillChange]
490
  public function key() {
491
  return $this->currentNode->key;
492
  }
493
 
494
+ #[\ReturnTypeWillChange]
495
  public function valid() {
496
  return ($this->currentNode !== null);
497
  }
498
 
499
+ #[\ReturnTypeWillChange]
500
  public function rewind() {
501
  $this->currentNode = $this->head;
502
  }
503
 
504
+ #[\ReturnTypeWillChange]
505
  public function count() {
506
  return count($this->nodesByKey);
507
  }
includes/editor-page.php CHANGED
@@ -544,28 +544,6 @@ function ame_register_sort_buttons($toolbar) {
544
  <div class="ws_tool_tab" id="ws_core_icons_tab">
545
 
546
  <?php
547
- //The old "menu-icon-something" icons are only available in WP 3.8.x and below. Newer versions use Dashicons.
548
- //Plugins can change $wp_version to something useless for security, so lets check if Dashicons are available
549
- //before we throw away the old icons.
550
- $oldMenuIconsAvailable = ( !$editor_data['dashicons_available'] )
551
- || version_compare($GLOBALS['wp_version'], '3.9-beta', '<');
552
-
553
- if ($oldMenuIconsAvailable) {
554
- $defaultWpIcons = array(
555
- 'generic', 'dashboard', 'post', 'media', 'links', 'page', 'comments',
556
- 'appearance', 'plugins', 'users', 'tools', 'settings', 'site',
557
- );
558
- foreach($defaultWpIcons as $icon) {
559
- printf(
560
- '<div class="ws_icon_option" title="%1$s" data-icon-class="menu-icon-%2$s">
561
- <div class="ws_icon_image icon16 icon-%2$s"><br></div>
562
- </div>',
563
- esc_attr(ucwords($icon)),
564
- esc_attr($icon)
565
- );
566
- }
567
- }
568
-
569
  //These dashicons are used in the default admin menu.
570
  $defaultDashicons = array(
571
  'admin-generic', 'dashboard', 'admin-post', 'admin-media', 'admin-links', 'admin-page', 'admin-comments',
@@ -612,7 +590,7 @@ function ame_register_sort_buttons($toolbar) {
612
  function ws_ame_print_dashicon_option($icon, $isExtraIcon = false) {
613
  printf(
614
  '<div class="ws_icon_option%3$s" title="%1$s" data-icon-url="dashicons-%2$s">
615
- <div class="ws_icon_image icon16 dashicons dashicons-%2$s"></div>
616
  </div>',
617
  esc_attr(ucwords(str_replace('-', ' ', $icon))),
618
  $icon,
@@ -620,10 +598,8 @@ function ame_register_sort_buttons($toolbar) {
620
  );
621
  }
622
 
623
- if ( !$oldMenuIconsAvailable ) {
624
- foreach($defaultDashicons as $icon) {
625
- ws_ame_print_dashicon_option($icon);
626
- }
627
  }
628
  foreach($dashicons as $icon) {
629
  ws_ame_print_dashicon_option($icon, true);
544
  <div class="ws_tool_tab" id="ws_core_icons_tab">
545
 
546
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
547
  //These dashicons are used in the default admin menu.
548
  $defaultDashicons = array(
549
  'admin-generic', 'dashboard', 'admin-post', 'admin-media', 'admin-links', 'admin-page', 'admin-comments',
590
  function ws_ame_print_dashicon_option($icon, $isExtraIcon = false) {
591
  printf(
592
  '<div class="ws_icon_option%3$s" title="%1$s" data-icon-url="dashicons-%2$s">
593
+ <div class="ws_icon_image dashicons dashicons-%2$s"></div>
594
  </div>',
595
  esc_attr(ucwords(str_replace('-', ' ', $icon))),
596
  $icon,
598
  );
599
  }
600
 
601
+ foreach($defaultDashicons as $icon) {
602
+ ws_ame_print_dashicon_option($icon);
 
 
603
  }
604
  foreach($dashicons as $icon) {
605
  ws_ame_print_dashicon_option($icon, true);
includes/menu-editor-core.php CHANGED
@@ -701,7 +701,7 @@ class WPMenuEditor extends MenuEd_ShadowPluginFramework {
701
  //Replace the admin menu just before it is displayed and restore it afterwards.
702
  //The fact that replace_wp_menu() is attached to the 'parent_file' hook is incidental;
703
  //there just wasn't any other, more suitable hook available.
704
- add_filter('parent_file', array($this, 'replace_wp_menu'));
705
  add_action('adminmenu', array($this, 'restore_wp_menu'));
706
 
707
  //A compatibility hack for Ozh's Admin Drop Down Menu. Make sure it also sees the modified menu.
@@ -4593,16 +4593,26 @@ class WPMenuEditor extends MenuEd_ShadowPluginFramework {
4593
  * @return WP_User|null
4594
  */
4595
  private function get_user_by_id($user_id) {
4596
- $current_user = wp_get_current_user();
4597
- if ( $current_user->ID == $user_id ) {
4598
- $user = $current_user;
4599
- } else {
 
 
 
 
 
 
 
4600
  $user = get_user_by('id', $user_id);
4601
  if ( $user === false ) {
4602
  return null;
 
 
4603
  }
4604
  }
4605
- return $user;
 
4606
  }
4607
 
4608
  /**
701
  //Replace the admin menu just before it is displayed and restore it afterwards.
702
  //The fact that replace_wp_menu() is attached to the 'parent_file' hook is incidental;
703
  //there just wasn't any other, more suitable hook available.
704
+ add_filter('parent_file', array($this, 'replace_wp_menu'), 1001);
705
  add_action('adminmenu', array($this, 'restore_wp_menu'));
706
 
707
  //A compatibility hack for Ozh's Admin Drop Down Menu. Make sure it also sees the modified menu.
4593
  * @return WP_User|null
4594
  */
4595
  private function get_user_by_id($user_id) {
4596
+ //Usually, pluggable functions will already be loaded by this point,
4597
+ //but there is at least one plugin that indirectly triggers this method
4598
+ //before wp_get_current_user() is available by checking user caps early.
4599
+ if ( function_exists('wp_get_current_user') ) {
4600
+ $current_user = wp_get_current_user();
4601
+ if ( $current_user && ($current_user->ID == $user_id) ) {
4602
+ return $current_user;
4603
+ }
4604
+ }
4605
+
4606
+ if ( function_exists('get_user_by') ) {
4607
  $user = get_user_by('id', $user_id);
4608
  if ( $user === false ) {
4609
  return null;
4610
+ } else {
4611
+ return $user;
4612
  }
4613
  }
4614
+
4615
+ return null;
4616
  }
4617
 
4618
  /**
js/actor-manager.js CHANGED
@@ -135,9 +135,9 @@ var AmeSuperAdmin = /** @class */ (function (_super) {
135
  }(AmeBaseActor));
136
  var AmeActorManager = /** @class */ (function () {
137
  function AmeActorManager(roles, users, isMultisite, suspectedMetaCaps) {
138
- var _this = this;
139
  if (isMultisite === void 0) { isMultisite = false; }
140
  if (suspectedMetaCaps === void 0) { suspectedMetaCaps = {}; }
 
141
  this.roles = {};
142
  this.users = {};
143
  this.grantedCapabilities = {};
135
  }(AmeBaseActor));
136
  var AmeActorManager = /** @class */ (function () {
137
  function AmeActorManager(roles, users, isMultisite, suspectedMetaCaps) {
 
138
  if (isMultisite === void 0) { isMultisite = false; }
139
  if (suspectedMetaCaps === void 0) { suspectedMetaCaps = {}; }
140
+ var _this = this;
141
  this.roles = {};
142
  this.users = {};
143
  this.grantedCapabilities = {};
js/actor-manager.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"actor-manager.js","sourceRoot":"","sources":["actor-manager.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,sCAAsC;AACtC,oCAAoC;;;;;;;;;;;;;;;;AAuBpC;IAQC,sBAAsB,EAAU,EAAE,WAAmB,EAAE,YAA2B,EAAE,gBAAoC;QAApC,iCAAA,EAAA,qBAAoC;QANjH,gBAAW,GAAW,6BAA6B,CAAC;QAI3D,gBAAW,GAAa,EAAE,CAAC;QAG1B,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;IAC1C,CAAC;IAED;;;;;;;;OAQG;IACH,gCAAS,GAAT,UAAU,UAAkB;QAC3B,IAAI,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE;YACjD,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;SACrC;QACD,IAAI,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE;YACrD,OAAO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EAAE;YACrD,MAAM,oDAAoD;gBAC1D,0FAA0F,CAAC;SAC3F;QAED,IAAI,aAAa,KAAK,IAAI,EAAE;YAC3B,yCAAyC;YACzC,IAAI,OAAO,KAAK,YAAY,EAAE;gBAC7B,iDAAiD;gBACjD,8CAA8C;gBAC9C,IAAI,CAAC,QAAQ,EAAE,CAAC;aAChB;iBAAM;gBACN,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;oBAC1C,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;iBACxC;aACD;SACD;aAAM;YACN,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;SACzC;IACF,CAAC;IACF,iCAAC;AAAD,CAAC,AAzKD,IAyKC;AAED,IAAI,OAAO,cAAc,KAAK,WAAW,EAAE;IAC1C,SAAS,GAAG,IAAI,eAAe,CAC9B,cAAc,CAAC,KAAK,EACpB,cAAc,CAAC,KAAK,EACpB,cAAc,CAAC,WAAW,EAC1B,cAAc,CAAC,iBAAiB,CAChC,CAAC;IAEF,IAAI,OAAO,cAAc,CAAC,UAAU,CAAC,KAAK,WAAW,EAAE;QACtD,SAAS,CAAC,6BAA6B,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,CAAC;KACpE;CACD"}
js/menu-editor.js CHANGED
@@ -1542,7 +1542,7 @@ var knownMenuFields = {
1542
  }
1543
 
1544
  var selectButton = input.closest('.ws_edit_field').find('.ws_select_icon');
1545
- var cssIcon = selectButton.find('.icon16');
1546
  var imageIcon = selectButton.find('img');
1547
 
1548
  var matches = cssClass.match(/\b(ame-)?menu-icon-([^\s]+)\b/);
@@ -1554,7 +1554,7 @@ var knownMenuFields = {
1554
  cssIcon.hide();
1555
  imageIcon.prop('src', iconUrl).show();
1556
  } else if ( iconFontMatches ) {
1557
- cssIcon.removeClass().addClass('icon16');
1558
  if ( iconFontMatches[2] === 'dashicons' ) {
1559
  //Dashicon.
1560
  cssIcon.addClass('dashicons ' + iconFontMatches[1]);
@@ -1568,12 +1568,12 @@ var knownMenuFields = {
1568
  //Other CSS-based icon.
1569
  imageIcon.hide();
1570
  var iconClass = (matches[1] ? matches[1] : '') + 'icon-' + matches[2];
1571
- cssIcon.removeClass().addClass('icon16 ' + iconClass).show();
1572
  } else {
1573
  //This menu has no icon at all. This is actually a valid state
1574
  //and WordPress will display a menu like that correctly.
1575
  imageIcon.hide();
1576
- cssIcon.removeClass().addClass('icon16').show();
1577
  }
1578
 
1579
  return displayValue;
@@ -1817,7 +1817,7 @@ function buildEditboxField(entry, field_name, field_settings){
1817
  case 'icon_selector':
1818
  //noinspection HtmlUnknownTag
1819
  inputBox = $(basicTextField)
1820
- .add('<button class="button ws_select_icon" title="Select icon"><div class="icon16 icon-settings"></div><img src="" style="display:none;" alt="Icon"></button>');
1821
  break;
1822
 
1823
  case 'color_scheme_editor':
@@ -5360,7 +5360,7 @@ function ameOnDomReady() {
5360
  }
5361
  });
5362
 
5363
- //Set up menu field toltips.
5364
  menuEditorNode.on('mouseenter click', '.ws_edit_field .ws_field_tooltip_trigger', function(event) {
5365
  var $trigger = $(this),
5366
  fieldName = $trigger.closest('.ws_edit_field').data('field_name');
1542
  }
1543
 
1544
  var selectButton = input.closest('.ws_edit_field').find('.ws_select_icon');
1545
+ var cssIcon = selectButton.find('.ws_icon_image');
1546
  var imageIcon = selectButton.find('img');
1547
 
1548
  var matches = cssClass.match(/\b(ame-)?menu-icon-([^\s]+)\b/);
1554
  cssIcon.hide();
1555
  imageIcon.prop('src', iconUrl).show();
1556
  } else if ( iconFontMatches ) {
1557
+ cssIcon.removeClass().addClass('ws_icon_image');
1558
  if ( iconFontMatches[2] === 'dashicons' ) {
1559
  //Dashicon.
1560
  cssIcon.addClass('dashicons ' + iconFontMatches[1]);
1568
  //Other CSS-based icon.
1569
  imageIcon.hide();
1570
  var iconClass = (matches[1] ? matches[1] : '') + 'icon-' + matches[2];
1571
+ cssIcon.removeClass().addClass('ws_icon_image ' + iconClass).show();
1572
  } else {
1573
  //This menu has no icon at all. This is actually a valid state
1574
  //and WordPress will display a menu like that correctly.
1575
  imageIcon.hide();
1576
+ cssIcon.removeClass().addClass('ws_icon_image').show();
1577
  }
1578
 
1579
  return displayValue;
1817
  case 'icon_selector':
1818
  //noinspection HtmlUnknownTag
1819
  inputBox = $(basicTextField)
1820
+ .add('<button class="button ws_select_icon" title="Select icon"><div class="ws_icon_image dashicons dashicons-admin-generic"></div><img src="" style="display:none;" alt="Icon"></button>');
1821
  break;
1822
 
1823
  case 'color_scheme_editor':
5360
  }
5361
  });
5362
 
5363
+ //Set up menu field tooltips.
5364
  menuEditorNode.on('mouseenter click', '.ws_edit_field .ws_field_tooltip_trigger', function(event) {
5365
  var $trigger = $(this),
5366
  fieldName = $trigger.closest('.ws_edit_field').data('field_name');
menu-editor.php CHANGED
@@ -3,9 +3,10 @@
3
  Plugin Name: Admin Menu Editor
4
  Plugin URI: http://w-shadow.com/blog/2008/12/20/admin-menu-editor-for-wordpress/
5
  Description: Lets you directly edit the WordPress admin menu. You can re-order, hide or rename existing menus, add custom menus and more.
6
- Version: 1.10.2
7
  Author: Janis Elsts
8
  Author URI: http://w-shadow.com/blog/
 
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
  */
3
  Plugin Name: Admin Menu Editor
4
  Plugin URI: http://w-shadow.com/blog/2008/12/20/admin-menu-editor-for-wordpress/
5
  Description: Lets you directly edit the WordPress admin menu. You can re-order, hide or rename existing menus, add custom menus and more.
6
+ Version: 1.10.3
7
  Author: Janis Elsts
8
  Author URI: http://w-shadow.com/blog/
9
+ Requires PHP: 5.6
10
  License: GPLv3
11
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
12
  */
modules/access-editor/access-editor-template.php CHANGED
@@ -4,7 +4,8 @@ if ( isset($GLOBALS['wp_version']) && version_compare($GLOBALS['wp_version'], '5
4
  $ameDialogClasses[] = 'ame-is-wp53-plus';
5
  }
6
  ?>
7
- <div id="ws_menu_access_editor" title="Permissions" class="<?php echo esc_attr(implode(' ', $ameDialogClasses)); ?>">
 
8
 
9
  <div class="ws_dialog_panel">
10
  <div class="error inline" id="ws_hardcoded_role_error">
4
  $ameDialogClasses[] = 'ame-is-wp53-plus';
5
  }
6
  ?>
7
+ <div id="ws_menu_access_editor" title="Permissions" class="<?php echo esc_attr(implode(' ', $ameDialogClasses)); ?>"
8
+ style="display: none">
9
 
10
  <div class="ws_dialog_panel">
11
  <div class="error inline" id="ws_hardcoded_role_error">
modules/actor-selector/actor-selector.js CHANGED
@@ -2,8 +2,8 @@
2
  /// <reference path="../../js/actor-manager.ts" />
3
  var AmeActorSelector = /** @class */ (function () {
4
  function AmeActorSelector(actorManager, isProVersion, allOptionEnabled) {
5
- var _this = this;
6
  if (allOptionEnabled === void 0) { allOptionEnabled = true; }
 
7
  this.selectedActor = null;
8
  this.selectedDisplayName = 'All';
9
  this.visibleUsers = [];
2
  /// <reference path="../../js/actor-manager.ts" />
3
  var AmeActorSelector = /** @class */ (function () {
4
  function AmeActorSelector(actorManager, isProVersion, allOptionEnabled) {
 
5
  if (allOptionEnabled === void 0) { allOptionEnabled = true; }
6
+ var _this = this;
7
  this.selectedActor = null;
8
  this.selectedDisplayName = 'All';
9
  this.visibleUsers = [];
modules/actor-selector/actor-selector.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"actor-selector.js","sourceRoot":"","sources":["actor-selector.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,kDAAkD;AAwBlD;IAmBC,0BACC,YAAsC,EACtC,YAAsB,EACtB,gBAAgC;QAHjC,iBAuBC;QApBA,iCAAA,EAAA,uBAAgC;QAnB1B,kBAAa,GAAW,IAAI,CAAC;QAC7B,wBAAmB,GAAW,KAAK,CAAC;QAEnC,iBAAY,GAAa,EAAE,CAAC;QAC5B,g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AAI,EAAE;gBACL,OAAO,kBAAkB,EAAE,CAAC;YAC7B,CAAC;YACD,KAAK,EAAE,UAAC,QAAwB;gBAC/B,KAAI,CAAC,gBAAgB,CACpB,CAAC,QAAQ,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAC7C,CAAC;YACH,CAAC;SACD,CAAC,CAAC;QAEH,IAAM,IAAI,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,QAAQ,CAAC,UAAU,gBAAwB;YAC/C,IAAI,gBAAgB,KAAK,IAAI,EAAE;gBAC9B,kBAAkB,CAAC,IAAI,CAAC,CAAC;aACzB;iBAAM;gBACN,kBAAkB,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC;aACjE;QACF,CAAC,CAAC,CAAC;QACH,OAAO,gBAAgB,CAAC;IACzB,CAAC;IA9Tc,kBAAC,GAAG,WAAW,CAAC;IA+ThC,uBAAC;CAAA,AAhUD,IAgUC"}
modules/plugin-visibility/plugin-visibility-template.php CHANGED
@@ -75,78 +75,84 @@
75
  <tr class="inline-edit-row" data-bind="if: isBeingEdited, visible: true"
76
  style="display: none;">
77
  <td class="colspanchange" colspan="3">
78
- <fieldset class="ame-pv-inline-edit-left">
79
- <legend class="inline-edit-legend" data-bind="text: defaultProperties['name']">
80
- Edit Plugin Properties
81
- </legend>
82
- <div class="inline-edit-col">
83
- <label>
84
- <span class="title">Name</span>
85
- <span class="input-text-wrap">
86
- <input type="text" data-bind="value: editableProperties['name']" class="ame-pv-custom-name">
 
 
87
  </span>
88
- </label>
89
- <label>
90
- <span class="title">Author</span>
91
- <span class="input-text-wrap">
92
- <input type="text" data-bind="value: editableProperties['author']" class="ame-pv-custom-author">
 
93
  </span>
94
- </label>
95
- <label>
96
- <span class="title">Site URL</span>
97
- <span class="input-text-wrap">
98
- <input type="text" data-bind="value: editableProperties['siteUrl']" class="ame-pv-custom-site-url">
 
99
  </span>
100
- </label>
101
- <label>
102
- <span class="title">Version</span>
103
- <span class="input-text-wrap">
104
- <input type="text" data-bind="value: editableProperties['version']" class="ame-pv-custom-version-number">
 
105
  </span>
106
- </label>
107
- </div>
108
- </fieldset>
109
- <fieldset class="ame-pv-inline-edit-right">
110
- <div class="inline-edit-col">
111
- <label>
112
- <span class="title">Description</span>
113
- <textarea name="plugin-description" cols="30" rows="5"
114
- class="ame-pv-custom-description"
115
- data-bind="value: editableProperties['description']"></textarea>
116
- </label>
117
- </div>
118
- </fieldset>
119
-
120
- <p class="submit">
121
- <?php
122
- submit_button(
123
- 'Cancel',
124
- 'secondary cancel alignleft',
125
- 'pv-cancel',
126
- false,
127
- array(
128
- 'data-bind' => 'click: cancelEdit.bind($data)'
129
- )
130
- );
131
- ?>
132
-
133
- <a class="alignleft ame-pv-inline-reset" href="#"
134
- title="Reset name and description to default values"
135
- data-bind="click: resetNameAndDescription.bind($data)">Reset to default</a>
136
-
137
- <?php
138
- submit_button(
139
- 'Update',
140
- 'primary save alignright',
141
- 'pv-update',
142
- false,
143
- array(
144
- 'data-bind' => 'click: confirmEdit.bind($data)'
145
- )
146
- );
147
- ?>
148
- <br class="clear">
149
- </p>
 
150
  </td>
151
  </tr>
152
  </tbody>
75
  <tr class="inline-edit-row" data-bind="if: isBeingEdited, visible: true"
76
  style="display: none;">
77
  <td class="colspanchange" colspan="3">
78
+ <div class="inline-edit-wrapper">
79
+ <fieldset class="ame-pv-inline-edit-left">
80
+ <legend class="inline-edit-legend" data-bind="text: defaultProperties['name']">
81
+ Edit Plugin Properties
82
+ </legend>
83
+ <div class="inline-edit-col">
84
+ <label>
85
+ <span class="title">Name</span>
86
+ <span class="input-text-wrap">
87
+ <input type="text" data-bind="value: editableProperties['name']"
88
+ class="ame-pv-custom-name">
89
  </span>
90
+ </label>
91
+ <label>
92
+ <span class="title">Author</span>
93
+ <span class="input-text-wrap">
94
+ <input type="text" data-bind="value: editableProperties['author']"
95
+ class="ame-pv-custom-author">
96
  </span>
97
+ </label>
98
+ <label>
99
+ <span class="title">Site URL</span>
100
+ <span class="input-text-wrap">
101
+ <input type="text" data-bind="value: editableProperties['siteUrl']"
102
+ class="ame-pv-custom-site-url">
103
  </span>
104
+ </label>
105
+ <label>
106
+ <span class="title">Version</span>
107
+ <span class="input-text-wrap">
108
+ <input type="text" data-bind="value: editableProperties['version']"
109
+ class="ame-pv-custom-version-number">
110
  </span>
111
+ </label>
112
+ </div>
113
+ </fieldset>
114
+ <fieldset class="ame-pv-inline-edit-right">
115
+ <div class="inline-edit-col">
116
+ <label>
117
+ <span class="title">Description</span>
118
+ <textarea name="plugin-description" cols="30" rows="5"
119
+ class="ame-pv-custom-description"
120
+ data-bind="value: editableProperties['description']"></textarea>
121
+ </label>
122
+ </div>
123
+ </fieldset>
124
+
125
+ <p class="submit">
126
+ <?php
127
+ submit_button(
128
+ 'Update',
129
+ 'primary save',
130
+ 'pv-update',
131
+ false,
132
+ array(
133
+ 'data-bind' => 'click: confirmEdit.bind($data)',
134
+ )
135
+ );
136
+ ?>
137
+
138
+ <?php
139
+ submit_button(
140
+ 'Cancel',
141
+ 'secondary cancel',
142
+ 'pv-cancel',
143
+ false,
144
+ array(
145
+ 'data-bind' => 'click: cancelEdit.bind($data)',
146
+ )
147
+ );
148
+ ?>
149
+
150
+ <a class="ame-pv-inline-reset" href="#"
151
+ title="Reset name and description to default values"
152
+ data-bind="click: resetNameAndDescription.bind($data)">Reset to default</a>
153
+
154
+ <br class="clear">
155
+ </p></div>
156
  </td>
157
  </tr>
158
  </tbody>
modules/plugin-visibility/plugin-visibility.css CHANGED
@@ -67,19 +67,24 @@
67
  #ame-plugin-visibility-editor .inline-edit-row .ame-pv-custom-description {
68
  height: 9em;
69
  }
70
- #ame-plugin-visibility-editor .inline-edit-row .ame-pv-inline-reset {
71
- line-height: 28px;
72
- margin-left: 1em;
73
- }
74
  #ame-plugin-visibility-editor .inline-edit-row td {
75
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
76
  }
77
  #ame-plugin-visibility-editor .inline-edit-row p.submit {
78
  margin-bottom: 0.2em;
79
  }
 
 
 
 
 
 
 
 
 
80
  #ame-plugin-visibility-editor .inline-edit-row .inline-edit-legend {
81
  margin: 0;
82
- padding: 0.2em 0.5em 0;
83
  line-height: 2.5;
84
  font-weight: 600;
85
  }
67
  #ame-plugin-visibility-editor .inline-edit-row .ame-pv-custom-description {
68
  height: 9em;
69
  }
 
 
 
 
70
  #ame-plugin-visibility-editor .inline-edit-row td {
71
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
72
  }
73
  #ame-plugin-visibility-editor .inline-edit-row p.submit {
74
  margin-bottom: 0.2em;
75
  }
76
+ #ame-plugin-visibility-editor .inline-edit-row .submit .button {
77
+ margin-right: 0.62em;
78
+ }
79
+ #ame-plugin-visibility-editor .inline-edit-row .submit .cancel {
80
+ margin-right: 1em;
81
+ }
82
+ #ame-plugin-visibility-editor .inline-edit-row .ame-pv-inline-reset {
83
+ line-height: 28px;
84
+ }
85
  #ame-plugin-visibility-editor .inline-edit-row .inline-edit-legend {
86
  margin: 0;
87
+ padding: 0.2em 0.5em 0 0;
88
  line-height: 2.5;
89
  font-weight: 600;
90
  }
modules/plugin-visibility/plugin-visibility.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["plugin-visibility.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA;AAKA;AAAA;EAEC;EACA;EACA;;;AAGD;EACC;;;AAGD;AAAA;AAAA;AAGA;AAAA;EAEC;;;AAGD;AAAA;AAAA;EAGC;;;AAGD;AAAA;EAEC;;;AAGD;EACC;;;AAGD;AAAA;AAAA;AAIA;EACC;EACA;EACA;;;AAID;EACC;;;AAGD;AAAA;AAAA;AAKC;EACC;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;EACA;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;EACA;EACA;EACA;;;AAIF;AAAA;AAAA;AAAA;AAKC;EACC;EACA;;AAEA;EACC;;AAIF;EACC;EACA;EACA;;AAGD;EACC","file":"plugin-visibility.css"}
1
+ {"version":3,"sourceRoot":"","sources":["plugin-visibility.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAAA;AAKA;AAAA;EAEC;EACA;EACA;;;AAGD;EACC;;;AAGD;AAAA;AAAA;AAGA;AAAA;EAEC;;;AAGD;AAAA;AAAA;EAGC;;;AAGD;AAAA;EAEC;;;AAGD;EACC;;;AAGD;AAAA;AAAA;AAIA;EACC;EACA;EACA;;;AAID;EACC;;;AAGD;AAAA;AAAA;AAKC;EACC;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;;AAGD;EACC;EACA;EACA;EACA;;;AAIF;AAAA;AAAA;AAAA;AAKC;EACC;EACA;;AAEA;EACC;;AAIF;EACC;EACA;EACA;;AAGD;EACC","file":"plugin-visibility.css"}
modules/plugin-visibility/plugin-visibility.scss CHANGED
@@ -77,11 +77,6 @@
77
  height: 9em;
78
  }
79
 
80
- .ame-pv-inline-reset {
81
- line-height: 28px;
82
- margin-left: 1em;
83
- }
84
-
85
  td {
86
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
87
  }
@@ -90,9 +85,21 @@
90
  margin-bottom: 0.2em;
91
  }
92
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  .inline-edit-legend {
94
  margin: 0;
95
- padding: 0.2em 0.5em 0;
96
  line-height: 2.5;
97
  font-weight: 600;
98
  }
77
  height: 9em;
78
  }
79
 
 
 
 
 
 
80
  td {
81
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
82
  }
85
  margin-bottom: 0.2em;
86
  }
87
 
88
+ .submit .button {
89
+ margin-right: 0.62em;
90
+ }
91
+
92
+ .submit .cancel {
93
+ margin-right: 1em;
94
+ }
95
+
96
+ .ame-pv-inline-reset {
97
+ line-height: 28px;
98
+ }
99
+
100
  .inline-edit-legend {
101
  margin: 0;
102
+ padding: 0.2em 0.5em 0 0;
103
  line-height: 2.5;
104
  font-weight: 600;
105
  }
modules/redirector/redirector-ui.js CHANGED
@@ -45,8 +45,8 @@ var AmeRedirectorUi;
45
  };
46
  var Redirect = /** @class */ (function () {
47
  function Redirect(properties, actorProvider) {
48
- var _this = this;
49
  if (actorProvider === void 0) { actorProvider = null; }
 
50
  this.actorId = properties.actorId;
51
  this.trigger = properties.trigger;
52
  this.urlTemplate = ko.observable(properties.urlTemplate);
@@ -134,9 +134,9 @@ var AmeRedirectorUi;
134
  AmeRedirectorUi.Redirect = Redirect;
135
  var TriggerView = /** @class */ (function () {
136
  function TriggerView(trigger, supportsUserSettings, supportsRoleSettings) {
137
- var _this = this;
138
  if (supportsUserSettings === void 0) { supportsUserSettings = null; }
139
  if (supportsRoleSettings === void 0) { supportsRoleSettings = null; }
 
140
  this.users = ko.observableArray([]);
141
  this.roles = ko.observableArray([]);
142
  this.supportsUserSettings = true;
45
  };
46
  var Redirect = /** @class */ (function () {
47
  function Redirect(properties, actorProvider) {
 
48
  if (actorProvider === void 0) { actorProvider = null; }
49
+ var _this = this;
50
  this.actorId = properties.actorId;
51
  this.trigger = properties.trigger;
52
  this.urlTemplate = ko.observable(properties.urlTemplate);
134
  AmeRedirectorUi.Redirect = Redirect;
135
  var TriggerView = /** @class */ (function () {
136
  function TriggerView(trigger, supportsUserSettings, supportsRoleSettings) {
 
137
  if (supportsUserSettings === void 0) { supportsUserSettings = null; }
138
  if (supportsRoleSettings === void 0) { supportsRoleSettings = null; }
139
+ var _this = this;
140
  this.users = ko.observableArray([]);
141
  this.roles = ko.observableArray([]);
142
  this.supportsUserSettings = true;
modules/redirector/redirector-ui.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"redirector-ui.js","sourceRoot":"","sources":["redirector-ui.ts"],"names":[],"mappings":"AAAA,+CAA+C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KAAK,KAAK,EAAE,EAAE;YACvB,mBAAmB,GAAG,KAAK,CAAC,MAAM,CAAC;SACnC;IACF,CAAC,CAAC,CAAC;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,qBAAqB,EAAE,UAAU,KAAK;QAC5D,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,KAAK,mBAAmB,CAAC,EAAE;YACnE,gBAAgB,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;SAC1C;IACF,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC"}
phpcs.xml CHANGED
@@ -31,6 +31,15 @@
31
  <exclude name="Squiz.PHP.CommentedOutCode.Found" />
32
  </rule>
33
 
 
 
 
 
 
 
 
 
 
34
  <exclude-pattern type="relative">^/vendor/*</exclude-pattern>
35
  <!-- Third-party JavaScript libraries and jQuery plugins -->
36
  <exclude-pattern type="relative">^js/knockout\.js</exclude-pattern>
31
  <exclude name="Squiz.PHP.CommentedOutCode.Found" />
32
  </rule>
33
 
34
+ <rule ref="WordPress.Security.EscapeOutput">
35
+ <properties>
36
+ <property name="customEscapingFunctions" type="array">
37
+ <!-- Register a custom escaping function for WP_Error objects. -->
38
+ <element value="wsAmeEscapeWpError"/>
39
+ </property>
40
+ </properties>
41
+ </rule>
42
+
43
  <exclude-pattern type="relative">^/vendor/*</exclude-pattern>
44
  <!-- Third-party JavaScript libraries and jQuery plugins -->
45
  <exclude-pattern type="relative">^js/knockout\.js</exclude-pattern>
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: whiteshadow
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A6P9S6CE3SRSW
4
  Tags: admin, dashboard, menu, security, wpmu
5
  Requires at least: 4.7
6
- Tested up to: 6.0
7
- Stable tag: 1.10.2
8
 
9
  Lets you edit the WordPress admin menu. You can re-order, hide or rename menus, add custom menus and more.
10
 
@@ -75,6 +75,15 @@ Plugins installed in the `mu-plugins` directory are treated as "always on", so y
75
 
76
  == Changelog ==
77
 
 
 
 
 
 
 
 
 
 
78
  = 1.10.2 =
79
  * Added additional validation in escaping in multiple places.
80
  * Fixed a number of issues related to the WordPress coding standard and the WordPress-VIP-Go coding standard.
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A6P9S6CE3SRSW
4
  Tags: admin, dashboard, menu, security, wpmu
5
  Requires at least: 4.7
6
+ Tested up to: 6.0.1
7
+ Stable tag: 1.10.3
8
 
9
  Lets you edit the WordPress admin menu. You can re-order, hide or rename menus, add custom menus and more.
10
 
75
 
76
  == Changelog ==
77
 
78
+ = 1.10.3 =
79
+ * Increased the minimum required PHP version to 5.6.
80
+ * Fixed a number of deprecation warnings related to PHP 8.
81
+ * Fixed a conflict with "Anti-Spam by CleanTalk" that could potentially cause a fatal error.
82
+ * Fixed a conflict with "Admin Theme - Musik" where the menu order settings in the other plugin would override the menu order configured in AME.
83
+ * Fixed missing padding in the "edit plugin details" panel (in the "Plugins" tab). Also updated the button layout to match the changed button layout of the "Quick Edit" panel introduced in WP 6.0.
84
+ * Fixed a visual issue where some form fields might briefly show up and then disappear if the settings page stylesheet(s) took a while to load.
85
+ * Removed dependency on the "icon16" CSS class.
86
+
87
  = 1.10.2 =
88
  * Added additional validation in escaping in multiple places.
89
  * Fixed a number of issues related to the WordPress coding standard and the WordPress-VIP-Go coding standard.