Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit cc5753d

Browse files
1 parent ff1bae2 commit cc5753d

File tree

4 files changed

+13
-33
lines changed

4 files changed

+13
-33
lines changed

composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/composer/installed.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -501,23 +501,23 @@
501501
},
502502
{
503503
"name": "wp-content-framework/session",
504-
"version": "v0.0.6",
505-
"version_normalized": "0.0.6.0",
504+
"version": "v0.0.7",
505+
"version_normalized": "0.0.7.0",
506506
"source": {
507507
"type": "git",
508508
"url": "https://github.com/wp-content-framework/session.git",
509-
"reference": "5178ea7be1d27adbdbb50b22d9cc14f762baca47"
509+
"reference": "379467660f0bac6c71323ccb738f4d0b11eda4c8"
510510
},
511511
"dist": {
512512
"type": "zip",
513-
"url": "https://api.github.com/repos/wp-content-framework/session/zipball/5178ea7be1d27adbdbb50b22d9cc14f762baca47",
514-
"reference": "5178ea7be1d27adbdbb50b22d9cc14f762baca47",
513+
"url": "https://api.github.com/repos/wp-content-framework/session/zipball/379467660f0bac6c71323ccb738f4d0b11eda4c8",
514+
"reference": "379467660f0bac6c71323ccb738f4d0b11eda4c8",
515515
"shasum": ""
516516
},
517517
"require": {
518518
"php": ">=5.6.0"
519519
},
520-
"time": "2019-03-15T06:24:55+00:00",
520+
"time": "2019-03-25T07:01:06+00:00",
521521
"type": "library",
522522
"installation-source": "dist",
523523
"notification-url": "https://packagist.org/downloads/",

vendor/wp-content-framework/session/composer.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

vendor/wp-content-framework/session/src/classes/models/session.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* WP_Framework_Session Classes Models Session
44
*
5-
* @version 0.0.1
5+
* @version 0.0.7
66
* @author Technote
77
* @copyright Technote All Rights Reserved
88
* @license http://www.opensource.org/licenses/gpl-2.0.php GNU General Public License, version 2
@@ -68,7 +68,7 @@ private function get_user_check_name() {
6868
* check
6969
*/
7070
private function check_session() {
71-
if ( ! isset( $_SESSION ) ) {
71+
if ( ! isset( $_SESSION ) && ! headers_sent() ) {
7272
@session_start();
7373
}
7474
if ( isset( $_SESSION ) ) {

0 commit comments

Comments
 (0)