Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-builder
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-builder
Commits
e18df43b
Commit
e18df43b
authored
4 years ago
by
Marcin Kolanko
Browse files
Options
Downloads
Plain Diff
Merge branch 'bugfix/require-interface' into 'master'
Bugfix/require interface See merge request
!29
parents
fc527096
cf8dc4bf
No related branches found
Branches containing commit
Tags
1.4.4
Tags containing commit
1 merge request
!29
Bugfix/require interface
Pipeline
#9165
failed with stages
in 3 minutes and 43 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+5
-0
5 additions, 0 deletions
CHANGELOG.md
src/Plugin/WithoutNamespace/Plugin_Info.php
+2
-2
2 additions, 2 deletions
src/Plugin/WithoutNamespace/Plugin_Info.php
with
7 additions
and
2 deletions
CHANGELOG.md
+
5
−
0
View file @
e18df43b
## [1.4.4] - 2020-06-17
### Fixed
-
Replaced class_exists to interface_exists for interfaces
## [1.4.3] - 2020-06-03
## [1.4.3] - 2020-06-03
### Fixed
### Fixed
-
Path for require_once
-
Path for require_once
...
...
This diff is collapsed.
Click to expand it.
src/Plugin/WithoutNamespace/Plugin_Info.php
+
2
−
2
View file @
e18df43b
...
@@ -3,10 +3,10 @@
...
@@ -3,10 +3,10 @@
if
(
!
interface_exists
(
'WPDesk_Translatable'
)
)
{
if
(
!
interface_exists
(
'WPDesk_Translatable'
)
)
{
require_once
__DIR__
.
'/Translatable.php'
;
require_once
__DIR__
.
'/Translatable.php'
;
}
}
if
(
!
class
_exists
(
'WPDesk_Buildable'
)
)
{
if
(
!
interface
_exists
(
'WPDesk_Buildable'
)
)
{
require_once
__DIR__
.
'/Buildable.php'
;
require_once
__DIR__
.
'/Buildable.php'
;
}
}
if
(
!
class
_exists
(
'WPDesk_Has_Plugin_Info'
)
)
{
if
(
!
interface
_exists
(
'WPDesk_Has_Plugin_Info'
)
)
{
require_once
__DIR__
.
'/Has_Plugin_Info.php'
;
require_once
__DIR__
.
'/Has_Plugin_Info.php'
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment