12Publication of information relating to proceedings in private
(1)The publication of information relating to proceedings before any court sitting in private shall not of itself be contempt of court except in the following cases, that is to say—
(a)where the proceedings relate to the wardship or adoption of an infant or wholly or mainly to the guardianship, custody, maintenance or upbringing of an infant, or rights of access to an infant;
(b)where the proceedings are brought under Part VIII of the Mental Health Act, 1959, or under any provision of that Act authorising an application or reference to be made to a Mental Health Review Tribunal or to a county court;
(c)where the court sits in private for reasons of national security during that part of the proceedings about which the information in question is published;
(d)where the information relates to a secret process, discovery or invention which is in issue in the proceedings;
(e)where the court (having power to do so) expressly prohibits the publication of all information relating to the proceedings or of information of the description which is published.
(2)Without prejudice to the foregoing subsection, the publication of the text or a summary of the whole or part of an order made by a court sitting in private shall not of itself be contempt of court except where the court (having power to do so) expressly prohibits the publication.
(3)In this section references to a court include references to a judge and to a tribunal and to any person exercising the functions of a court, a judge or a tribunal; and references to a court sitting in private include references to a court sitting in camera or in chambers.
(4)Nothing in this section shall be construed as implying that any publication is punishable as contempt of court which would not be so punishable apart from this section.