Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WordPress
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
prhomhyse
WordPress
Commits
e88851fc
Commit
e88851fc
authored
11 years ago
by
Kurund Jalmi
Browse files
Options
Downloads
Plain Diff
Merge pull request #8 from dlobo/CRM-10655
CRM-10655
parents
6c1c9041
a84b38b8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
civicrm.php
+9
-0
9 additions, 0 deletions
civicrm.php
with
9 additions
and
0 deletions
civicrm.php
+
9
−
0
View file @
e88851fc
...
...
@@ -385,6 +385,15 @@ function civicrm_wp_frontend($shortcode = FALSE) {
(
CRM_Utils_Array
::
value
(
0
,
$args
)
==
'civicrm'
&&
CRM_Utils_Array
::
value
(
1
,
$args
)
==
'ajax'
)
||
// we also follow this pattern where civicrm controls the
// entire page like an ical feed
(
CRM_Utils_Array
::
value
(
0
,
$args
)
==
'civicrm'
&&
CRM_Utils_Array
::
value
(
1
,
$args
)
==
'event'
&&
CRM_Utils_Array
::
value
(
2
,
$args
)
==
'ical'
&&
// skip the html page since that is rendered in the CMS theme
CRM_Utils_Array
::
value
(
'html'
,
$_GET
)
!=
1
)
)
{
add_filter
(
'init'
,
'civicrm_wp_invoke'
);
...
...
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