Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wpct Plugin Abstracts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
codeccoop
WordPress
plugins
Wpct Plugin Abstracts
Compare revisions
d8ab19a1aab5d26e63041d3e24c8e52a3254e5e7 to 7aafa255bb98a27657cc535464a0469f1b8332ed
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
codeccoop/wp/plugins/wpct-plugin-abstracts
Select target project
No results found
7aafa255bb98a27657cc535464a0469f1b8332ed
Select Git revision
Branches
main
release/forms-bridge
Swap
Target
codeccoop/wp/plugins/wpct-plugin-abstracts
Select target project
codeccoop/wp/plugins/wpct-plugin-abstracts
1 result
d8ab19a1aab5d26e63041d3e24c8e52a3254e5e7
Select Git revision
Branches
main
release/forms-bridge
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
fix: class_exists with namespaces
· 7aafa255
Lucas García
authored
8 months ago
7aafa255
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
class-plugin.php
+1
-1
1 addition, 1 deletion
class-plugin.php
class-settings.php
+1
-1
1 addition, 1 deletion
class-settings.php
class-singleton.php
+1
-1
1 addition, 1 deletion
class-singleton.php
with
3 additions
and
3 deletions
class-plugin.php
View file @
7aafa255
...
...
@@ -4,7 +4,7 @@ namespace WPCT_ABSTRACT;
use
Exception
;
if
(
!
class_exists
(
'Plugin'
))
:
if
(
!
class_exists
(
'
\WPCT_ABSTRACT\
Plugin'
))
:
abstract
class
Plugin
extends
Singleton
{
...
...
This diff is collapsed.
Click to expand it.
class-settings.php
View file @
7aafa255
...
...
@@ -2,7 +2,7 @@
namespace
WPCT_ABSTRACT
;
if
(
!
class_exists
(
'Settings'
))
:
if
(
!
class_exists
(
'
\WPCT_ABSTRACT\
Settings'
))
:
class
Undefined
{
...
...
This diff is collapsed.
Click to expand it.
class-singleton.php
View file @
7aafa255
...
...
@@ -4,7 +4,7 @@ namespace WPCT_ABSTRACT;
use
Exception
;
if
(
!
class_exists
(
'Singleton'
))
:
if
(
!
class_exists
(
'
\WPCT_ABSTRACT\
Singleton'
))
:
abstract
class
Singleton
{
...
...
This diff is collapsed.
Click to expand it.