Title: Plugin exits php when run in script mode · Issue #11 · littlebizzy/force-https · GitHub
Open Graph Title: Plugin exits php when run in script mode · Issue #11 · littlebizzy/force-https
X Title: Plugin exits php when run in script mode · Issue #11 · littlebizzy/force-https
Description: When using a php script to manipulate a WP install, the force-https plugin will still try to load itself, and the start function will die(), thus making it impossible for the main script to ever execute. I see a related issue #6 but that...
Open Graph Description: When using a php script to manipulate a WP install, the force-https plugin will still try to load itself, and the start function will die(), thus making it impossible for the main script to ever ex...
X Description: When using a php script to manipulate a WP install, the force-https plugin will still try to load itself, and the start function will die(), thus making it impossible for the main script to ever ex...
Opengraph URL: https://github.com/littlebizzy/force-https/issues/11
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Plugin exits php when run in script mode","articleBody":"When using a php script to manipulate a WP install, the force-https plugin will still try to load itself, and the `start` function will `die()`, thus making it impossible for the main script to ever execute. \r\n\r\nI see a related issue #6 but that seems to be a fix that *just* detects WP_CLI. In my situation I have a custom CLI script.\r\n\r\nMy suggestion is that the script should only load itself when not in CLI mode.\r\n","author":{"url":"https://github.com/apinstein","@type":"Person","name":"apinstein"},"datePublished":"2019-01-24T14:45:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/11/force-https/issues/11"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4d13aab2-283b-a9b7-7b33-aee5d8d0fad7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1BC:3B16A6:4BF1E8F:6B09AC6:6A4F8A97 |
| html-safe-nonce | ca77a4ed66fb7abceeca2689886b1be52c884a3b572a5baa12f030f7198fb6c4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUJDOjNCMTZBNjo0QkYxRThGOjZCMDlBQzY6NkE0RjhBOTciLCJ2aXNpdG9yX2lkIjoiNTA1ODI4ODM0NjEyNTUzNTg5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 63a4c96613047186b68941cf5e561a79541d428118c898cfad68b3ee13ac937a |
| hovercard-subject-tag | issue:402739959 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/littlebizzy/force-https/11/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b2a774bead30424ff3b9956427dd65a6ded1a215e8e7a654ee11d14ff5e53c42/littlebizzy/force-https/issues/11 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b2a774bead30424ff3b9956427dd65a6ded1a215e8e7a654ee11d14ff5e53c42/littlebizzy/force-https/issues/11 |
| og:image:alt | When using a php script to manipulate a WP install, the force-https plugin will still try to load itself, and the start function will die(), thus making it impossible for the main script to ever ex... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | apinstein |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/littlebizzy/force-https git https://github.com/littlebizzy/force-https.git |
| octolytics-dimension-user_id | 10787477 |
| octolytics-dimension-user_login | littlebizzy |
| octolytics-dimension-repository_id | 95499435 |
| octolytics-dimension-repository_nwo | littlebizzy/force-https |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 95499435 |
| octolytics-dimension-repository_network_root_nwo | littlebizzy/force-https |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width